Generate HTML5 Banner Ads
Last updated
Last updated
POST /async/banner-builder/{design_id}/generate
Supported Design Type: Animated
Response: Asynchronous
Enables batch generation of multiple assets
Required Parameter: image_file_type=html5
Retrieval methods:
Webhooks
Polling
Supported formats:
Zip file containing assets to display and html5 ads
In addition to the supported image properties, an html5
property can be set to customise a valid HTML5 zip file. Here is the available option:
A string that will be used to redirect the user to a specific URL when clicking on the visual.
The click_tag
parameter accepts either:
page_title
: Sets the HTML document title
repeat
: Controls animation replay
-1
: Infinite replay
0
: Play once (default)
Positive numbers: Specific replay count
include_backup_image
default: false
true:
an image file named backup_image.jpeg
ll'be included in the HTML5 zip file
The specified ad network determines how the HTML5 file is generated, applying platform-specific constraints including:
HTML5 folder structure requirements
Maximum file size limitations
GSAP animation library implementation (CDN or local ZIP inclusion)
These optimizations ensure compatibility with each ad platform's technical requirements and delivery standards.
The ad_network
parameter optimizes output for specific platforms:
default
: No specific constraints
google-ads
google-marketing
: Former DoubleClick requirements
adform
amazon-ads
adroll
Videos are supported but are not designed to be published to ad networks.
Configuration Example:
Do not forget to replace {YOUR-API-KEY}
and {design_id}
Direct URL (e.g., "")
URL with ad network macro (e.g., "[UNENCODED_CLICK_REDIRECT]")