Enabling ad units above the header

Attention. Only Yandex Advertising Network units can be placed above the header.

The unit above the header is an adaptive banner at the top of the page, which takes up 100% of the width and 70 pixels of height.

If you enable the unit above the header and the automatic recommendation feed, ads are displayed before each new page of the feed.

To enable these ads, perform the following steps:

Step 1. Create an ad unit

To create an ad unit:
  1. Open the Yandex Advertising Network interface.
  2. Go to Ads on websites → RTB blocks and click Add RTB block.
  3. At the second step of creating an RTB block, select Turbo pages for mobile and click Next.
  4. Select the Adaptive format and click Next.
  5. Turn off all recommended media formats and select 320×50. If you select a different format, such as 320×100 or 100%×90, the ad won't fit in the container.
  6. Set up a strategy and click Create. To learn more about strategy types, see the YAN Help.
  7. Copy the created unit ID and use it when enabling ads. The ID format is R‑A‑123456‑7.

Step 2. Enable and verify it

You can place the unit above the header automatically or manually:

  1. In Yandex Webmaster, go to Turbo pages for content sites → Settings → Advertising.
  2. In the Ad block above the header section, specify the unit ID in the Yandex Advertising Network field and click Save.
  3. Check the ad display on a sample Turbo page.