ENG

Google Web Designer. Banner preparation according to Yandex technical requirements

In this article the algorithm will be given how to prepare a html5 banner, made on Google Web Design, for technical requirements of Yandex.

What we need:

1. The animated banner assembled in Google Web Design
2. Technical requirements of Yandex
3. The Notepad or the programme for html code correction (in my case it’s Notepad++)

After the animation is fully completed it’s important to publish the banner correctly. Screenshorts with publication settings are given below.

pictureAlt1
pictureAlt2

In the folder, where the banner was published, you can see the following:

pictureAlt3

The finished banner is in the archive. The remaining files are source materials and do not need to be sent to the site. Now you need to prepare a banner according to Yandex technical requirements. To do this, unpack the archive and make small changes to the index.html file.

Right-click on it and open the code in any convenient editor (I use Notepad).

pictureAlt4

According to Yandex technical requirements, in the banner code it is necessary to include meta tags with the banner dimensions (the height and width must correspond to the parameters of your banner; if you have 300 by 600, then you need to indicate exactly these values ​​in the code)

You can do this immediately after the opening tag

pictureAlt5

Now we tell the banner that when the user clicks, it should open the link in a new tab through a variable click_area:

<b><a id='click_area' href='#' target='_blank'> ... </a></b>

and add a script:

<b><script></br>document.getElementById('click_area').href = yandexHTML5BannerApi.getClickURLNum(1);</br></script></b>

You can do all this after the opening tag

pictureAlt6

Save the changes, close Notepad and return to the folder with the banner. We pack all files into a zip archive and check that the weight of the archive is no more than 150 kb, which meets Yandex requirements.

If you have exceeded the weight of the archive, you can use the site https:/tinypng.com/ to optimize the images used in the banner. You need to run the images through tinypng and replace the images with optimized ones in the same folder, with the same names, and then pack them into an archive.

pictureAlt7

Next, you can go to the bannersbox website and make sure that the banner is prepared correctly for Yandex technical requirements. We transfer our zip archive to the upload field and get the result:

pictureAlt8

Now the banner can be safely sent for moderation to Yandex :)

© All rights reserved

2022 — 2025

Our website uses cookies. To provide you with convenient browsing, improve website performance, and enhance efficiency and usability, we require your consent to use cookies. Learn more about cookies here.