Export HTML5 ad
export_html_adQueue an HTML5 ad of a succeeded H.264 MP4/HLS render for an ad network. Returns the ad with its id and status; asking again for the same ad while it is queued, being made, or ready with more than an hour left returns that one. Unless its status is already ready, call get_html_ad with waitSeconds until status is ready. The whole ad must be under 5 MB; for theTradeDesk the video must be below 1.1 MB, or at most 2.2 MB with tapToContinue. too_large gives the ad's size and the highest quality, or for a custom bitrate the bitrateKbps, that would fit. Ads are kept for 24 hours. At most 10 per workspace wait or are made at once (html_ad_limit).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"renderId": "<renderId>"
},
"name": "export_html_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clickUrl | No | Where a tap or click goes: an HTTPS URL without credentials. Required for adform, appLovin and unityAds. | |
| platform | No | The ad network to package for. | generic |
| renderId | Yes | Render id, from render or list_renders. | |
| interaction | No | video plays the ad; tapToContinue asks for a tap first. Default: video, or tapToContinue on the playable networks, which require it (appLovin, unityAds, googleAppCampaigns, meta, tikTok, pangle, mintegral, moloco, liftoff). |