Create Channels

Why Create a Channel?

When working within your network, you may find it necessary to create a new channel to the network. The Kevel Inventory Management API enables you to add a new channel to the network using the Create Channels API endpoint.

By default, an All Sites channel is created with the network, which cannot be deleted. The result includes the unique Channel ID that can be used to update or remove the channel.

API Syntax

When using the Create Channels API endpoint 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:

POST https://api.kevel.co/v1/channel

Where:

  • POST - the type of API request being made.
  • https://api.kevel.co - the URL for the request.
  • v1 - the API version.
  • channel - the API endpoint being called.
📘

Note

Make sure to set Engine to 0 in all requests.

Body Params
string
required

The channel's name

AdTypes
array of int32s
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.

AdTypes*
string
required
Defaults to 0

Set to 0 for all requests

float

Set to 0 for all requests

string

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

boolean
Defaults to false

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

Response

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json