Rename a creative
Renames a Meta creative (Meta does not allow other changes, so make a new creative to change its content).
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).
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Platform creative id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
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"}Set partnership permission
Asks a creator for permission to run Partnership Ads with their content, or revokes it (private beta). Requests permission from a creator or revokes it when revoke is true. Requests require the creator to approve in Instagram. Requires instagram_branded_content_ads_brand permission.
Delete a creative
Deletes a Meta creative from the library, which Meta only allows when no ad uses it. Meta only allows deleting creatives not referenced by any ad; otherwise its 400 surfaces verbatim.