Are you getting started with Amazon affiliate advertising? which helps you find, attract, and engage millions of Amazon customers at every stage of their journey, The Ads provide highly relevant and dynamic product recommendations in a stylishly designed and responsive ad unit that can be placed at the end of content or within the content to create a more compelling visitor experience and shopping opportunity.
And the same Ads you want to show in AMP then you need to follow these steps:
Step 1: You can download ADSforWP Plugin it’s a free plugin you can download from WordPress.
This is an example of AMP-compatible code of the Amazon Ads:
<amp-ad
width="600"
height="250"
type="a9"
data-amzn_assoc_placement="adunit0"
data-amzn_assoc_search_bar="true"
data-amzn_assoc_tracking_id="deepak0004-20"
data-amzn_assoc_ad_mode="manual"
data-amzn_assoc_ad_type="smart"
data-amzn_assoc_marketplace="amazon"
data-amzn_assoc_region="US"
data-amzn_assoc_title="My Amazon Picks"
data-amzn_assoc_linkid="c5772783a7d25620cd6226c5cc5885c8"
data-amzn_assoc_asins="B001AWZDA4,B07BFTFYZC,B06XD8XQWK,B018HTGSN8"
>
</amp-ad>
For more info of Amazon affiliate Ad Click Here.
Step 2: After installing this plugin Ads option will be displayed on the WordPress dashboard ->Ads Option -> create new Ads.
Step 3: In Ad Type, you need to select the Custom Code Option.
Step 4: In this option, you need to enter the body code of Amazon affiliate ad
Step 5: Click on “Publish” button your Auto Ads will be displayed on AMP pages.

Required parameters
data-amzn_assoc_ad_mode
– specify the ad type as search, manual or auto (for recommendation ads)
Scroll down a little to see this option
Display

- Display Type: In Display type, you’ll see the number of display type which you can use as per your convenience. However, if you want to display the InContent Ads as the name suggests it is used to display the ads in the content of your post by simply putting between the paragraphs.
- Position: In this option, you’ll see two Position’s in which you can display the ad’s by selecting 1.) 50% of the content 2.) The number of paragraph option in which It asks you to enter the paragraph number to display the ads.
- Alignment: This option allows you to select the alignment option of the ad.
- Margin: You can also set the margins of the ads as per your taste.
- Embed Shortcode: Copy the shortcode and place where you want to display the Sticky Ads.
Advanced Display Conditions

- In this section, you need to set the condition for the specific post or page or all posts where you want to show MGID Ads.
That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions or do you want us to create compatibility for any other Ad company which isn’t listed in our plugin then you can request us we will surely implement it as soon as possible.
Just contact us here and we are always available for you.