Create a Creative

POST /creative

Use this method to create a creative.

Headers

Name
Value

Authorization

Basic <token>

Body

 {
  name: string,
  is_archived?: boolean,
  line_item: {
    id: number, // Mandatory, lineItemId (looks like 1234)
    name?: string
  },
  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

Last updated

Was this helpful?