chatgpt_ads_ads_preview
Render a preview of a ChatGPT Ads ad and return an expiring HTML iframe snippet for review; draft ads cannot be previewed.
Instructions
Gets a rendered preview of one ChatGPT Ads ad. Returns the platform object unchanged: data[].body is an HTML iframe snippet that expires after 24 hours. Changes no campaign, ad group or ad: the platform renders and saves an expiring preview snapshot. An ad still in draft cannot be previewed. Use chatgpt_ads_ads_get for the ad's settings and review status.
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": {
"ad_id": "<ad_id>"
},
"name": "chatgpt_ads_ads_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | Ad id as the API returns it (e.g. 'ad_123'). Find it with the matching list tool. |