Download the PHP package joshyan/amazon-advertising-api-php-sdk without Composer
On this page you can find all versions of the php package joshyan/amazon-advertising-api-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download joshyan/amazon-advertising-api-php-sdk
More information about joshyan/amazon-advertising-api-php-sdk
Files in joshyan/amazon-advertising-api-php-sdk
Package amazon-advertising-api-php-sdk
Short Description Amazon Advertising API Client Library
License Apache-2.0
Homepage https://advertising.amazon.com/
Informations about the package amazon-advertising-api-php-sdk
Synopsis
This is a fork from amazon official SDK. amzn/amazon-advertising-api-php-sdk
Requirements
PHP >= 5.3.0
cURL >= 7.18
Documentation
API Reference
Access Request
Getting Started
Tutorials
Register Sandbox Profile - This tutorial will show you how to register a profile in sandbox using CURL.
Generate and download a report using CURL - You will need to complete registering a profile in sandbox prior to doing this tutorial.
Sandbox self-service
If you would like to test the API in sandbox you will need to register a profile for the region in which you would like to test. The registerProfile
API call can be made to do this. Make sure you instantiate the client in sandbox
mode before making this call or it will fail.
The following country codes are available for testing.
US, CA, UK, DE, FR, ES, IT, IN, CN, JP
Quick Start
Instantiate the client
You can pass in
accessToken
if you do not have a refresh token.
Refresh access token
You can refresh your access token when it expires by using the following method. The new access token will be in the request response. This method will set it for you so it's mainly for reference if you need it.
Get a list of profiles
Set profile Id
Once you've set the profile Id you are ready to start making API calls.
Example API Calls
- Profiles
- listProfiles
- getProfile
- updateProfiles
- Campaigns
- listCampaigns
- getCampaign
- createCampaigns
- updateCampaigns
- archiveCampaign
- Ad Groups
- listAdGroups
- getAdGroup
- createAdGroups
- updateAdGroups
- archiveAdGroup
- Biddable Keywords
- listBiddableKeywords
- getBiddableKeyword
- createBiddableKeywords
- updateBiddableKeywords
- archiveBiddableKeyword
- Negative Keywords
- listNegativeKeywords
- getNegativeKeyword
- createNegativeKeywords
- updateNegativeKeywords
- archiveNegativeKeyword
- Campaign Negative Keywords
- listCampaignNegativeKeywords
- getCampaignNegativeKeyword
- createCampaignNegativeKeywords
- updateCampaignNegativeKeywords
- removeCampaignNegativeKeyword
- Product Ads
- listProductAds
- getProductAd
- createProductAds
- updateProductAds
- archiveProductAd
- Snapshots
- requestSnapshot
- getSnapshot
- Reports
- requestReport
- getReport
- Bid Recommendations
- getAdGroupBidRecommendations
- getKeywordBidRecommendations
- bulkGetKeywordBidRecommendations
- Keyword Suggestions
- getAdGroupKeywordSuggestions
- getAdGroupKeywordSuggestionsEx
- getAsinKeywordSuggestions
- bulkGetAsinKeywordSuggestions
getProfile
Retrieves a single profile by Id.
updateProfiles
Updates one or more profiles. Advertisers are identified using their
profileIds
.
listCampaigns
Retrieves a list of campaigns satisfying optional criteria.
getCampaign
Retrieves a campaign by Id. Note that this call returns the minimal set of campaign fields, but is more efficient than
getCampaignEx
.
createCampaigns
Creates one or more campaigns. Successfully created campaigns will be assigned unique
campaignId
s.
updateCampaigns
Updates one or more campaigns. Campaigns are identified using their
campaignId
s.
archiveCampaign
Sets the campaign status to archived. This same operation can be performed via an update, but is included for completeness.
listAdGroups
Retrieves a list of ad groups satisfying optional criteria.
getAdGroup
Retrieves an ad group by Id. Note that this call returns the minimal set of ad group fields, but is more efficient than
getAdGroupEx
.
createAdGroups
Creates one or more ad groups. Successfully created ad groups will be assigned unique
adGroupId
s.
updateAdGroups
Updates one or more ad groups. Ad groups are identified using their
adGroupId
s.
archiveAdGroup
Sets the ad group status to archived. This same operation can be performed via an update, but is included for completeness.
listBiddableKeywords
Retrieves a list of keywords satisfying optional criteria.
getBiddableKeyword
Retrieves a keyword by Id. Note that this call returns the minimal set of keyword fields, but is more efficient than getBiddableKeywordEx.
createBiddableKeywords
Creates one or more keywords. Successfully created keywords will be assigned unique
keywordId
s.
updateBiddableKeywords
Updates one or more keywords. Keywords are identified using their
keywordId
s.
archiveBiddableKeyword
Sets the keyword status to archived. This same operation can be performed via an update, but is included for completeness.
listNegativeKeywords
Retrieves a list of negative keywords satisfying optional criteria.
getNegativeKeyword
Retrieves a negative keyword by Id. Note that this call returns the minimal set of keyword fields, but is more efficient than
getNegativeKeywordEx
.
createNegativeKeywords
Creates one or more negative keywords. Successfully created keywords will be assigned unique keywordIds.
updateNegativeKeywords
Updates one or more negative keywords. Keywords are identified using their
keywordId
s.
archiveNegativeKeyword
Sets the negative keyword status to archived. This same operation can be performed via an update to the status, but is included for completeness.
listCampaignNegativeKeywords
Retrieves a list of negative campaign keywords satisfying optional criteria.
getCampaignNegativeKeyword
Retrieves a campaign negative keyword by Id. Note that this call returns the minimal set of keyword fields, but is more efficient than
getCampaignNegativeKeywordEx
.
createCampaignNegativeKeywords
Creates one or more campaign negative keywords. Successfully created keywords will be assigned unique
keywordId
s.
updateCampaignNegativeKeywords
Updates one or more campaign negative keywords. Keywords are identified using their
keywordId
s.Campaign negative keywords can currently only be removed.
removeCampaignNegativeKeyword
Sets the campaign negative keyword status to deleted. This same operation can be performed via an update to the status, but is included for completeness.
listProductAds
Retrieves a list of product ads satisfying optional criteria.
getProductAd
Retrieves a product ad by Id. Note that this call returns the minimal set of product ad fields, but is more efficient than
getProductAdEx
.
createProductAds
Creates one or more product ads. Successfully created product ads will be assigned unique
adId
s.
updateProductAds
Updates one or more product ads. Product ads are identified using their
adId
s.
archiveProductAd
Sets the product ad status to archived. This same operation can be performed via an update, but is included for completeness.
requestSnapshot
Request a snapshot report for all entities of a single type.
getSnapshot
Retrieve a previously requested report.
requestReport
Request a customized performance report for all entities of a single type which have performance data to report.
getReport
Retrieve a previously requested report.
Sandbox will return dummy data.
getAdGroupBidRecommendations
Request bid recommendations for specified ad group.
getKeywordBidRecommendations
Request bid recommendations for specified keyword.
bulkGetKeywordBidRecommendations
Request bid recommendations for a list of up to 100 keywords.
getAdGroupKeywordSuggestions
Request keyword suggestions for specified ad group.
getAdGroupKeywordSuggestionsEx
Request keyword suggestions for specified ad group, extended version. Adds the ability to return bid recommendation for returned keywords.
getAsinKeywordSuggestions
Request keyword suggestions for specified asin.
bulkGetAsinKeywordSuggestions
Request keyword suggestions for a list of asin.
All versions of amazon-advertising-api-php-sdk with dependencies
php Version >=5.3.0