Download the PHP package cedricziel/amznsponsoredproductsapiphp without Composer

On this page you can find all versions of the php package cedricziel/amznsponsoredproductsapiphp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package amznsponsoredproductsapiphp

amzn-sponsored-products-api-php

An API client for the Amazon Sponsored Products API.

Docs

General

Instantiate a client, configure your secrets and continue to use:

GetThemeBasedBidRecommendationForAdGroup_v1 - post /sp/targets/bid/recommendations

Get bid recommendations for ad groups This API is currently available at marketplaces where SP is available. The API supports keyword, auto and product targets. The API will return a 422 response when an unsupported marketplace or target is provided.

Version 4.0

New Features

Version 4.0 allows users to get theme-based bid recommendations for product targeting expressions, including PAT_ASIN, PAT_CATEGORY and PAT_CATEGORY_REFINEMENT. Version 4.0 supports keyword, auto and product targets in all marketplaces. Version 4.0 removes "impact metrics" when returning each bid suggestion.
Version 4.0 also allows users to get theme-based bid recommendations for keyword group targeting expressions with the type KEYWORD_GROUP. This new type is only available in US marketplace.

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

getRankedKeywordRecommendation - post /sp/targets/keywords/recommendations

Get keyword recommendations The POST /sp/targets/keywords/recommendations endpoint returns recommended keyword targets given either A) a list of ad ASINs or B) a campaign ID and ad group ID. Please use the recommendationType field to specify if you want to use option A or option B. This endpoint will also return recommended bids along with each recommendation keyword target.

Ranking
The keyword recommendations will be ranked in descending order of clicks or impressions, depending on the sortDimension field provided by the user. You may also input your own keyword targets to be ranked alongside the keyword recommendations by using the targets array.

Localization
Use the locale field to get keywords in your specified locale. Supported marketplace to locale mappings can be found at the POST /keywords/localize endpoint.

Version 5.0

New Features

Version 5.0 utilizes the new theme-based bid recommendations, which can be retrieved at the endpoint /sp/targets/bid/recommendations, to return improved bid recommendations for each keyword. Theme-based bid recommendations provide \\"themes\\" and \\"impact metrics\\" along with each bid suggestion to help you choose the right bid for your keyword target.

Themes
We now may return multiple bid suggestions for each keyword target. Each suggestion will have a theme to express the business objective of the bid. Available themes are: Impact Metrics
We have added impact metrics which provide insight on the number of clicks and conversions you will receive for targeting a keyword at a certain bid.

Bidding Strategy
You may now specify your bidding strategy in the KEYWORDS_BY_ASINS request to get bid suggestions tailored to your bidding strategy. For KEYWORDS_BY_ADGROUP requests, you will not specify a bidding strategy, because the bidding strategy of the ad group is used. The three bidding strategies are:

Availability

Version 5.0 is only available in the following marketplaces: US, CA, UK, DE, FR, ES, IN, JP.

Version 4.0

New features

Version 4.0 allows users to retrieve recommended keyword targets which are sorted in descending order of clicks or conversions. The default sort dimension, if not specified, ranks recommendations by our interal ranking mechanism. We have also added search term metrics. Search term impression share indicates the percentage share of all ad-attributed impressions you received on that keyword in the last 30 days. This metric helps advertisers identify potential opportunities based on their share on relevant keywords. Search term impression rank indicates your ranking among all advertisers for the keyword by ad impressions in a marketplace. It tells an advertiser how many advertisers had higher share of ad impressions. Search term information is only available for keywords the advertiser targeted with ad impressions.

Availability

Version 4.0 is available in all marketplaces.

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

ListSponsoredProductsKeywords - post /sp/keywords/list

List keywords

Requires one of these permissions: ["advertiser_campaign_edit"]

DeleteSponsoredProductsNegativeKeywords - post /sp/negativeKeywords/delete

Delete negative keywords

Requires one of these permissions: ["advertiser_campaign_edit"]

getTargetableASINCounts - post /sp/targets/products/count

Get number of targetable asins based on refinements provided by the user. Get number of targetable asins based on refinements provided by the user. Please use the GetTargetableCategories API or the GetCategoryRecommendationsForASINs API to retrieve the category ID. Please use the GetRefinementsByCategory API to retrieve refinements data for a category.

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

getTargetableCategories - get /sp/targets/categories

Returns all targetable categories. Returns all targetable categories. This API returns a large JSON string containing a tree of category nodes. Each category node has the fields - category id, category name, and child categories.

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

CreateOptimizationRule - post /sp/rules/campaignOptimization

