Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Use the read-only Program-Type Service to see what video content program types are registered in the Xandr system. Video content fields can be added to line item or deal line item targeting.
REST API
| HTTP Method | Endpoint | Description |
|---|---|---|
GET |
https://api.appnexus.com/video-program-type | To view all defined program types. |
GET |
https://api.appnexus.com/video-program-type?id=id_value | To view a defined program type. |
JSON fields
| Field | Type | Description |
|---|---|---|
id |
int | The Xandr referential ID associated with the program type. |
name |
string | The video taxonomy referential value. Required On: POST/PUT |
last_modified |
timestamp | The time of last modification. |
Example
Retrieve all defined program types
curl -b cookies -c cookies "https://api.appnexus.com/video-program-type"
{
"response": {
"status": "OK",
"start_element": 0,
"num_elements": 100,
"video-program-types": [
{
"id": 1,
"name": "Movie",
"last_modified": "2020-09-21 13:59:43"
},
{
"id": 2,
"name": "Series",
"last_modified": "2020-09-21 13:59:43"
},
{
"id": 3,
"name": "Special",
"last_modified": "2020-09-21 13:59:43"
},
{
"id": 4,
"name": "Show",
"last_modified": "2020-09-21 13:59:43"
},
{
"id": 5,
"name": "Event",
"last_modified": "2020-09-21 13:59:43"
},
{
"id": 6,
"name": "Clip",
"last_modified": "2020-09-21 13:59:43"
}
],
"count": 6,
"dbg_info": {
"warnings": [],
"version": "1.0.194",
"output_term": "video-program-types"
}
}
}