Help & Support
How Can We Help?
We Think These Might Help
Thank you for your feedback!
cannot be blank
We will respond as soon as humanly possible.

HTML5 Creative Guidelines

Below are the guidelines for HTML5 ads. If you have HTML5 ads built following the guidelines below, please reach out to your Account Manager or the Customer Delight team to help upload your ads as you currently are not able to do so directly through the dashboard.


General requirements

Zip file requirements and restrictions
  • Each individual ad must be its own zip file containing all code and assets (including public, commonly used JavaScript libraries) that make up the HTML5 ad.
  • All asset links must correctly reference the file locations via their paths.
  • All assets must be loaded from a secure connection (https).
  • Zip file must contain all files referenced from the HTML doc.
  • No cross-domain scripting: code references to external domains are not allowed.
  • No local storage or session storage libraries allowed.
HTML doc (index.html file)
  • Must be a single, well-structured, and complete HTML document at the root folder
  • HTML tag <!DOCTYPE html>, <html> and <body> tags
  • Declare the clickTag variable
    • Example: <script type='text/javascript'>var clickTag ='';</script>
    • This clickTag variable must be passed as a parameter to any event inside the ad, usually assigned to the JavaScript onclick event of a div element: <div id="clickArea" style="width: 300px; height: 250px" onclick=" ,'_blank');">
  • <meta> tags must be used to identify the size of the ad:
    • Example: <meta name=“ad.size” content= “width=300, height=250”>
  • Can load into an iframe
Supported file types
  • CSS
  • JS
  • XML
  • SVG
  • JPG
  • JPEG
  • GIF
  • PNG
Supported size  Maximum 150 KB
Folder file maximums  Contains no more than 10 files
Supported ad sizes
  • 728×90
  • 300×250
  • 160×600
  • 300x600
  • 468×60
  • 120×600
  • 336×280
  • 250×250
  • 320x50
  • 970x250
Supported shared libraries & external files


Additional Notes

Browser support
  • Chrome 40 and above
  • Firefox 35 and above
  • Internet Explorer 10 and above (including Edge)
  • Opera 20 and above
  • Safari 7.0 and above
Supported HTML5 authoring tools
Supported HTML5 conversion tools Swiffy
Was this article helpful?
1 out of 1 found this helpful