Ad blocks on AMP pages

The Yandex Advertising Network provides special ad blocks that can be placed on AMP pages. They can be used to show:

  • Yandex.Direct contextual ads.
  • Banners, including media banners, Yandex.Direct image ads, and smart banners.

The AMP technology imposes a number of limitations on how external components can be used in the page code. For this reason, the ad block code for AMP pages is different from the code for other ad blocks. Do not use this code on other types of sites or your ads will not be selected for impressions.

The supported ad block formats for AMP pages are listed on the tabs below.

The maximum number of ads per ad block is two Yandex.Direct ads or one banner.