Advertising on AMP pages
Accelerated Mobile Pages (AMP) is a technology that allows mobile device and tablet users to quickly load sites.
Ad units for AMP pages
The Yandex Advertising Network provides special ad units that can be placed on AMP pages. They can be used to show:
- 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 unit code for AMP pages is different from the code for other ad units. Do not use this code on other types of sites or your ads will not be selected for impressions.
Clicking the Get code button doesn't automatically determine the unit size. To make the ad unit show up, set its width and height (for example, width="300" height="300"
).