Amazon Product Advertising API


To take advantage of the Amazon Product Advertising API (PA API), you need an account for it. If you don’t have one yet, you can find an introduction on how to create one in the online documentation (see link below). In order to get access to the API, you need to have three valid sales through your affiliate links. To bridge the waiting time until the activation, you can create Amazon products with ASA2 without API access and synchronize them with the API later.

Once your account is activated for the PA API, you can enter your credentials and your default tracking ID in the Setup section. With ASA2 you can use multiple tracking IDs.

Supported Countries

ASA2 supports all countries for which Amazon offers the Amazon Product Advertising API.

Countries supported by the Amazon Product Advertising API
  • Australia
  • Belgium
  • Brazil
  • Canada
  • Egypt
  • Germany
  • Spain
  • France
  • India
  • Italy
  • Japan
  • Mexico
  • Netherlands
  • Poland
  • Saudi Arabia
  • Singapore
  • Sweden
  • Turkey
  • United Arab Emirates
  • United Kingdom
  • USA
So you are able to not only make money with visitors from your home country, but register for all Amazon affiliate programs around the world and build international websites with ASA2’s internationalization feature.

Embedding a Product via PA API

Using Classic Editor

Click on the ASA2 Editor button and search for a product that you would like to include on the page. The shortcode is automatically created for you. If you wish, you can select a different product template beforehand or change various default settings.

 When you save the post, the product is automatically transferred to the ASA2 product section, where you can change it as you wish, e.g. shorten the title or add the description text. The next time the page is loaded, the product data is loaded from there and no longer via the Amazon PA API. This saves a lot of time when loading your page. The data will only be updated via the API again after an adjustable period of time (without changing your customizations of course).

Learn more in the ASA2 docs:

Using Gutenberg or Third-Party Editor

ASA2 is compatible with any WordPress editor that supports the input of shortcodes, which should be any editor, no matter how overloaded with functions it is. In WordPress’ own block editor Gutenberg, the shortcode block is provided for this purpose. You can use your ASA2 shortcodes here as shown in the video.

You’re right, the support for Gutenberg could be more convenient. That is why we are working on a separate ASA2 block for Gutenberg.

Learn more in the ASA2 docs:

Embedding Multiple Products

Via Smart Collection

With a Smart Collection, you can have ASA2 automatically display several products from your product section. Many search filters are available to help you find the right products, e.g. three random products from the category “gaming laptop” with a maximum price of 1500$, a rating better than 4 stars, which are currently available on Amazon. No problem!

Each time you add new products, these are automatically taken into account in the next calculation of the Smart Collection.

Learn more in the ASA2 docs:

Via Keywords

If you want to display regularly changing products for a search term and have as little work as possible, the keywords function is right for you. It works like a search on Amazon. The results can be narrowed down using options. For example, the five most popular Playstation 5 games can be displayed automatically without you having to search for them yourself.

If you wish, these products can be transferred to your ASA2 product section, where you can edit them and display them elsewhere with a Smart Collection.

Learn more in the ASA2 docs:

Simultaneous Use of all Stores

Using products from different Countries supported by the Amazon Product Advertising API countries

You are not limited to displaying only products from one country on one page. With ASA2 you can display products from all Amazon stores for whose PA API you are activated side by side. ASA2’s Product Picker sets the country code for you automatically.

If you prefer to control things yourself, you can use the shortcode option “country_code” or “cc” for short. If no country code is set, ASA2 uses the configured default.

Learn more in the ASA2 docs:

Rating Stars

ASA2 supports Amazon Product Advertising API rating starts

Rating stars have a major influence on the purchase decision of a potential customer. To achieve a higher level of trust for your visitors, you can access Amazon’s rating stars images with ASA2 and place them in your product templates.

ASA2 supports the CustomerReviews values Count and StarRating introduced by Amazon Product Advertising API 5 and features an advanced ratings mode with a dedicated cronjob if your account is not eligible for the API values.

Product Images

Selecting one product image from the Amazon Product Advertising API
One product image from the Amazon Product Advertising API embedded in the site contents
One product image from the Amazon Product Advertising API embedded in the site contents with hover effect

With ASA2 you have access to every image from all available Amazon product pictures. You can embed them into your web pages simply by selecting the option Image only in the shortcode tab in the product picker after selecting a product.

In addition, you can select one of the available image sizes that best fits your content. Width and height can even be adjusted individually with the short code options width and height. Together with the align option, the images can be optimally integrated into the page’s body text. Of course you can create own layouts.

Learn more in the ASA2 docs:

Internationalized Products

Configuring the internationalization feature of ASA2 for the Amazon Product Advertising API
Setting which country of theAmazon Product Advertising API visitors should be redirected to
Visualization of the setting to which store visitors from certain countries should be directed.

ASA2 is able to recognize the origin of a visitor and to load the product from the Amazon store of the country of his origin. Hence you will not miss any sale!

ASA2 tries to determine the user’s country by his/her IP address. If the country is one of Amazon’s supported Product Advertisment API countries and the ASA2 product is prepared for internationalization (i18n), ASA2 loads the respective product dynamically.

Learn more in the ASA2 docs:

Multiple Tracking IDs

Here you can manage all your tracking IDs of the Amazon Product Advertising API
With ASA2 you can manage multiple Amazon Tracking or Associate IDs for different country stores in so called “Associate ID sets”. In combination with internationalized products, ASA2 automatically determines the right Associate ID to use.

In ASA2’s shortcodes you also can use different Associate IDs manually if you want.

Do you still have a question?

If you are missing any information, we are looking forward to your request.

2 + 4 =