v1

latestOpenAPI 3.1.02026-07-2616636641.7 KB

Update Channels

put/v1/channel/{ChannelID}

Path parameters

ChannelIDinteger required

The ID of the Channel

Request body

Idinteger required

Required - cannot be changed

Enginestring required

Set to 0

Titlestring required

Change title if you want

AdTypesinteger[] required

This will reset the AdTypes associated with the Channel

Response

200

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

Example response

{
  "Id": 1234,
  "Title": "New Channel Name",
  "AdTypes": [
    5
  ]
}