You can display fullscreen units on both the desktop and mobile versions of the site. The ad occupies the entire screen. The user can close it at any time after the close button appears.
A fullscreen unit can display the following ad types:
Display ads: They are selected automatically and occupy the maximum unit area. The aspect ratio of display ads is close to the size of the user's screen.
In the Yandex Advertising Network interface, go to Websites Ads → Ad units and click New ad unit.
Select the site that you want to create an ad unit for and click Next.
Select the Fullscreen unit type.
Enter a unit name to be used in the Yandex Advertising Network interface.
Select the platform: Desktop or Mobile. For the unit to be displayed on both platforms, create a separate unit for each platform. In the desktop version, the unit appears when navigating between pages and occupies the entire screen area.
Set the CPM floor:
Maximum revenue: Determine the minimum cost of impressions automatically. With this option, you can effectively fill placements and maximize revenue for the site owner.
CPMV floor: Set your own minimum cost per thousand impressions based on a viewability check. The CPMV floor can be set in rubles, US dollars, or euros. You can change the floor currency in your account settings.
Alert
Setting a CPMV floor can reduce the unit fill rate and, therefore, decrease your income.
To display the ad unit on both desktop and mobile versions of your site, leave the AMP field set to No.
Define the display settings:
The Impression limit setting lets you set up the frequency of unit impressions to unique users. The default frequency is no more than once per 5 minutes. To change the value, edit the following fields:
Impression limit: Specify the maximum number of impressions for a unique user (from 1 to 3).
Restriction period: Set the period during which the unit can be displayed the maximum number of times.
For example, if you want the unit to appear no more than 1 time per hour, select 1 in the Impression limit field and select 1 hour in the Restriction period field.
Alert
For periods of 5 and 10 minutes, the impression limit can't be more than 1.
We don't recommend showing Fullscreen units too often, as this may distract the user from the site content.
Allowed sections, Restricted sections: Specify the site sections where you want to allow or restrict impressions of fullscreen units. To do this, enter a part of the path to the section after the domain name starting with the / symbol. To add multiple sections, separate them with commas. For example: /news,/feed.
These fields help simplify placing the unit code on new site pages: every time a user navigates to a new page, the ad code checks whether it can display fullscreen ads in this section. The ad is displayed if the uploaded page is in the allowed section and the rule for impression frequency for a unique user isn't violated. For more information about fullscreen unit code placement, see below.
Note
Don't specify allowed and restricted site sections if you plan to:
Display a fullscreen unit on all site pages.
Add the unit code to each page separately.
Delayed close button allows you to set the time period until the close button appears: the user can't close the unit earlier than the specified number of seconds. The default value is 0 (the Close button appears immediately). You can set the delay for the Close button to 1 to 3 seconds.
If this option is selected, we recommend that you carefully analyze how users react to ads, because it may distract them from the site content and negatively affect the user experience when working with it.
Close unit by timer: Set up a timer with a countdown in seconds. When the timer expires, the ad unit closes automatically. The user can wait until ads close automatically or close them earlier as soon as the close button appears.
By default, the Yandex Advertising Network determines whether to show the timer for each specific impression. To change the timer settings, select an option in the Close unit by timer field:
Yes to always show the timer and close the unit automatically. The user can still close it earlier by clicking the Close button.
No to close the unit only when the user closes it.
Auto to restore the default settings so that the Yandex Advertising Network algorithms control the timer's display.
Choose how you want to configure ad formats:
Use standard settings: This enables all available formats within the ad unit, including combinatorial ads, display ads, and video ads. The design of ads and impression parameters are determined automatically.
Configure the formats: You can disable the display of some formats or change the impression settings.
Base design
Display ads
Video ads
The main layout features Fullscreen combinatorial ads.
In the preview area, you can preview the unit's appearance in different framing containers and on different devices. To do this, fill in the Container field for the desktop version or the Screen field for the mobile version of the site. You can select a value from the list or set the size yourself by selecting Custom.
Note
The specified container size is used only to generate the preview area and isn't saved in the unit settings.
Display ads are served automatically based on the unit size.
You can't disable the format.
Video ads are selected automatically based on the unit size. The minimum allowed unit size is 320 × 180 pixels, and one of the unit sides should be at least 180 pixels long. Video ads won't be displayed in smaller units (even if the format is enabled in the unit settings).
To disable a format, set it to “Disabled” .
Choose a theme: Dark or Light. The default option is Light theme. Dark theme units have a different background and color scheme for their text, border, buttons, and other elements. The selected theme is applied to all ad formats within the unit.
Click Create. A window with the ad tag will open. Use this ad tag to place the ad unit on your site.
Once you save the ad unit, it will be assigned a unique identifier (ID). It consists of a product ID (R-A), site ID (site_id), and the unit's serial number.
How to add a fullscreen unit to your site
Get the ad tag: create a new unit or click Get code in the settings of an existing unit.
Copy the Yandex Advertising Network loader code to the clipboard. Paste it inside the <head> tag of all the pages where you want to display a fullscreen unit. The loader code is only embedded on the page once and is used to call all Yandex Advertising Network units.
You can add the unit code to <head> immediately after the ad loader or in the <body> of the page.
If you want to use fullscreen ads for desktop and mobile devices on a site with adaptive layout, add both unit codes one after another. Yandex Advertising Network will automatically request the code that matches the user's device.
To check the site version and call the proper ad unit, you can add the Ya.Context.AdvManager.getPlatform() method to the ad tag.
Sample code for a fullscreen unit on an adaptive site
<script>
window.yaContextCb.push(() => {
if (Ya.Context.AdvManager.getPlatform() === 'desktop') {
// calling a fullscreen unit for the desktop versionYa.Context.AdvManager.render({
blockId: 'A-B-123456-78',
type: 'fullscreen',
platform: 'desktop',
});
} else {
// calling a fullscreen unit for the mobile versionYa.Context.AdvManager.render({
blockId: 'A-B-123456-79',
type: 'fullscreen',
platform: 'touch',
});
}
});
</script>
We recommend adding the loader code and the unit code to <head> of all existing pages. We also recommend adding them to the script that generates <head> for new site pages. This way, you won't have to add the unit code separately to each created page. You can disable impressions of a fullscreen unit on certain pages in the unit settings of the Yandex Advertising Network interface. To do this, specify the allowed or restricted site sections.
If the user closes the ad unit, a certain action can be performed in response, such as calling another ad unit. To do this, add the code with the action to onClose. To learn more about the onClose callback function, see Ad code.