次の方法で共有


Digital Platform API - Duration サービス

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

REST API

HTTP メソッド エンドポイント 説明
GET https://api.appnexus.com/video-content-duration 定義されているすべての期間を表示するには
GET https://api.appnexus.com/video-content-duration?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-content-duration"
{
  "response": {
    "status": "OK",
    "start_element": 0,
    "num_elements": 100,
    "video-content-durations": [
      {
        "id": 1,
        "name": "long-form",
        "last_modified": "2020-09-21 13:59:43"
      },
      {
        "id": 2,
        "name": "short-form",
        "last_modified": "2020-09-21 13:59:43"
      }
    ],
    "count": 2,
    "dbg_info": {
      "warnings": [],
      "version": "1.0.194",
      "output_term": "video-content-durations"
    }
  }
  }