Ad blocks

On a Turbo page, you can place a block in content and in an InPage video ad:

  1. In-content block
  2. InPage video ads

In-content block

Attention. Add ad blocks not more often than every 250 words on the page. Frequent ads make messages on the Turbo pages harder to read. This can cause users to stop visiting your pages over time.

To set the ad block position manually, use the figure element.

<!-- Mobile RTB ad -->
<figure data-turbo-ad-id="mobile_ad"></figure>

            
Copied to clipboard
data-turbo-ad-id * The turbo-ad-id value specified on the Turbo pages for content sites → Settings → Advertising page. For more information, see Manual configuration in the interface.
data-platform-mobile Enables/disables the ads display on the mobile Turbo pages.

Default value: true.

data-turbo-ad-id * The turbo-ad-id value specified on the Turbo pages for content sites → Settings → Advertising page. For more information, see Manual configuration in the interface.
data-platform-mobile Enables/disables the ads display on the mobile Turbo pages.

Default value: true.

*Required attribute.

InPage video ads

Attention. You can only place one InPage block on a page.

To set the InPage block position manually, use the figure element:

<figure inpage="true"
    data-turbo-ad-id="general_ad_alias"
    data-turbo-inpage-ad-id="inpage_ad_alias">
</figure>
Copied to clipboard
inpage * Sets the InPage type of the ad block.
data-turbo-ad-id * The turbo-ad-id value specified on the Turbo pages for content sites → Settings → Advertising page.
data-turbo-inpage-ad-id * The turbo-inpage-ad-id value specified on the Turbo pages for content sites → Settings → Advertising page. For more information, see Manual placement.
inpage * Sets the InPage type of the ad block.
data-turbo-ad-id * The turbo-ad-id value specified on the Turbo pages for content sites → Settings → Advertising page.
data-turbo-inpage-ad-id * The turbo-inpage-ad-id value specified on the Turbo pages for content sites → Settings → Advertising page. For more information, see Manual placement.

*Required attribute.

The data-turbo-ad-id and data-turbo-inpage-ad-id attribute values must be different. If the InPage block can't be displayed, the data-turbo-ad-id ad block is shown.