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).
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Platform creative id
Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.
length <= 255Response 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.updateAdCreative({ path: { creativeId: 'creative_abc123', }, body: { accountId: 'account_abc123', name: 'Example', },});console.log(data);{
"creativeId": "string",
"name": "string",
"message": "string"
}{
"error": "Unauthorized"
}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.
Delete a creative DELETE
Deletes a creative from the library. Meta only allows deleting creatives not referenced by any ad — otherwise its 400 surfaces verbatim.