Update Creative

PUT /creative/:creativeId

Use this method to update your creative.

Path Parameters

Name
Type
Description

creativeId

Number

ID of the creative

Headers

Name
Value

Authorization

Basic <token>

Body

 {
  name?: string,
  is_archived?: boolean,
  mediatype?: string, //Options ('banner', 'video', 'native', 'audio')
  w?: number, //The width of the creative
  h?: number, //The height of the creative
  content?: string,
  adomain?: string, //Must be in this format 'domain.com'
  weight?: number, //Default value : 1
  comment?: string
}

Response

{
  "id": number,
  "name": string,
  "is_archived": boolean,
  "account": {
    "id": number,
    "name": string
  },
  "order": {
    "id": number,
    "name": string
  },
  "line_item": {
    "id": number,
    "name": string
  },
  "mediatype": string, //Options ('banner', 'video', 'native', 'audio')
  "w": number,
  "h": number,
  "content": string,
  "adomain": string,
  "weight": number,
  "comment": string
}

Last updated

Was this helpful?