get
https://sandbox-api.viantinc.com/{basePath}/site-list/findByAdvertiserId/
Returns details about uploaded Site Lists.
Request
GET /site-list/findByAdvertiserId/<advertiser ID>
Response
| JSON Fields | Type | Description |
|---|---|---|
| messages | Object Array | An array of any error messages. |
| messages[].level | String | Error level. |
| messages[].code | String | Error code. |
| messages[].message | String | Error message. |
| entity | Object Array | An array of campaign objects. |
| entity[].id | Number | Site List ID. |
| entity[].name | String | Site List name. |
Example
Request
curl -u \<user>:\<password> https\://sandbox-api.viant.com/v1/site-list/findByAdvertiserId/202
Response
{
"messages": [],
"entity": [
{
"id": 455,
"name": "Viant Blacklist (v1)"
},
{
"id": 458,
"name": "Viant Brand Safe Whitelist (v1)"
},
{
"id": 460,
"name": "Tech/news- whitelist"
},
{
"id": 353,
"name": "Inventory for Medialets (v1)"
},
{
"id": 354,
"name": "Acme Global Blacklist (v1)"
}
]
}