- Files should be sent to Yandex in Flash (.SWF) format, banners should be sent in GIF, JPEG or PNG formats. All files relating to the same ad should have the same name.
- Banners in Flash-format are accepted (not above version 10).
- Users should only be directed to the site once they have clicked on the flash banner (onRelease event), the advertised site should open in a new window of the browser. To calculate the traffic received from a flash banner, you must use the following parameters in the button object (ActionScript 2.0):
on(release) { getURL(_root.link1, "_blank"); }
You don’t need to create a variable link1. - The flash banner animation should not distract or make it difficult for the user to view the pages of the website (banners with flashing graphics, and/or backgrounds, or fast-moving animation etc. are not permitted).
- When preparing flash banners, the use of low quality graphical elements is not permitted, including:
- deformed images or images with artifacts resulting from file compression
- low resolution images (the image is pixelated), or images that are blurry
- The flash banner cannot exchange information with other websites, in particular, the following scripts are not permitted:
- loadMovie, loadMovieNum and class MovieClipLoader
- loadVariables, loadVariablesNum and class LoadVars
- XML.load, XML.send и XML.sendAndLoad
- XMLSocket
- We do not accept advertising materials (banners) with the context menus disabled, making it impossible for users to stop the animation.
- The banner should not be confusing (obfuscated).
- Picture file and text limitations are described in the “Banner Ads. Advertising requirements” and “Text Ads. Advertising requirements” sections.
- In order to track clicks on the banner in Flash format, it is necessary to set up the links in the original file (.FLA) in the following way:
getURL(_root.link1, "_blank"); for the first link getURL(_root.link2, "_blank"); for the second link getURL(_root.linkN, "_blank"); for the N-th link
The Flash file should be embedded into the HTML script in the following way:<object data="movie.swf?link1=http://www.1.ru/&link2=http://www.2.ru/"...> ... <param name="movie" value="movie.swf?link1=http://www.1.ru/&link2=http://www.2.ru/"> ... </object>
In the interests of avoiding false results, we recommend not using links containing characters from the Russian or any other “foreign” alphabet.
Advertising materials for Contextual banners may only contain the following link:getURL(_root.link1, "_blank");
- Flash banners cannot interact with the webpages on which they are placed, in particular, the getURL("javascript:") script is not permitted, the FSCommand and ExternalInterface mechanisms are also not permitted.
- The Flash banner should comply with personal privacy regulations, in particular:
- SharedObject and LocalConnection cannot be used
- Access to the microphone or webcam is forbidden
- Access to the clipboard is forbidden (System.setClipboard)
- SWF-files must not contain non-standard SWF-tags used to hide code
- Banners should not produce considerable load on a user’s computer when displayed on the webpage1
- Examples of correct Flash usage can be found here:
Flash banner, Flash source code, Alternative picture, html-code, all of which are used for displaying the banner, all these files can also be found here. - Video clips can be embedded into a Flash banner:
- Video format — .FLV, mp4.
- Supported video codecs: On2 VP6, Sorenson Spark, H.264.
- The maximum file size is 1 MB.
- The video should be displayed within the Flash banner (no additional windows can be opened).
- The video must be initiated by the user. In addition, the user must be able to stop or restart the video sequence at any point. This functionality must be added by the advertiser when creating the banner.
- The user must be informed of the file size beforehand (for example, a button within the banner reading “Show video: 250KB”).
- In the interests of security and reducing download time, all video files will be hosted on Yandex servers.
- The link to the video should be embedded in the banner using the video1 parameter. The reference to the video player code in the ActionScript may look like this:
// ... video player code myNetStream.play(_root.video1);
- Audio clips can be embedded into a Flash banner:
- The audio file should be in .MP3 format (with a sample frequency of 44.1KHz (i.e. 22.05, 11.025), with a bitrate of no more than 256 Kb/s).
- Supported audio codecs: AAC and MP3.
- The maximum file size is 100 KB.
- The audio file should be played within the Flash banner (no additional windows can be opened).
- The audio clip must be initiated by the user. In addition, the user must be able to stop or restart the audio clip at any point. This functionality must be added by the advertiser when creating the banner. The user must be informed of the file size beforehand (for example, a button within the banner reading “Play audio: 59KB”).
- In the interests of security and reducing download time, all audio files will be hosted on Yandex servers.
- The link to the audio file should be embedded in the banner using the audio1 parameter. The following is an example of code for loading and playing the audio clip (ActionScript 2):
var mySound : Sound = new Sound(); mySound.loadSound(_root.audio1, true);
To test the level of CPU usage, advertising materials use a dedicated computer (an Intel® Core™2 Duo CPU P9600@ 2,53 GHz, 2 GB RAM, and 64-800 MB video memory) running Windows 7 Professional 64 bit. This computer is configured in a standard manner to operate in an office.
A special page is loaded, which only contains this banner, for testing purposes. No other programs are running at the time.
The CPU load level is evaluated using the Task Manager.
During such tests, the banner should not take up more than 50% of the CPUs resources based on information in the Performance tab of Task Manager (Update Speed is set to High for the test).
If 50% of the CPUs resources are used for a considerable amount of time (fractions of a second) or the CPU load peaks over 70%, the banner is considered to take up too much of the computers resources.
RAM usage is not optimized, and no additional utilities or programs are loaded on start-up. After logging in (without any applications running), the amount of memory used by system processes is around 62-63 MB according to the Task Manager.