List Creatives For Network

Why List Creatives for a Network?

You may find a time when you would like to review all creatives associated with a particular network. This may be because you want to remove some creatives from the network, add new creatives to a network, or just see what creatives are already attached to a network. The Kevel API enables you to accomplish this by using the List Creatives For Network API call.

API Syntax

When using the List Creatives for Network API, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

GET https://api.kevel.co/v1/creative

Where:

Response Structure

200

object

page

integer

Defaults to 0

items

array of objects

items

object

Id

integer

Defaults to 0

Title

string

ImageName

string

Url

string

Body

string

AdvertiserId

integer

Defaults to 0

IsActive

boolean

Defaults to true

AdTypeId

integer

Defaults to 0

Alt

string

IsDeleted

boolean

Defaults to true

IsSync

boolean

Defaults to true

IsHTMLJS

boolean

Defaults to true

ScriptBody

string

ImageLink

string

Metadata

string

IsNoTrack

boolean

Defaults to true

IsNetworkAd

boolean

Defaults to true

Example Request

curl -X GET -H "X-Adzerk-ApiKey:$ADZERK_API_KEY" "https://api.kevel.co/v1/creative"

Example Response

{
  "page": 1,
  "items": [
    {
      "Id": 123456,
      "Title": "Adzerk Blue Creative",
      "ImageName": "somelongstring.jpg",
      "Url": "https://adzerk.com",
      "Body": "",
      "AdvertiserId": 123456,
      "IsActive": true,
      "AdTypeId": 5,
      "Alt": "Adzerk - Native Ads",
      "IsDeleted": false,
      "IsSync": false,
      "IsHTMLJS": true,
      "ScriptBody": "The Great API Content",
      "ImageLink": "https://somecdn.com/somelongstring.jpg",
      "Metadata": "JSON object as string",
      "IsNoTrack": true,
      "IsNetworkAd": false
    }
  ]
}

Updated 10 months ago