All creatives, URLs and tracking should always be secure (HTTPS). Banners need to be delivered for both Adtech and Adform.

ADFORM 
Please see the Example banner. All HTML ads must follow this file structure.

Maximum file size
Initial load: 250 kb
Polite load: 500 kb
See full specification here

1. File
The HTML asset should contain a manifest.json file and an HTML file zipped together with images, scripts, and other material.

Please note that manifest.json and the HTML files should be in the root directory of the .zip file, not in the deeper directories. More info about file structure here.

The manifest.json file should define the ad dimension and the HTML file which should be used as a banner source

2. Click Counter
When producing an HTML banner it is important to implement the clickTAG variable to make the banner clickable.

The HTML file should include the Adfrom DHTML library which enables the banner to receive a clickTAG variable:

<script>
document.write('<script src="'+ (window.API_URL || 'https://s1.adform.net/banners/scripts/rmb/Adform.DHTML.js?bv='+ Math.random()) +'"><\/script>');
</script>

The clickTAG value, landing visitor to it, can be assigned to the banner by using the JavaScript code - Example here

If you need more information click here

ADTECH
Maximum file size
Initial load: 250 kb
Polite load: 500 kb

1. Files
Avoid loading media files from subfolders.
Avoid loading media files under multiple documents, resolving local file paths is limited to index.
External JavaScript documents may be loaded using a JavaScript function and/or copy/pasted within the index document. We recommend using our Script Loader solution.
All local (uploaded) files must be included using our _ADPATH_ variable within the index document.

<img src=”_ADPATH_image.png”>Important: ad server variable _ADPATH_ (as well as all others) can only be used within the index document

2. Click Counter
<a href=”_ADCLICK_https://domain.com”>Important: ad server variable _ADCLICK_ (as well as all others) can only be used within the index document.

3. Client Side
Recommendations for advert designers and developers:

Avoid including any <html>, <head>, <meta>, and/or <body> elements, creative code will be embedded within an existing website structure.

Avoid applying any styles on common website elements, ID’s and/or class names to prevent conflicts with existing website structure. We highly recommend using unique ID’s and class names!

Remember, this code will be embedded within an existing website structure!