v1

latestOpenAPI 3.1.02026-07-2616636641.7 KB

Create Channels

post/v1/channel

Request body

Titlestring required

The channel's name

AdTypesinteger[] required

The Ad Types you want to use. Note - if the Ad Types aren't already created (you can check in UI by going to Inventory --> Ad Sizes), you'll need to first do that with the UI or API.

Enginestring required

Set to 0 for all requests

CPMnumber float

Set to 0 for all requests

CustomTargetingstring

Zerkel string for Custom targeting. Instructions here. The maximum string length for CustomTargeting is 1000 characters.

IsDeletedboolean

Don't use when creating a Channel. Defaults to false

Response

200

Titlestring
IsDeletedboolean
{"stackTrail":"paths:/v1/channel:post:responses:200:content:application/json:schema:properties:CustomTargeting","oasType":"schema","type":"unknown"}
AdTypesinteger[]
{"stackTrail":"paths:/v1/channel:post:responses:200:content:application/json:schema:properties:Keywords","oasType":"schema","type":"unknown"}
Commissioninteger
Enginestring
CPMinteger
Idinteger

Example response

{
  "Title": "Finance Sites",
  "AdTypes": [
    5
  ],
  "Engine": "CPM",
  "Id": 1234
}