Creates a campaign optimization rule.

Requires one of these permissions: ["advertiser_campaign_edit"]

UpdateOptimizationRule - put /sp/rules/campaignOptimization

Updates a campaign optimization rule.

Requires one of these permissions: ["advertiser_campaign_edit"]

CreateAssociatedBudgetRulesForSPCampaigns - post /sp/campaigns/{campaignId}/budgetRules

Associates one or more budget rules to a campaign specified by identifer. A maximum of 250 rules can be associated to a campaign. Note that the name of each rule associated to a campaign is required to be unique.

Requires one of these permissions: ["advertiser_campaign_edit"]

ListAssociatedBudgetRulesForSPCampaigns - get /sp/campaigns/{campaignId}/budgetRules

Gets a list of budget rules associated to a campaign specified by identifier.

Authorized resource type: Global Ad Account ID, Profile ID

Parameter name: Amazon-Ads-AccountId

Parameter in: header

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

searchBrands - post /sp/negativeTargets/brands/search

Returns brands related to keyword input for negative targeting. Returns up to 100 brands related to keyword input for negative targeting.

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

getRefinementsForCategory - get /sp/targets/category/{categoryId}/refinements

Returns refinements according to category input. Returns refinements according to category input.

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

GetRuleNotification - post /sp/rules/campaignOptimization/state

Gets campaign optimization rule state. Recommended refresh frequency is once a day.

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

ListTargetPromotionGroups - post /sp/targetPromotionGroups/list

Returns the target promotion groups for an advertiser and / or adGroupId, and / or target promotion group id.

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

ListSponsoredProductsProductAds - post /sp/productAds/list

List product ads

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

CreateOptimizationRules - post /sp/rules/optimization

Creates one or more optimization rules.

Requires one of these permissions: ["advertiser_campaign_edit"]

UpdateOptimizationRules - put /sp/rules/optimization

Updates one or more optimization rules.

Requires one of these permissions: ["advertiser_campaign_edit"]

CreateTargetPromotionGroups - post /sp/targetPromotionGroups

Creates a target promotion group, by grouping the auto-targeting adGroupId and manual-targeting adGroups, divided by keyword targeting adGroups, and product targeting adGroups.

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

CreateTargetPromotionGroupTargets - post /sp/targetPromotionGroups/targets

Creates keyword and/or product targets in the manual adGroup that are part of the target promotion group

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

ListSponsoredProductsNegativeTargetingClauses - post /sp/negativeTargets/list

List negative targeting clauses

Requires one of these permissions: ["advertiser_campaign_edit","advertiser_campaign_view"]

getKeywordGroupRecommendations - post /sp/targeting/recommendations/keywordGroups

This API (currently beta) recommends Keyword Group targets for a given list of Ad ASINs. Keyword Groups is a new control for Amazon Ads Sponsored Products keyword-based campaigns that enables advertisers to reach relevant audiences through a collection of keywords.

Once a Keyword Group specification is created, the performance of Keyword Groups will be available in the search terms report. Keyword Groups improves campaign performance by dynamically updating the keywords within a group through the campaign lifecycle and eliminates the need for advertisers to constantly curate new keywords. Additionally, Keyword Groups can be used alongside keywords within the same ad group.

CreateSponsoredProductsProductAds - post /sp/productAds

Create product ads

Requires one of these permissions: ["advertiser_campaign_edit"]

UpdateSponsoredProductsProductAds - put /sp/productAds

Update product ads

Requires one of these permissions: ["advertiser_campaign_edit"]

CreateBudgetRulesForSPCampaigns - post /sp/budgetRules

Creates one or more budget rules.

Requires one of these permissions: ["advertiser_campaign_edit"]

GetSPBudgetRulesForAdvertiser - get /sp/budgetRules

Get all budget rules created by an advertiser

UpdateBudgetRulesForSPCampaigns - put /sp/budgetRules

Updates one or more budget rules.

Requires one of these permissions: ["advertiser_campaign_edit"]

getCategoryRecommendationsForASINs - post /sp/targets/categories/recommendations

Returns a list of category recommendations for the input list of ASINs. Returns a list of category recommendations for the input list of ASINs. Use this API to discover relevant categories to target. To find ASINs, either use the Product Metadata API or browse the Amazon Retail Website.


All versions of amznsponsoredproductsapiphp with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
jane-php/open-api-runtime Version ^7.8
nyholm/psr7 Version ^1.8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cedricziel/amznsponsoredproductsapiphp contains the following files

Loading the files please wait ....