Get Creative
Why Retrieve a Creative?
You may find it helpful to return the properties for a specific creative if you may want to update the creative, or use the creative for another advertiser. The Get Creative API enables you to make an API request and have all properties for that creative returned to you.
API Syntax
When using the Get Creative 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/{CreativeID}
Where:
GET- the type of API request being made.https://api.kevel.co- the URL for the request.v1- the API version.creative- the API endpoint being calledCreativeID- the ID associated with the creative.
CreativeID
int32
required
The ID of the Creative
``200 200
json
ShellJavaScriptRuby
xxxxxxxxxx
curl -X GET -H "X-Adzerk-ApiKey:<APIKEY>" "https://api.kevel.co/v1/creative/123456"
xxxxxxxxxx
{
"Id":1234,
"Title":"Adzerk Blue Creative",
"ImageName":"somelongstring.jpg",
"Url":"https://adzerk.com",
"Body":"",
"AdvertiserId":123,
"IsActive":true,
"AdTypeId":5,
"Alt":"Adzerk - Native Ads",
"IsDeleted":false,
"IsSync":null,
"IsHTMLJS":true,
"ScriptBody": "The Great API Content",
"Metadata":JSON object as string,
"ImageLink":"https://somecdn.com/somelongstring.jpg",
"IsNoTrack":true,
"IsNetworkAd":false,
"TemplateValues": null,
"TemplateId": null,
"SaveEmptyCreative": null
}