Bidders - プログラムの種類サービス
読み取り専用 Program-Type サービスを使用して、Xandr システムに登録されているビデオ コンテンツ プログラムの種類を確認します。 ビデオ コンテンツ フィールドは、広告申込情報または取引広告申込情報のターゲットに追加できます。
REST API
HTTP メソッド | エンドポイント | 説明 |
---|---|---|
GET | https://api.adnxs.com/video-program-type |
定義されているすべてのプログラムの種類を表示するには |
GET | https://api.adnxs.com/video-program-type?id=<id value> |
定義済みのプログラムの種類を表示するには |
JSON フィールド
フィールド | 種類 | 説明 |
---|---|---|
id |
int | プログラムの種類に関連付けられている Xandr 参照 ID |
last_modified |
timestamp | 最終変更時刻 |
name |
string | POST/PUT で必須 ビデオ分類参照値 |
例
定義されているすべてのプログラムの種類を取得するには
curl -b cookies -c cookies "https://api.adnxs.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"
}
}
}