次の方法で共有


Digital Platform API - プログラムの種類サービス

読み取り専用 Program-Type サービスを使用して、Xandr システムに登録されているビデオ コンテンツ プログラムの種類を確認します。 ビデオ コンテンツ フィールドは、広告申込情報または取引広告申込情報のターゲットに追加できます。

REST API

HTTP メソッド エンドポイント 説明
GET https://api.appnexus.com/video-program-type 定義されているすべてのプログラムの種類を表示するには。
GET https://api.appnexus.com/video-program-type?id=id_value 定義済みのプログラムの種類を表示するには。

JSON フィールド

フィールド 種類 説明
id int プログラムの種類に関連付けられている Xandr 参照 ID。
name string ビデオ分類参照値。
必須:POST/PUT
last_modified timestamp 最後に変更された時刻。

定義されているすべてのプログラムの種類を取得する

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"
    }
  }
  }