Technical limitations
Restrictions for ads
Maximum number of characters including spaces:
- Text & Image ads
-
title — 56 characters (including spaces and punctuation marks), maximum 22 characters per word
additional title — 30 characters and 15 punctuation marks, maximum 22 characters per word (in some cases, ads may be displayed without the additional title)
ad text — 81 characters and 15 punctuation marks, maximum 22 characters per word (the ad text may be cut off depending on the display location)
link — 1024 characters (including protocol)
- display link — 20 characters (excluding the domain)
- callouts — 25 characters (including spaces), the total callout length for an ad mustn't exceed 132 characters for desktop impressions and 66 characters for mobile impressions
- sitelink — 30 characters (title), description — maximum 60 characters
- Ads for mobile apps
-
title — 56 characters (including spaces and punctuation marks), maximum 22 characters per word
ad text — 75 characters, maximum 23 characters per word
link — 1024 characters (including protocol)
tracking link — 1024 characters (including protocol)
- Dynamic ads
-
ad text — 81 characters including spaces and 15 punctuation marks, maximum 23 characters per word
Restrictions for campaigns and accounts
- Keywords
-
The maximum keyword length is 4096 characters (including negative keywords, spaces, and Yandex Direct operators). The number of keywords per group cannot exceed 200. Each keyword can contain a maximum of 7 words.
- Negative keywords in a group
-
A list of negative keywords can contain a maximum of 4096 characters, not counting spaces. Maximum of 7 words per negative keyword.
- Negative keywords in the Campaign Wizard
-
When advertising a mobile app in the Campaign Wizard, the number of keywords per group can't exceed 200. When advertising a site, the maximum number of characters (excluding spaces) is 20,000.
- Negative keywords in a campaign
-
A list of negative keywords can contain a maximum of 20,000 characters, not counting spaces. Maximum of 7 words per negative keyword.
- Ad group
-
Maximum of 1000 groups per ad campaign.
- Number of ads
-
Maximum of 50 ads per group.
- Ad campaigns
-
Maximum of 3000 campaigns per account, of which no more than 1000 can be active (active campaigns are considered to be all campaigns not located in the archive).
Video
Videos in Text & Image ads, Campaign Wizard, and display campaigns.
То placе Text & Image ads, as well as ads for mobile apps with videos, videos about your store in a product campaign, or video ads in display campaigns, you can use the following videos:
Format | MP4, WebM, MOV, QT, FLV, AVI |
Size | 100 MB maximum |
Length | Between 5 and 60 sec |
Recommended aspect ratio | 16 : 9; 1 : 1; 9 : 16 |
Minimum resolution | 360p |
Recommended resolution | 1080p |
Video frame rate | From 20fps |
Video codecs | H.264, VP6F, VP8, Theora |
Number of video tracks | 1 |
Minimum quality | 44 kHz, 16 Kbit/s, stereo |
Audio codecs | AAC, MP3, Vorbis |
Number of audio tracks | No more than 1 |
File codec | avc1, F4V, isom, M4A, M4V, mmp4, mp41, mp42, qt |
Cover | No |
Format | MP4, WebM, MOV, QT, FLV, AVI |
Size | 100 MB maximum |
Length | Between 5 and 60 sec |
Recommended aspect ratio | 16 : 9; 1 : 1; 9 : 16 |
Minimum resolution | 360p |
Recommended resolution | 1080p |
Video frame rate | From 20fps |
Video codecs | H.264, VP6F, VP8, Theora |
Number of video tracks | 1 |
Minimum quality | 44 kHz, 16 Kbit/s, stereo |
Audio codecs | AAC, MP3, Vorbis |
Number of audio tracks | No more than 1 |
File codec | avc1, F4V, isom, M4A, M4V, mmp4, mp41, mp42, qt |
Cover | No |
For non-skippable ads, max video duration is 15 seconds.
For video banners (including those served in Yandex Search), the aspect ratio can only be 16:9.
Product video in a unified performance campaign, in a product campaign, and in smart banners
This video can be used both for a product in a product campaign and for smart banners based on a feed:
Format | MP4 |
Size | 100 MB maximum |
Length | Between 5 and 45 sec |
Recommended aspect ratio | 16 : 9; 1 : 1; 9 : 16 |
Minimum resolution | 360p |
Recommended resolution | 1080p |
Video frame rate | From 20fps |
Video codecs | H.264, VP6F, VP8, Theora |
Number of video tracks | 1 |
File codec | mmp4, mp41, mp42 |
Cover | No |
Format | MP4 |
Size | 100 MB maximum |
Length | Between 5 and 45 sec |
Recommended aspect ratio | 16 : 9; 1 : 1; 9 : 16 |
Minimum resolution | 360p |
Recommended resolution | 1080p |
Video frame rate | From 20fps |
Video codecs | H.264, VP6F, VP8, Theora |
Number of video tracks | 1 |
File codec | mmp4, mp41, mp42 |
Cover | No |
Once your videos are added to a feed and updated in Yandex Direct, the system will upload and check videos one-by-one against the requirements. Serving of processed videos will start within 24 hours. If your feed contains tens of thousands of videos, it might take up to several days to process them.
Images
Text & Image ads | Ads for mobile apps | Search banners | Campaign Wizard, Product campaign | |
---|---|---|---|---|
Size in pixels | At least 450 on each side | From 1080 to 5000 | 240 × 400 | from 450 × 450 |
Format | JPG, PNG or GIF | JPG or PNG | JPG, PNG or GIF | JPG, PNG or GIF |
Maximum file size | 10 MB | 10 MB | 120 KB | 4 MB |
Text & Image ads | Ads for mobile apps | Search banners | Campaign Wizard, Product campaign | |
---|---|---|---|---|
Size in pixels | At least 450 on each side | From 1080 to 5000 | 240 × 400 | from 450 × 450 |
Format | JPG, PNG or GIF | JPG or PNG | JPG, PNG or GIF | JPG, PNG or GIF |
Maximum file size | 10 MB | 10 MB | 120 KB | 4 MB |
Banners
Banners in image ads
Technical requirements:
- Maximum file size: 512 KB.
- File type:
- ZIP (for HTML5 banners). Technical requirements for HTML5 banners.
- JPG, PNG, or GIF (for image creatives).
The size of an HTML5 banner must exactly match the size of the ad unit (see the table). The size of an image creative in pixels can be two or three times larger.
Size of an ad unit in pixels Recommended sizes of image creatives served on screens with a high pixel density 240 × 400 480 × 800 or 720 × 1200 300 × 250 600 × 500 or 900 × 750 300 × 500 600 × 1000 or 900 × 1500 300 × 600 600 × 1200 or 900 × 1800 320 × 50 640 × 100 or 960 × 150 320 × 100 640 × 200 or 960 × 300 320 × 480 640 × 960 or 960 × 1440 336 × 280 672 × 560 or 1008 × 840 480 × 320 960 × 640 or 1440 × 960 728 × 90 1456 × 180 or 2184 × 270 970 × 250 1940 × 500 or 2910 × 750 Size of an ad unit in pixels Recommended sizes of image creatives served on screens with a high pixel density 240 × 400 480 × 800 or 720 × 1200 300 × 250 600 × 500 or 900 × 750 300 × 500 600 × 1000 or 900 × 1500 300 × 600 600 × 1200 or 900 × 1800 320 × 50 640 × 100 or 960 × 150 320 × 100 640 × 200 or 960 × 300 320 × 480 640 × 960 or 960 × 1440 336 × 280 672 × 560 or 1008 × 840 480 × 320 960 × 640 or 1440 × 960 728 × 90 1456 × 180 or 2184 × 270 970 × 250 1940 × 500 or 2910 × 750
Banners in a display campaign
Technical requirements:
- Maximum file size: 512 KB.
- File type:
- ZIP (for HTML5 banners). Technical requirements for HTML5 banners.
- JPG, PNG, or GIF (for image creatives).
The size of an HTML5 banner must exactly match the size of the ad unit (see the table). The size of an image creative in pixels can be two or three times larger.
Size of an ad unit in pixels Recommended sizes of image creatives served on screens with a high pixel density 160 × 600 320 × 1200 or 480 × 1800 240 × 400 480 × 800 or 720 × 1200 240 × 600 480 × 1200 or 720 × 1800 300 × 250 600 × 500 or 900 × 750 300 × 300 600 × 600 or 900 × 900 300 × 500 600 × 1000 or 900 × 1500 300 × 600 600 × 1200 or 900 × 1800 320 × 50 640 × 100 or 960 × 150 320 × 100 640 × 200 or 960 × 300 320 × 480 640 × 960 or 960 × 1440 336 × 280 672 × 560 or 1008 × 840 480 × 320 960 × 640 or 1440 × 960 728 × 90 1456 × 180 or 2184 × 270 970 × 250 1940 × 500 or 2910 × 750 1000 × 120 2000 × 240 or 3000 × 360 Size of an ad unit in pixels Recommended sizes of image creatives served on screens with a high pixel density 160 × 600 320 × 1200 or 480 × 1800 240 × 400 480 × 800 or 720 × 1200 240 × 600 480 × 1200 or 720 × 1800 300 × 250 600 × 500 or 900 × 750 300 × 300 600 × 600 or 900 × 900 300 × 500 600 × 1000 or 900 × 1500 300 × 600 600 × 1200 or 900 × 1800 320 × 50 640 × 100 or 960 × 150 320 × 100 640 × 200 or 960 × 300 320 × 480 640 × 960 or 960 × 1440 336 × 280 672 × 560 or 1008 × 840 480 × 320 960 × 640 or 1440 × 960 728 × 90 1456 × 180 or 2184 × 270 970 × 250 1940 × 500 or 2910 × 750 1000 × 120 2000 × 240 or 3000 × 360
Banners in a fixed CPM display campaign
- Requirements for image banners
-
New tab in Yandex Browser Premium banner in search results Size in pixels 1456 × 180 640 × 268 Maximum file size 1 MB Format JPG, PNG or GIF New tab in Yandex Browser Premium banner in search results Size in pixels 1456 × 180 640 × 268 Maximum file size 1 MB Format JPG, PNG or GIF - Audio ads
-
Requirements for audio files
Format MP3, WAV, M4A
Maximum size 10 MB Length From 5 to 30 seconds. We recommend using audio files that are 15 seconds long
Minimum quality 44 kHz, 16 Kbit/s, stereo Audio codecs MP3, AAC Number of audio tracks 1 Format MP3, WAV, M4A
Maximum size 10 MB Length From 5 to 30 seconds. We recommend using audio files that are 15 seconds long
Minimum quality 44 kHz, 16 Kbit/s, stereo Audio codecs MP3, AAC Number of audio tracks 1 Requirements for images used with audio files
Format PNG, JPEG, non-animated GIF
Maximum size 90 KB Size in pixels 900 × 900 Format PNG, JPEG, non-animated GIF
Maximum size 90 KB Size in pixels 900 × 900
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.
The archive and files used in the banner must meet the following requirements:
The file and directory names can only contain Latin letters, digits, and the characters
-._~
.All links in an HTML5 banner must be relative and lead to other files in the archive. When the ad materials are served, no external network requests must be made. All the auxiliary JS libraries needed must be provided with the ad materials.
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).
The maximum size of the index.html file in the archive must be under 150 KB.
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.
A click on the banner opens the page specified in the Link to site field, a mobile app (if installed), or the app's page in an app store (if the app isn't installed). Banner clicks must open this page by calling the
yandexHTML5BannerApi.getClickURLNum(1)
method.<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>
- The HTML5 banner size must be specified in the content attribute of the meta tag. See the examples below:
- Banner on a new Yandex Browser tab:
<meta name="ad.size" content="width=1456,height=180">
- Other banners in display campaigns and image ads:
<meta name="ad.size" content="width=300,height=250">
External calls to Yandex-hosted JavaScript libraries are allowed. If an HTML5 banner uses a different library, include it in the archive source code.
All event handlers must be explicitly specified within the script tag, for example:
<script> document.onload = init; </script>
The link in an HTML5 banner must not exceed 1024 characters and must be UTF-8 encoded.
The display campaign banner must not use statistics tools (pixels, tags, etc.).
When you create a campaign, you can specify a Yandex Audience pixel or an Adfox tag (to learn more, see How to launch a banner under the search barβ campaign). You can also use UTM tags in the link to your website.
- A banner can feature the View again button for restarting the scenario.
Recommendations for displaying HTML5 banners
The advertised site must open in a new window (and only open after a user clicks on the HTML5 banner).
HTML5 banners should display correctly and work the same way for all users on all platforms throughout the ad campaign in the following browsers: Yandex Browser 14 and higher, Google Chrome 14 and higher, Mozilla Firefox 14 and higher, Opera 14 and higher, Internet Explorer 9 and higher, and Microsoft Edge. If applicable, relevant browser support should be considered in the file.
In HTML5, you can't use video or audio clips, script behavior that is annoying or malicious (like scripts that launch pop-ups or spoof IP addresses), browser extensions or plugins (Adobe Flash and others). The banner source code should not be obfuscated, meaning it should not be difficult to analyze.