What are HTML5 Ads
HTML5 ads, also known as rich media ads, include advanced features like animations or other elements that encourage viewers to interact and engage with content. These ads are formatted using HTML5 language, which allows developers to add animations directly into the source code of a page.
What sizes are supported for HTML5 Ads
Mobile ad sizes
Please know that the possibility of showing a certain ad size on mobile depends on the publisher. Some publishers may allow certain sizes on mobile and others don't. The most common mobile ad sizes are 320x50, and 300x250.
HTML5 Ads Specifications
|Ad Copy Specs
|Supported File Types
|Maximum File Size
Use the <!DOCTYPE html>, <html>, and <body> tags
Use the <meta> tags to identify the size of the ad:
<meta name="ad.size" content= "width=300, height=250">
Declare a clickTag variable. ClickTag is a click-through URL: a shortcut to set the click-through URL in the platform.
// Change the value of this string to your URL
var clickTag = "https://www.adroll.com";
This must be passed as a parameter to any window.open event in the ad code.
<div id="clickArea" style="width: 300px; height: 250px" onclick="window.open(clickTag ,'_blank');">
How to create HTML5 ad creatives
We recommend working with a graphic designer who can satisfy the above requirements to create HTML5 ads. Once you have created your HTML5 ad we recommend using this validator tool to validate the asset.
If you have a contract with RollWorks we can assemble HTML5 ads for you, the amount you can request is limited depending on your package. Click here to learn what creative services we offer by package, including HTML5 ad assembly.
How to upload HTML5 ads to RollWorks
You cannot upload HTML5 ads to the RollWorks platform directly. Please contact RollWorks Customer Support via chat or email and we will upload the ads on your behalf.