Get Demands
GET /api/demand
Response
Attribute Name | Summary | Possible Values |
|---|---|---|
| vastId | Demand Id | int |
| name | Demand Name | string |
| cpm | Demand CPM | float |
| url | Demand URL | string |
| is_mobile_web | Is mobile web tag | 0/1 |
| is_mobile_app | Is mobile app tag | 0/1 |
| is_desktop | Is desktop tag | 0/1 |
| is_ctv | Is CTV tag | 0/1 |
| active | Is Demand active | 0/1 |
| user_mvr | VAST Requests Limit | from 1 to 5 (highest) |
| vast_type | Demand Type | 0 - Vast 1 - CedatoX |
| parentNetworkId | Demand partner network Id (for CedatoX Demands only) | int |
| domain_list_type | List restriction type | 1 - white list 2- black list |
Sample Request
curl -X GET \-H 'accept: application/json' \-H 'api-version: 1' \-H 'authorization: Bearer ' |
Sample Response
{ "status": "OK", "data": [ { "vastId": "1", "name": "myVast1", "CPM": null, "url": "http://mydsp.com/getvast1", "is_mobile_web": "0", "is_mobile_app": "0", "is_desktop": "1", "active": "0", "user_mvr": 5, "vast_type": "0", "parentNetworkId": null, "domain_list_type": "0" }, { "vastId": "2", "name": "myVast2", "CPM": "8", "url": "http://mydsp.com/getvast2", "is_mobile_web": "1", "is_mobile_app": "0", "is_desktop": "o", "active": "1", "user_mvr": 5, "vast_type": "0", "parentNetworkId": null, "domain_list_type": "1" } ]} |