AdRoll HTML5 banner specs

Retargeting and prospecting network aimed at ecommerce and SMB advertisers. Accepts HTML5 packages on web inventory only, and requires every asset and library to be bundled inside the ZIP - no CDN or cross-domain references of any kind.

Sourced from AdRoll documentation · 20 September 2026Foldwrap exports to AdRoll

Also known as NextRoll, RollWorks.

AdRoll banner requirements

CategoryNetwork
RegionsUS, CA, EU
Maximum ZIP size150 KB zipped
Entry fileindex.html
ZIP structureEntry file must sit at the ZIP root
Account eligibilityDirect upload of HTML5 ads may be restricted depending on account type; some accounts must go through AdRoll support to upload a banner at all.
Ad size meta tagRequired — width={w}, height={h}
Required markupAdRoll requires the DOCTYPE, html and body tags to be present.
External assetsEverything must be in the ZIP
External fontsMust be bundled in the ZIP
CDN librariesMust be bundled in the ZIP
Click methodclickTag variable
Click variableclickTag
Click URL at exportMust be set in the file — this platform does not rewrite it
Multiple click destinationsOne click area per banner
Maximum animation length30s
Animation must stopYes, once the limit is reached

Official requirements

AdRoll clickTag code

This is the click declaration Foldwrap writes into an HTML5 export for AdRoll, with a placeholder destination. Copy it into your own creative if you are hand-building the banner.

AdRoll clickTag
var clickTag = "https://www.example.com/landing";

AdRoll does not rewrite the click destination when the ad is trafficked, so a banner exported with an empty value ships a click area that goes nowhere.

Why AdRoll rejects a banner

These are the rules Foldwrap checks a package against before it is delivered to AdRoll. Each is derived from the requirements above, so a constraint AdRoll does not state is not checked and is not listed.

  • errorad.size meta tag missingAdd <meta name="ad.size" content="width=300,height=250"> to the head.
  • errorAnimation runs longer than allowedShorten the timeline or reduce the loop count.
  • errorClick destination is requiredSet the click URL in the export panel before exporting.
  • errorClick is not wired for this platformDeclare clickTag in the creative and open it on click.
  • errorEntry HTML is not at the ZIP rootRe-zip the contents, not the containing folder.
  • errorExceeds size limitCompress images, subset fonts to the glyphs actually used, and drop unused assets.
  • errorExternal reference not permittedInline or bundle the asset instead of loading it from an external host.
  • errorFont loaded from an external domainExport with fonts embedded in the package.
  • errorNo entry HTMLAdd index.html at the ZIP root.
  • errorReferenced asset is not in the packageRe-export the creative so every referenced asset is bundled.
  • errorRequired markup missing
  • errorUnsupported code found
  • warningad.size does not match the creativeRe-export so the declared size matches the canvas.
  • warningElement destinations flatten hereKeep a target that supports element destinations in the set, or set a default click URL that suits every element.

Foldwrap runs these checks on every package it exports for AdRoll, and names the creative and the constraint when one fails.

Sources

Every figure above, with the document it came from and the date we read it.

  • File Size: Up to 150KB

    help.adroll.com · retrieved 18 September 2026

  • Supported File Types: zip. Each HTML5 ad must be its own zip file that contains all code and assets (including public, commonly used JavaScript libraries).

    help.adroll.com · retrieved 18 September 2026

  • Code references to external domains are not permitted (no cross-domain scripting). CDN calls are not allowed within the creative's HTML file due to security reasons.

    help.adroll.com · retrieved 18 September 2026

  • The animation limit for an HTML5 ad is 30 seconds. It may loop, but only within the 30-second limit. Animation must stop after 30 seconds unless it is user-initiated. Endless looping is not allowed.

    help.adroll.com · retrieved 18 September 2026

  • Declare a clickTag variable. ClickTag is a click-through URL: a shortcut to set the click-through URL in the platform. This must be passed as a parameter to any window.open event in the ad code.

    help.adroll.com · retrieved 18 September 2026

Frequently asked

What is the maximum file size for a AdRoll HTML5 banner?
AdRoll accepts an HTML5 package up to 150 KB zipped. Note what the cap measures: a bundle can compress under the limit and still be refused if the figure is taken unzipped.
How do I set the clickTag for AdRoll?
Declare clickTag in the creative with your real destination before you export. AdRoll does not replace it at trafficking time, so an empty value ships a dead click area.
Can a AdRoll banner have more than one clickable link?
No. AdRoll takes a single click destination for the whole banner, so every click goes to the same page regardless of which element was clicked.
Can a AdRoll banner load fonts or scripts from a CDN?
No. AdRoll requires every asset, font and library to be inside the ZIP — a reference to any external domain will be refused.

Other platforms

Compare every platform side by side, or produce a AdRoll-ready bundle from an approved Figma design with Foldwrap.