Get Ad Preview
meta_get_ad_previewGenerate a preview URL for a Meta ad or creative by supplying an ad ID or creative ID and choosing a placement format for desktop, mobile, or Instagram.
Instructions
Generates a preview URL for an ad or creative.
Args:
ad_id (string, optional): Existing ad ID
creative_id (string, optional): Creative ID to preview
ad_format (string): Preview format — DESKTOP_FEED_STANDARD, MOBILE_FEED_STANDARD, INSTAGRAM_STANDARD, INSTAGRAM_STORY, RIGHT_COLUMN_STANDARD
Provide either ad_id or creative_id.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "meta_get_ad_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | No | ||
| ad_format | No | MOBILE_FEED_STANDARD | |
| creative_id | No | ||
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |