...
Parameter | Description |
---|---|
_id > $oid | Chennel Channel ID |
_id > adSources | Object containing adsources and priority |
Code Block |
---|
{"_id":{"$oid":"61a7440f7281db0b4b0bae7c"}"6211f80558f94129955ab635"},"adSources":[{"id":"60eddbed496b092021128718","priority":"1"},{"id":"60eddbeb496b092021128716","priority":"1"}]} |
3.
...
5. Get Ad Sources Associated With The Channel
Request URL:
Request URL: https://manage.aniview.com/api/adserver/channel/${Channel_ID}
Request Method:
Get
Status Code:
200 OK
3.6. Remove All Adsources in the Channel
Request URL:
Request URL: https://manage.aniview.com/api/adserver/channel/${Channel_ID}
Request Method:
PUT
Status Code:
200 OK
Request Example payload:
Parameter | Description |
---|---|
_id > $oid | Channel ID |
_id > adSources | Should be an empty array |
Code Block |
---|
{"_id":{"$oid":"6211f80558f94129955ab635"},"adSources":[]} |