ads_ad_preview
Render an ad as it appears in a placement. Returns { id, platform_id, previews: [{ format, body }] } where body is the network's iframe HTML. Meta only; Google Ads answers 501.
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": "ads_ad_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | Ad id: the Postproxy id (id field of an ad), not the network's platform_id | |
| formats | No | Placements to render. Default DESKTOP_FEED_STANDARD. | |
| profile_group_id | No | Profile group hashid, to scope the call to one profile group. Usually not needed. |