Zernio
Zernio
API Reference

Creatives

List a catalog's product setsGETList Meta product catalogsGETCreative libraryGETAd image libraryGETAd video libraryGETList partnership ad contentGETList partnership permissionsGETCreate a standalone creativePOSTCreative detailsGETDirect video and image URLs for an adGETRender previews of an existing adGETSet partnership permissionPOSTRename a creativePUTDelete a creativeDELETEDelete an ad videoDELETERender pre-create ad previewsPOSTUpload an ad image from base64POSTUpload an ad videoPOST
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Creatives

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.


PlatformsMeta
GET
/v1/ads/{adId}/media

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

adId*string

Zernio ad id (24-char hex) or platform ad id.

Response Body

application/json

application/json

{  "adId": "string",  "platform": "string",  "media": [    {      "type": "image",      "url": "string",      "thumbnailUrl": "string",      "videoId": "string",      "length": 0,      "index": 0    }  ]}
Was this page helpful?

Creative details

One creative's details, verbatim from Meta. `fields` is a raw-passthrough override of the default projection.

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.