Render previews of an existing ad
Renders an EXISTING ad per placement via Meta's /{ad_id}/previews. Each preview is an HTML
<iframe> snippet embeddable directly. Unknown formats values return Meta's 400 verbatim.
Authorization
bearerAuth API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Zernio ad id (24-char hex).
Query Parameters
Comma-separated Meta ad_format values (max 10), one preview per format. Defaults to DESKTOP_FEED_STANDARD.
Response Body
application/json
application/json
{ "adId": "string", "previews": [ { "format": "string", "html": "string" } ]}Direct video and image URLs for an ad
Returns the direct signed URLs for every video and image asset used by an ad's live creative, normalised across shapes: single image/video, carousel, Reels/Story (`object_story_spec.video_data`) and dynamic creative (`asset_feed_spec`). Video items include Meta's poster thumbnail and the video's Meta id when available. Reads Meta live rather than the stored creative blob because Meta's signed fbcdn URLs carry an `oe=<hex>` expiration (image_url ~24 h, video source ~12 d). Treat URLs as short-lived — re-fetch this endpoint before serving or downloading assets instead of caching URLs beyond that window.
Rename a creative
Renames a creative. Creatives are immutable on Meta beyond `name` — for content changes create a new creative (POST /v1/ads/creatives) and swap it onto the ad (PUT /v1/ads/{adId} with `creative`).