Get HTML5 ad
get_html_adGet an HTML5 ad: status queued, building, ready (url downloads one index.html or an ad.zip, as fileName says; the link lasts up to an hour, call again for a fresh one) or failed (error says why).
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>",
"htmlAdId": "<htmlAdId>"
},
"name": "get_html_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| htmlAdId | Yes | HTML5 ad id, from export_html_ad. | |
| renderId | Yes | The render the ad was made from. | |
| waitSeconds | No | Seconds to hold the answer until the ad is ready or failed. |