Zernio
APIFor you
Zernio
APIFor you
API Reference

Creatives

Creative libraryGETAd image libraryGETAd video libraryGETList TikTok ad identitiesGETList partnership ad contentGETList partnership permissionsGETCreate a standalone creativePOSTCreative detailsGETDirect video and image URLs for an adGETRender previews of an existing adGETGet ad video processing statusGETSet partnership permissionPOSTRename a creativePUTDelete a creativeDELETEDelete an ad videoDELETERender pre-create ad previewsPOSTUpload an ad image from base64POSTUpload an ad videoPOST
Dashboard
OverviewPlatformsAPI ReferenceResources
Creatives

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).


PlatformsMeta
PUT
/v1/ads/creatives/{creativeId}

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

creativeId*string

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"}
Was this page helpful?

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.

accountId*string

Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.

name*string
Lengthlength <= 255