Creative details
One creative's details, verbatim from Meta. fields is a raw-passthrough override of
the default projection.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Platform creative id
Query Parameters
Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.
Comma-separated Graph field override (supports nested {} projections).
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adcreatives.getAdCreative({ path: { creativeId: 'creative_abc123', }, query: { accountId: 'account_abc123', },});console.log(data);{
"creative": {}
}{
"error": "Unauthorized"
}Create a standalone creative POST
Creates a creative in the library WITHOUT an ad, reusable on the create endpoints via `existingCreativeId`. Provide exactly one of `imageUrl` (uploaded server-side), `imageHash` (from POST /v1/ads/images or the library list), or `carouselCards` (2-10 hand-built cards). The Page (and linked Instagram account, when present) is resolved from `accountId` as the story actor.
Render previews of an existing ad GET
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.