Technical limitations
Restrictions for ads
Maximum number of characters including spaces:
Text & Image ads in unified performance campaigns
-
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
-
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)
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
- Ads for mobile apps: The number of keywords per group cannot exceed 200.
- Site ads: 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 in the unified performance campaign, Campaign Wizard, and display campaigns
То placе Text & Image ads in the unified performance campaign, 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 |
no larger than 100 MB |
Duration |
between 5 and 60 sec |
Recommended aspect ratio |
16 : 9; 1 : 1; 9 : 16 |
Minimum resolution |
360p |
Recommended resolution |
1080p |
Video frame rate |
from 20 fps |
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, the aspect ratio can only be 16:9.
Video about your product in the unified performance campaign and product campaign
For a video about your product in the unified performance campaign and product campaign from the feed, you can use this clip:
Format |
MP4 |
Size |
no larger than 100 MB |
Duration |
between 5 and 45 sec |
Recommended aspect ratio |
16 : 9; 1 : 1; 9 : 16 |
Minimum resolution |
360p |
Recommended resolution |
1080p |
Video frame rate |
from 20 fps |
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
Size in pixels |
Format |
Maximum file size |
|
Text & Image ads in unified performance campaigns |
At least 450 on each side |
JPG, PNG or GIF |
10 MB |
Ads for mobile apps in a unified performance campaign |
From 1080 to 5000 pixels |
JPG or PNG |
10 MB |
Ads for mobile apps in the Campaign Wizard |
From 1080 to 5000 pixels |
JPG or PNG |
10 MB |
Site ads in the Campaign Wizard |
From 450 × 450 |
JPG, PNG or GIF |
4 MB |
Product campaign |
From 450 × 450 |
JPG, PNG or GIF |
4 MB |
Search banners |
240 × 400 |
JPG, PNG or GIF |
120 KB |
Banners
Banners in image ads
Technical requirements:
-
Maximum file size: 512 KB.
-
File type:
- ZIP (for HTML5 banners). Technical requirements for HTML 5 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
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
Banners in a fixed CPM display campaign
Requirements for image banners
New Yandex Browser tab | Premium banner in search results | |
---|---|---|
Size in pixels | 1456 × 180 |
640 × 268 |
Maximum file size | 1 MB |
|
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.
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.
-
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 archived
index.html
must be less than 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, the mobile app (if installed), or the app page in the store (if the app is not installed). Banner clicks must open this page by calling the
yandexHTML5BannerApi.getClickURLNum(1)
method.<a id="click_area" href="#" target="_blank">...</a> // после элемента "<a href ...></a>" // присваиваем для него значение атрибута href так: <script> document.getElementById("click_area").href = yandexHTML5BannerApi.getClickURLNum(1); </script>
-
The HTML5 banner size must be specified in the
content
attribute of themeta
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 in the unified performance campaign:
<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 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 ADFOX tag (to learn more, see How to launch a 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.
Questions?
Alert
Our customer service department can only help you with the campaigns created under the same username you use to contact us. You can check your username by opening ya.ru in another browser tab. Our team can access your data only when processing your request.