Get Ad Preview
adsap_get_ad_previewRender a pixel-accurate visual preview of an existing Meta ad (real Meta render; video ads also get an animated clip in the interactive card). The card is SELF-CONTAINED: Facebook Feed + Instagram Reels tabs and an 'All placements on Meta' button are built in. AFTER THE CARD RENDERS, reply with ONE short confirmation sentence and stop. NEVER mention, list, or offer any other placement (no 'Desktop Feed', 'Stories', 'right column', etc.) and never describe the card's tabs or buttons — the user can see them. Only if the user themselves asks about another placement: answer that the card's 'All placements on Meta' button opens every placement in Ads Manager, and only pass a non-default ad_format when the user explicitly names one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | The ID of the existing ad to render a preview for. | |
| ad_format | No | Placement to render. Use MOBILE_FEED_STANDARD (default) or INSTAGRAM_REELS — the two the interactive card presents. Other values exist only for when the user explicitly names that placement; otherwise direct them to the card's 'All placements on Meta' button. | MOBILE_FEED_STANDARD |
| ad_account_id | Yes | Ad account ID (act_xxx). Required — scopes the request to the workspace that owns this ad account. | |
| include_video_source | No | Also resolve the ad's raw video file URL (2 extra Meta reads, page-token lane). Default false — the bare file is NOT the preview experience (no ad chrome, placement-customized assets differ); kept for data/debug use. The upcoming animated placement preview replaces it (scope doc §8b). |