The ad format of a standard banner with a fixed size and page position.
Desktop | Tablet | Phone | |||
---|---|---|---|---|---|
Windows | Mac | iOS | Android | iOS | Android |
Chrome, Firefox, Edge, IE11+ | Safari6+, Chrome, Firefox | – | – | – | – |
A creative created with Adobe Edge technology can be non-clickable in a Safari Mobile browser.
Standard dimensions, WxH, px: 300х250, 240х350, 240х400, 180х150, 320х280, 728х90, 970х90, 970х200, 650х250, 240×500, 300х600, 160х600
User-initiated (off by default)
The banner with all banner assets should be archived as a .zip file. Use a .zip file with the template.
The HTML file must define all used sources (libraries, images, etc). A recommended file name is body.html.
globalHTML5Api connects automatically, requested the following way:
globalHTML5Api objects and methods should be defined inside a called function. All used modules should be listed as function parameters. In this format the Player module may be used.
A simplified example of the globalHTML5Api.init usage for the Standard format:
Key | Parameters | Properties | Type | Description | ||
---|---|---|---|---|---|---|
resize(options) | – | – | – | globalHTML5Api.resize initialization | ||
options | – | Array | Array of objects with properties. Each object presents the container state (resizeState) | |||
name (required) | String | Object (state) name | ||||
width (required) | String|Number | Banner container width | ||||
height (required) | String|Number | Banner container height |
Method | Arguments | Type | Description |
---|---|---|---|
click(URL) | – | – | Method to call the clickthrough. Target URL may be set as a parameter or from the user interface. The URL set in the code has a higher priority than the URL set from the UI, which can lead to a conflict. Therefore, it is mandatory to use only one of the available methods. |
URL (optional) | String | Target URL | |
src(URL) | – | – | Method returns the absolute path to file |
URL (optional) | String | Relative path to file |
In case the creative contains video, see the Video player module page.
Supported file types: .jpg, .png, .gif, .svg