Fullscreen

You can display fullscreen units on the desktop version of the site and on its mobile version. The ad occupies the entire screen, the user can close it at any time after the close button appears.

The following can be displayed in a fullscreen unit:

You can't change the set of formats or add other formats.

Example of a fullscreen unit with a text and image ad

How to create a fullscreen unit

  1. In the Yandex Advertising Network interface, go to Ads on websites → Ad units and click New ad unit.

  2. Select the site that you want to create an ad unit for and click Next.

  3. Select the Fullscreen unit type.

  4. Enter a unit name to be used in the Yandex Advertising Network interface.

  5. Select the platform: Desktop or Mobile. If you want to display the unit on both platforms, create a separate unit for each of them. In the desktop version, the unit will appear when navigating between pages and occupy the entire screen area.

  6. 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 is 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.

  7. To place a unit on the desktop and mobile versions of the site, leave the No value in the AMP field.

  8. Define the display settings:

    • Impression limit enable you to configure the frequency of unit impressions to a unique user. The default frequency is no more than 1 time in 5 minutes. To change these values, in the 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.

    • Site sections where impressions are permitted, Site sections where impressions are prohibited: Specify the site sections where you plan to allow or restrict impressions of a fullscreen unit. To do this, enter a part of the path to the section after the domain name starting with the / symbol. To add multiple sections, list them separated by commas, for example: /news,/feed.

      These fields help simplify placing the unit tag on new site pages: every time a user navigates to a new page, the ad tag checks whether it can display fullscreen ads in this section. The ad is displayed if the uploaded page is in the allowed section and there's no violation in the frequency of impressions to a unique user. 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 tag to each page separately.

    • Delayed close button enables you to set the time until the close button appears: the user can close the unit no earlier than the specified number of seconds. The default value is 0 (the close button appears immediately). You can delay the appearance of the close button for 1 to 3 seconds.

      When enabling this option, we recommend carefully analyzing the user's reaction to ads, because they can distract from the content and worsen the site experience.

    • Close unit by timer: Set a timer with a countdown in seconds. After the specified time, the ad unit closes automatically. The user can wait for the unit to close automatically or close it earlier, as soon as the close button appears.

      By default, the Advertising Network determines whether to display the timer for each impression. To change the timer settings, select an option in the Close unit by timer field:

      • Yes: Always display the timer and close the unit automatically. The user can close the ad unit earlier by clicking the close button.

      • No: Close the unit only if the user closes it.

      • Auto: Return to the default settings: the Yandex Advertising Network algorithms will manage timer display.

  9. Choose how you want to configure ad formats:

    • Use standard settings: When this option is selected, the unit displays all available ad formats: Text & Image ads, display advertising, 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 display settings:

      The main design is Fullscreen  Text & Image ads.

      In the preview area, you can simulate how the unit will be displayed in different framing containers and on different devices. To do this, fill in the Container field for the desktop site version or Screen field for the mobile version. 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.

      Media 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 unit size for displaying video ads is 320 × 180 pixels. 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” .

  10. 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, frame, buttons, and other elements. The selected theme is applied to all ad formats within the unit.

  11. Click Create. A window with the embed code will open. Use this code 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 place a fullscreen unit on a site

  1. Get the embed code: create a new unit or click Get code in the settings of an existing unit.

  2. Copy the ad loader code to the clipboard and paste it inside the <head> tag of all pages on which you want to display the fullscreen unit. The loader code is only embedded on the page once and is used to call all units of the Yandex Advertising Network.

  3. You can add the unit tag to <head> immediately after the ad loader or in <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 embed code.

    Sample code for a fullscreen unit on a site with adaptive layout
    <script>
      window.yaContextCb.push(() => {
          if (Ya.Context.AdvManager.getPlatform() === 'desktop') {
            // calling a fullscreen unit for the desktop version
            Ya.Context.AdvManager.render({
              blockId: 'A-B-123456-78',
              type: 'fullscreen',
              platform: 'desktop',
            });
          } else {
            // calling a fullscreen unit for the mobile version
            Ya.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, and also to the script that generates <head> for new site pages. This way, you won't have to add the unit tag separately to each created page. You can disable impressions of an 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.

You can perform certain actions in response to the user closing the ad unit, such as call another ad unit. To do this, add the tag with the action in onClose. To learn more about the onClose callback function, see Ad code.

Contact support

Write to WhatsApp Go to WhatsApp

Write to chat

Send an email



You can also go to





Previous