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
November 17, 2025
- Added snippet for TAG accreditation (RTB version).
March 5, 2025
- Updated action pixels generation.
September 2, 2024
- Fixed close button position.
July 1, 2024
- Added support for DSA module and updated Feedback module for Direct and RTB versions.
February 15, 2024
- Allowed 10 seconds and 15 seconds values in the
durationparameter in ad refresh.
January 24, 2024
- Removed support for obsolete macros.
January 3, 2024
- Added feedback module to the RTB version.
November 13, 2023
- Added ad refresh section to template parameters for RTB version.
September 27, 2023
- Improved impression counting.
July 18, 2023
- Added new RTB macros.
May 9, 2022
- Added parameter
Render in Safeframe.
April 12, 2023
- Added parameter
Open in same window. - Removed
document.writefrom template.
February 3, 2022
- Improved rendering mechanism of the ad and added
adSizeChangedcallback.
August 5, 2021
- Improved the close button behavior and appearance.
January 14, 2021
- Set a proper size of the iframe.
June 25, 2020
- Added ad label.
April 20, 2020
- Removed RTB parameters from click count pixel.
January 16, 2020
- Fixed issue for a blank space after rendering the creative.