v1

latestOpenAPI 3.1.02026-07-2616636641.7 KB

Update Creative

put/v1/creative/{CreativeID}

Path parameters

CreativeIDinteger required

The ID of the Creative

Request body

Idinteger required

The ID of the Creative

AdvertiserIdinteger required

The ID of the advertiser

Titlestring required

The name of the creative

IsActiveboolean required

Whether it's active or not. Defaults to null

AdTypeIDinteger required

The ad size's ID

Bodystring required

This is the body text associated with AdType 1 (in UI it's called "Text"). If you are NOT using AdType1, pass an empty string: "".

isDeletedboolean

If want to delete, set to true

Response

200

Idinteger
Titlestring
ImageNamestring
Urlstring
Bodystring
AdvertiserIdinteger
IsActiveboolean
AdTypeIdinteger
Altstring
IsDeletedboolean
{"stackTrail":"paths:/v1/creative/{CreativeID}:put:responses:200:content:application/json:schema:properties:IsSync","oasType":"schema","type":"unknown"}
IsHTMLJSboolean
Metadatastring
ImageLinkstring
IsNoTrackboolean
IsNetworkAdboolean

Example response

{
  "Id": 1234,
  "Title": "Test creative",
  "ImageName": "somelongstring.jpg",
  "Url": "https://adzerk.com",
  "Body": "Test",
  "AdvertiserId": 123,
  "IsActive": true,
  "AdTypeId": 1,
  "Alt": "test",
  "Metadata": "JSON object as string",
  "ImageLink": "https://somecdn.com/somelongstring.jpg",
  "IsNoTrack": true
}