Arrow cursor character holding an HTML5 code file and a link icon beside a yellow banner ad screen

Adform does HTML5 differently. Most ad servers just want a ZIP with an HTML file and a clickTag. Adform also wants a manifest.json file that describes the banner, and it reads click tags through its own script.

Miss either and the upload fails, usually with a vague error. This guide explains what Adform expects, shows the manifest and click tag set-up, and lists the mistakes we fix most often. We build banners for Adform for agencies and brands across Europe.

Key Takeaways

  • Every Adform HTML5 banner is a ZIP with a manifest.json and the main HTML file at the root.
  • The manifest sets the width, height, events, click tags and source file.
  • Adform reads the click URL with dhtml.getVar(‘clickTag’), not a plain JavaScript variable.
  • Extra exits use clickTag2, clickTag3 and so on, and each must be listed in the manifest.
  • Adform measures weight after unzipping, so lean assets matter.

What Adform Is

Adform is a European ad tech platform with its own ad server, DSP and creative tools. Agencies use it to traffic and measure campaigns across many publishers, so one banner set has to work everywhere the plan runs.

Because Adform hosts and serves the creative itself, it needs to know how the banner is built. That is the job of the manifest.json file.

Custom interactive display ad with product hotspot reveal on mobile device
Custom interactive display ad with product hotspot reveal on mobile device

The manifest.json File

The manifest is a small text file that sits next to your HTML at the root of the ZIP. Adform’s help centre lists the fields it reads.

  • version: the manifest version, usually “1.0”.
  • title: a name for the banner, such as the size.
  • width and height: the banner size in pixels.
  • events: set enabled to 1 or 0, and list any custom events you track.
  • clicktags: every click tag the banner uses, such as “clickTag”: “”.
  • source: the main HTML file, for example index.html.

If the manifest is missing, misnamed or inside a folder, Adform can’t read the banner. That is the most common upload error we see.

How Click Tags Work in Adform

In most ad servers you declare a clickTag variable in the HTML. Adform instead passes the URL in at serve time, and the banner reads it with Adform’s dhtml.getVar function, for example dhtml.getVar(‘clickTag’, ”). You can read the link target the same way with dhtml.getVar(‘landingPageTarget’, ‘_blank’).

Need more than one exit? Use clickTag2, clickTag3 and so on. Each one must also appear in the clicktags section of the manifest, or the trafficker won’t be able to set it. Our clickTag guide compares this with CM360 and The Trade Desk.

ItemWhat Adform expectsCommon mistake
PackageZIP with manifest.json and HTML at the rootFiles nested in a folder
manifest.jsonWidth, height, events, click tags, sourceMissing or copied from another size
Click-throughdhtml.getVar('clickTag')Plain clickTag variable from CM360
Extra exitsclickTag2, clickTag3 and so onNot listed in the manifest
LibrariesGreenSock, jQuery and similar, local or externalFull libraries adding weight
WeightMeasured after unzippingOnly checking the ZIP size

File Weight and Libraries

Adform measures the total weight of the banner once it is unzipped, so a small ZIP can still be too heavy. Publishers on your plan will usually set the real limit.

Libraries such as GreenSock and jQuery are fine, packed in the ZIP or loaded from an external path. We still keep code light, compress images and subset fonts, because a lighter banner loads faster and wins more impressions.

Interactive mobile display advertisement with user interaction shown on a smartphone
Interactive mobile display advertisement with user interaction shown on a smartphone

Why Adform Rejects an HTML5 ZIP

These are the problems we fix most often when a client’s ZIP won’t upload.

  • No manifest.json, or it is inside a subfolder.
  • The source field doesn’t match the HTML file name.
  • The width and height in the manifest don’t match the banner.
  • A click tag is used in the code but not listed in the manifest.
  • The click is hard-coded instead of read with dhtml.getVar.
  • The ZIP was built for CM360 and never adapted for Adform.

Adform Build Files, Line by Line

An Adform HTML5 banner needs two things the other ad servers don’t: Adform’s DHTML library, which supplies the click URL, and a manifest.json that registers the click tags. The core of index.html:

<script>
  document.write('<script src="' + (window.API_URL ||
    'https://s1.adform.net/banners/scripts/rmb/Adform.DHTML.js?bv=' + Math.random()) +
    '"><\/script>');
</script>
<script>
  var clickTAGvalue = dhtml.getVar('clickTAG', 'https://www.example.com');
  var landingpagetarget = dhtml.getVar('landingPageTarget', '_blank');
  document.getElementById('clickArea').onclick = function () {
    window.open(clickTAGvalue, landingpagetarget);
  };
</script>

And the matching manifest.json at the root of the ZIP:

{
  "version": "1.0",
  "title": "Brand 300x250",
  "description": "",
  "width": "300",
  "height": "250",
  "events": { "enabled": 1, "list": {} },
  "clicktags": { "clickTAG": "https://www.example.com" },
  "source": "index.html"
}
  • Note the capitals: Adform uses clickTAG, not clickTag. A mismatch means clicks aren’t tracked.
  • Width and height in the manifest must match the creative and the placement.
  • For several exits, add clickTAG2, clickTAG3 and so on to the manifest and read each with dhtml.getVar.
  • Keep index.html, manifest.json and all assets at the ZIP root with relative paths.

Sources: Adform Help Center, Adding clickTAGs to banners and Manually creating manifest.json.

Our Adform Build Checklist

Every Adform size we deliver goes through the same steps.

  • Build the banner once, then package it per ad server so one creative works on Adform and anywhere else on the plan.
  • Write the manifest for each size and check every field.
  • Wire clicks through dhtml.getVar and test each exit.
  • Check the unzipped weight against the strictest publisher.
  • Supply static backups and a QA sheet with every delivery.

Running dynamic creative on Adform too? Read our guide to dynamic banner ads and DCO.

Last updated 14 November 2026.

Sources: Adform Help: HTML5 banner files, Adform Help: click tag variables.

FAQ

It is a small file at the root of the ZIP that tells Adform the banner’s width and height, the events it tracks, the click tags it uses and which HTML file to load.

Adform passes the click URL in at serve time. The banner reads it with dhtml.getVar(‘clickTag’, ”) and opens it on click. Extra exits use clickTag2, clickTag3 and so on.

Usually because manifest.json is missing or in a subfolder, the source doesn’t match the HTML file, or a click tag in the code isn’t listed in the manifest.

Not as it is. The creative can be the same, but it needs an Adform manifest and Adform click handling. We package one build for each ad server on the plan.

Yes. Adform allows libraries such as GreenSock and jQuery, either packed in the ZIP or loaded externally.

Yes. We build and package HTML5 banners for Adform, test every click and size, and deliver upload-ready ZIPs. Every job is scoped and priced upfront.

Need help with
creative production?

If you’re planning a campaign or need reliable digital creative production at scale, we can help. Send us your requirements and we’ll advise on formats, builds and delivery.

Need Adform-ready banners? Send us your sizes and we’ll scope and price it upfront.

Banner Squad mascot Harry Clickton pointing to the right

    Your Name*
    Your Email*

    Telephone*
    Company*

    Your Message*