Requirements for placing native ad units

Alert

This section describes the technical requirements that partners must meet when placing native ad units.

Element

Layout rules

The “Ad” label and the age restriction label.

Make sure that each ad includes the <ya-unit-category /> tag. It contains the “Ad” label. The <ya-unit-category /> tag may include:

  • The labels “Social Ad”, “Yandex Direct”, or “Ya.Business Ad”

    Here is what this label looks like

  • Age labels (0+, 6+, 12+, 16+, 18+), pursuant to the law “On the protection of children from information that harms their health and development”

    Here is what this label looks like

You can set the ya-unit-category_default class for the <ya-unit-category /> tag. This will apply styles that place the element in the upper-left corner of the ad against a semi-transparent background. This will help make the label stand out.

Menu icon

Users can hide or report ads using the menu icon.

In the HTML template, the <ya-unit-kebab /> element sets the configuration of the menu icon. This element must be located directly inside <ya-units-grid /> or <ya-units-slider />.

The menu icon is added to the upper-right corner of the ad. Make sure it's placed in a way so that its location and size are in line with the close button.

Here is what the menu icon and the close button look like

The default menu icon is white with a semi-transparent sublayer. If you're going to render a label against a white background, try changing the icon color to black and removing the background. To do this, use the ya-unit-kebab_contrast class:

<ya-unit-kebab class="ya-unit-kebab_contrast" />

You can set any other color for the icon using the backgroundColor parameter:

<ya-unit-kebab backgroundColor="#000000"/>

Make sure that the icon is clearly visible and discernable for the whole duration of the ad. There should be no obstructions that might prevent the user from clicking it.

Header

The maximum title character limit is 56. All characters should be displayed.

The ad should look right both with a short title (10–12 characters) and with a long title (56 characters).

Domain

Make sure the domain is displayed in full, is easily readable, and can be clicked both for short domain names (rb.ru) and longer names (pokupki.market.yandex.ru) when you configure your ad's design.

Disclaimer

Make sure that your ad can display any disclaimer required for certain ad categories. The warning must take up at least 5 or 10% of the ad area.

What it looks like

Ads can display three types of disclaimers:

  • The disclaimer must take up at least 10% of the ad area for alcoholic beverages. Possible disclaimer text: “Excessive alcohol consumption is dangerous for your health.”

  • The disclaimer must take up at least 5% of the ad area for medical products. Disclaimer text: “May cause side effects. Consult your doctor.”

  • The disclaimer must take up at least 10% of the ad area for dietary supplements. Disclaimer text: “Not a medicine.”

Disclaimer display logic:

  • If the <ya-unit-warning /> tag is present in the native banner template, then it outputs the disclaimer. The site is responsible for ensuring that the disclaimer is displayed according to the law.

  • If there is no <ya-unit-warning /> tag in the template and the image width is over 160 pixels, an appropriately sized disclaimer is rendered over the image.

    What it looks like

  • If the <ya-unit-warning /> tag is not included in the native banner and the image width is less than 160 pixels or there is an image carousel in the ad, the tag will be added to the end of the ad. Make sure to stylize this element according to the law of the country where the ad is displayed.

Make sure that all legal information is clearly visible against the image or video and the ad background in all of its possible formats (solid dark or bright background, simple or complex gradient, picture, photo, or animation).

Here is what a correctly displayed disclaimer looks like

Write to WhatsApp Go to WhatsApp

Write to chat

Send an email



You can also go to