Ad Slot description
Mandatory parameters with ad slots
id
Ad slot id - every ad slot needs a unique name/id. It is a string of characters and can be defined by the publisher.
Example:
'my_site_ad_slot_1'
atf-format
This parameter is predefined. Publisher can select one out of five options. It is used to define the type of an ad slot:
top
vertical
content
footer
custom
Each type supports a range of sizes that can be used.
Description:
top is the first ad slot on the page.
verticals are skyscrapers in the most cases which are ad slots on the right-hand side of the page. These slots should be sticky for good viewability rates.
contents are all ad slots within the content.
footer ad slot for overlay creatives. One footer ad slot is recommended to be integrated on each site.
We create wireframe to visualize the position for the atf-format usage.
Desktop
Mobile
Note: We recommend one screen size distance between two ad slots.
atf-formatSize
This parameter describes the maximum ad size within one ad slot atf-format. It is a string of characters ‘WIDTHxHEIGHT’ (e.g. 1200x800).
By using this parameter the publisher can exclude creatives which are bigger than the defined parameter.
Note: if you want to use all sizes defined for the selected format, the biggest size needs to be defined. This is due to fact, that the size range for each format could change. E.g. a creative with a bigger format could be uploaded but you would like to keep your initial maximum range.
Example ad slot definition by using mandatory parameters only
<atf-ad-slot id=”my_site_ad_slot_2” atf-format=”content” atf-formatSize=”1000x250”>
</atf-ad-slot>
Note: In case of atf-format=”custom” there is no need to specify atf-formatSize, for details check description of custom format