Advanced banner
Overview
The "Advanced banner" creative template displays a classic banner in the page content. The ad can be closed. The ad container size is adjusted depending on the creative size.
Most common sizes
Most common RTB sizes of this ad format: 320x480, 300x250, 160x600, 728x90, 960x90, 970x250, 1010x300, 970x90, 980x250.
Demo
Compliance
Criterion | Compliancy |
---|---|
Creative rotation | ✅ |
Friendly iFrame | ✅ |
Multi-instance | ✅ |
Responsive web design | ✅ |
RTB | ✅ |
Viewability counting (MRC standard) | ✅ |
Creatives
This section applies for the direct creative template only. Supported file formats:
- image
- creative script
- HTML5
Note 1: In case of HTML5 creatives, make sure you set up the size.
Note 2: In case of creative scripts with asynchronous tagging, make sure you set up the size.
Creative template parameters
Name | Description | Default value |
---|---|---|
Accepted Height | List of expected heights, separated by a comma. | |
Accepted Widths | List of expected widths, separated by a comma. | |
Close button | Specifies if default close button will appear. Such button will be scalable to 3% of the screen width but not smaller than 30px. | Enabled |
Creative feedback | Shows creative feedback button. | true |
Disable FIF | When the template is on a friendly iframe, force the template to stay inside it | |
Label background color | Specifies the background color of the label. | #ffffff |
Label font color | Specifies the label text color. | #888888 |
Label font size | Specifies the label font size. | 9px |
Label text | Specifies the label text that is above the ad. | |
Max width (px/%) | Specifies the max. width of the ad's container; make sure you specify the unit (e.g. 750px, 100%). Percentage values refer to the max. width of the parent container. There is no height param (the creative template calculates it by itself). Note: Use '!' to get a fixed width of the ad container (e.g. 400px! which means that the ad container will have a width of 400px and a proportional height) | |
Open in same window | Choose if the ad should open in the same window or not. The option works only with image creatives. | false |
Render in Safeframe | Specifies if the ad creative will be rendered inside the safeframe. This feature may be used only for creative scripts and in RTB delivery. | false |
RTB options (only for the RTB template) | ||
Acceptable sizes | Acceptable sizes as a comma-separated list of a pair w*h (no spaces). Example: "250*300,320*250" | |
Activate ad refresh | Toggle to activate automatic ad refresh functionality (5 refreshes max) | false |
Duration (seconds) | Specifies for what duration must the ad be visible (provided the tab is active for the entire duration specified) to be considered for ad refresh. | 30 |
Viewability threshold (px %) | Specifies what minimum percentage of creative must be visible to be considered for ad refresh. | 50 |
Features
The Advanced banner is a high-visibility ad unit with many rich media interactivity features.
The Advanced banner ad format displays a classic banner (file or redirect) in the page content. It supports multiple creatives and displays them in a rotating mode. The ad container size is adjusted depending on the creative size.
The Advanced banner ad format works with classic redirect also. In the fields "Accepted widths" and "Accepted heights", you can list widths or heights of ads you want to display. You can specify exact values or values up to 5px bigger or smaller than the specified one. For example, if you enter a value of 100px in the “Accepted widths” field, all ads with a width in the range from 95px to 105px will be displayed.
If there is no ad in the range of “Accepted widths” or “Accepted heights”, the ad will appear in the size specified in the “Creative width” and “Creative height” fields - even if it does not fit.
Event listening
The Advanced banner supports the adClosed, adSizeChanged
events. You can listen to these events to control the functioning of your site. adClosed
triggers when the close button is pressed.
The event contains the parameter formatId
to get which formatId (on the page) fired the event:
window.addEventListener('adClosed', function (e) {
console.log(e.formatId);
});
adSizeChanged
triggers when the size of creatives changed (mostly in creative scripts).
The event contains the parameters formatId, creativeSize(width, height)
to get which formatId (on the page) fired the event and what the current size of creative on this formatId
:
window.addEventListener('<span style="font-family: courier new, courier, monospace;">adSizeChanged</span>', function (e) {
console.log(e.formatId);
console.log(e.creativeSize.width);
console.log(e.creativeSize.height);
});
Click management for HTML5 creatives
The Advanced banner ad format is able to identify the click destination for HTML5 creatives by using:
- the click counting library. For more information, see Manage click counting.
- the clicktag variables passed in the source of the iframe; Important: HTML5 creatives must have the click destination recognition implemented:
Known issues
The viewability module for the asynchronous one call format fires the viewundetermined
pixel in case of the creative formats "image" and "HTML5" and does nothing in case of creative scripts.
Release notes
- 05-03-2025 - Update for action pixels generation
- 02-09-2024 - Fix close button position
- 01-07-2024 - Add support for DSA module. Update Feedback module for Direct and RTB versions
- 15-02-2024 - Allow 10s, 15s values in the "duration" parameter in ad refresh
- 24-01-2024 - Removed support for obsolete macros
- 03-01-2024 - Added feedback module to the RTB version
- 13-11-2023 - Added ad refresh section to template parameters for RTB version
- 27-09-2023 - Improved impression counting
- 18-07-2023 - Added new RTB macros
- 09-05-2022 - Added parameter Render in Safeframe
-
12-04-2023
- Added parameter Open in same window
- Removed document.write from template
- 03-02-2022 - Improve rendering mechanism of the ad; added 'adSizeChanged' callback
- 05-08-2021 - Improved the close button behaviour and appearance
- 14-01-2021 - Set a proper size of the iframe
- 25-06-2020 - Added ad label
- 20-04-2020 - Removed RTB parameters from click count pixel
- 16-01-2020 - Fix issue for a blank space after rendering the creative
- 04-11-2019 - Improvement in rendering creative script
- 03-10-2019 - Improvement in rendering creative script
- 07-08-2019 - Added a possibility to override default show icon
- 06-08-2019 - Improvement in rendering creative scripts
- 11-07-2019 - Added a possibility to override default close icon
- 05-07-2019 - Added a new parameter, DisableFIF, to force the template to stay inside a friendly iframe if any
- 27-05-2019 - Improvement in rendering creative scripts
- 28-03-2019 - Fix for the rendering iframe in IE11/EDGE