ChatGPT Ads ad preview
chatgpt_ads_ad_previewHow one ad will render in ChatGPT: OpenAI's preview markup for the ad (title, body, image, link). Creating a preview changes nothing on the account. Long markup is truncated.
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": {
"adId": "<adId>"
},
"name": "chatgpt_ads_ad_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adId | Yes | The ad id, from chatgpt_ads_get_ads. | |
| accountId | No | The ChatGPT Ads ad account id, as listed by chatgpt_ads_list_ad_accounts. A connection reaches one ad account, so this is normally left out. |