Requirements for banners

You can upload an image banner or HTML5 banner.

Technical requirements for image banners

Size in pixels 640 × 268
Maximum file size 512 KB
Format JPG, PNG or GIF

Technical requirements for HTML5 banners

HTML5 banners must be ZIP files that contain one HTML file and JavaScript, JSON, CSS, JPEG, GIF, PNG, or SVG files.

Size in pixels 640 × 268
Maximum archive size 512 KB

The archive and files used in the banner must meet the following requirements:

  1. The file and directory names can only contain Latin letters, digits, and the characters -._~.

  2. All links in an HTML5 banner must be relative and lead to other files in the archive.

  3. The archive can contain up to 20 files. Include source code from JavaScript, CSS, and SVG in the HTML file and combine all bitmaps into a single file (a sprite atlas).

  4. The maximum size of the index.html file in the archive must be under 150 KB.

  5. The contents of the __MACOSX folders and the .DS_Store and Thumbs.db files will be ignored in the archive. These are the operating system's auxiliary files which are not necessary for the HTML5 banner to work.

  6. <a id="click_area" href="#" target="_blank">...</a> 
     // after the "<a href ...></a>" 
     element,  // assign its href attribute as follows:
      <script> 
        document.getElementById("click_area").href = yandexHTML5BannerApi.getClickURLNum(1); 
     </script>
  7. The HTML5 banner size must be specified in the content attribute of the meta tag. See the example below:
    <meta name="ad.size" content="width=640,height=268">
  8. External calls to Yandex-hosted JavaScript libraries are allowed. If an HTML5 banner uses a different library, include it in the archive source code.

  9. All event handlers must be explicitly specified within the script tag, for example:

    <script>
        document.onload = init;
    </script>
  10. The link in an HTML5 banner must not exceed 1024 characters and must be UTF-8 encoded.

  11. The banner must not use statistics collection tools (pixels, tags, etc.).

    When you create a campaign, you can specify a Yandex Audience pixel or ADFOX tag (to learn more, see How to launch a campaign). You can also use UTM tags in the link to your website.

  12. A banner can feature the View again button for restarting the scenario.

Download a sample HTML5 banner

Check the recommendations for displaying HTML5 banners too.

Moderation requirements

Texts, website, and banner display

Apply standard design, website, and banner display rules. Make sure that you've added all necessary notices and age restrictions.

Banners also can't have a frame or border.

Recommendations for banners.

Prohibited subjects
Banners in the following categories are not accepted for placement on the ya.ru page or the Yandex Browser new tab page:
  • politics
  • magic and esotericism
  • religious items and services
  • debt collection services
  • funeral products and services
  • dating websites or marriage agencies
  • social advertising, including charitable organizations
  • services of detectives and private security companies
  • products and services for adults (such as sex toys or erotic materials)
  • firearm accessories
  • products similar in construction to weapons and their accessories
  • military subjects (transportation of military personnel, legal assistance in obtaining a military ID, and so on)
  • website optimization and SEO services
  • disinfection and pest control services
  • certain financial services and training courses about them (microfinancing, loan offers from individuals, binary options, Forex dealer activities, transactions with Forex dealers, etc.)
  • other topics that do not comply with Yandex editorial policy

This list is not exhaustive and can be changed by Yandex at any time.

Have questions?

Attention. Our customer service department can only help you with the campaigns created under the same username you use to contact us. You can see your current login in the upper-right corner of the screen. Our team can access your data only when processing your request.

You can contact us from 10:00 to 19:00 (UTC+3) by phone:

Moscow: +7(495)780-65-20

Toll-free within Russia: 8(800)234-24-80, ext. 9

Attention.

To access campaigns, a customer service specialist will need your PIN.