Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
117 lines (93 sloc) 3.42 KB

A9

The A9 amp ad unit supports the Search, Recommendation and Custom ad widgets of the Native Shopping Ads program. These widgets would need to be created here first https://affiliate-program.amazon.com/home/ads

Examples

Recommendation Ad

Sync

<amp-ad
  width="300"
  height="250"
  type="a9"
  data-amzn_assoc_ad_mode="auto"
  data-recomtype="sync"
  data-adinstanceid="fe746097-f142-4f8d-8dfb-45ec747632e5"
  data-regionurl="https://z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"
>
</amp-ad>

Async

<h2>A9 Recom Ads Async</h2>
<amp-ad
  width="300"
  height="250"
  type="a9"
  data-amzn_assoc_ad_mode="auto"
  data-divid="amzn-assoc-ad-fe746097-f142-4f8d-8dfb-45ec747632e5"
  data-recomtype="async"
  data-adinstanceid="fe746097-f142-4f8d-8dfb-45ec747632e5"
>
</amp-ad>

Search Ad

<amp-ad
  width="400"
  height="300"
  type="a9"
  data-amzn_assoc_placement="adunit0"
  data-amzn_assoc_search_bar="true"
  data-amzn_assoc_tracking_id="deepak2015-20"
  data-amzn_assoc_search_bar_position="bottom"
  data-amzn_assoc_ad_mode="search"
  data-amzn_assoc_ad_type="smart"
  data-amzn_assoc_marketplace="amazon"
  data-amzn_assoc_region="US"
  data-amzn_assoc_title="Shop Related Products"
  data-amzn_assoc_default_search_phrase="apple watches"
  data-amzn_assoc_default_category="All"
  data-amzn_assoc_linkid="b01186f9b305e15fc51214bb45187875"
  data-regionurl="https://z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"
>
</amp-ad>

Custom Ad

<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>

Configuration

Required parameters

  • data-amzn_assoc_ad_mode - specify the ad type as search, manual or auto (for recommendation ads)

Optional parameters

We have default regionurl as //z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US but this can be custom provided. The parameters amzn_assoc_width, amzn_assoc_height, amzn_assoc_size have been replaced as AMP provide custom setting of height and width (as specified above in the amp-ad node). For recommendation, we have recomtype specifying it is async or sync.

All other configurations supported by the NSA ads would be supported here and would depend on the ad mode. The ad parameters need to be prefixed with "data-"

Support

For further queries, please feel free to reach out to your contact at Amazon Affiliates.

Otherwise you can write to our support team: Email: nsasupport@amazon.com

You can’t perform that action at this time.