In columns
To monetize your Turbo pages, you can enable the Yandex Advertising Network blocks or ads from other systems using ADFOX.
On a desktop Turbo page, you can place fixed-size ad blocks in the right and left columns.
Restrictions:
- Left column: maximum width of 240 pixels, maximum height of 400 pixels.
- Right column: maximum width of 300 pixels, maximum height of 600 pixels.
Here are the steps for enabling ads.
Step 1. Creating an ad block
To create an ad block:
- Go to Add RTB block.and click
- In the second step of creating an RTB block, select Turbo pages for desktop and click Next.
Set up the ad formats for Yandex.Direct and display ads.
Restrictions:
- Left column: maximum width of 240 pixels, maximum height of 400 pixels.
- Right column: maximum width of 300 pixels, maximum height of 600 pixels.
- Copy the ID of the created block and use it when enabling ads in Yandex.Webmaster settings. The ID has the format R‑A‑123456‑7.
In the ADFOX interface, create a platform for your Turbo pages.
To place the ads on Turbo pages, you'll need the embed code.
- Click.
- Copy the code starting from the div element.
Code sample
<div id="container id"></div>
<script>
window.Ya.adfoxCode.create({
ownerId: 123456,
containerId: 'container id',
params: {
pp: 'g',
ps: 'cmic',
p2: 'fqem'
}
});
</script>
Where do I find the embed code?
Step 2. Enabling and checking
Attention. The formats of YAN ad blocks are validated when enabled. If the ad block size doesn't fit, the ad is not displayed.
ADFOX formats are not validated. Be sure that you check their display before enabling your desktop Turbo pages.
To enable the ad block:
- In the Yandex.Webmaster interface, go to Desktop option.and select the
- Under Ad blocks in right column or Ad blocks in left column, click Add and select the ad block type.
- Depending on the block type, enter the block ID in the YAN field or the embed code in the ADFOX field.
- If you have specified multiple ad blocks, order them by display priority using the
icon. The order will be taken into account at ad placement.
- Check the ad display on the sample Turbo page.
- Save changes.