Get Ad Preview
meta_get_ad_previewGenerate a preview URL for an ad or creative on Facebook or Instagram by providing an ad ID or creative ID and choosing a format.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | No | ||
| creative_id | No | ||
| ad_format | No | MOBILE_FEED_STANDARD | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |