Create Ad Type for Channel
ChannelID
int32
required
The ID of the Channel you want to add an Ad Type to
Width
int32
required
Width (pixels)
Height
int32
required
Height (pixels)
Name
string
Friendly name (like 100x100 or Native Ad)
Example Request
curl -X POST -H "X-Adzerk-ApiKey:$ADZERK_API_KEY" -H "Content-Type:application/json" "https://api.kevel.co/v1/channel/12345/adtypes" --data-binary '{"Width":100,"Height":100,"Name":"Native Sponsored Ingredient"}'
Example Response
{
"Id":123,
"Width":100,
"Height":100,
"Name":"Native Sponsored Ingredient"
}