次の方法で共有


Digital Platform API - Rating サービス

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

REST API

HTTP メソッド エンドポイント 説明
GET https://api.appnexus.com/video-content-rating 定義されているすべての評価を表示するには。
GET https://api.appnexus.com/video-content-rating?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-rating"  
{
  "response": {
    "status": "OK",
    "start_element": 0,
    "num_elements": 100,
    "video-content-ratings": [
      {
        "id": 1,
        "name": "all",
        "last_modified": "2020-09-21 13:59:38"
      },
      {
        "id": 2,
        "name": "children",
        "last_modified": "2020-09-21 13:59:38"
      },
      {
        "id": 3,
        "name": "teens",
        "last_modified": "2020-09-21 13:59:38"
      },
      {
        "id": 4,
        "name": "young_adults",
        "last_modified": "2020-09-21 13:59:38"
      },
      {
        "id": 5,
        "name": "adults",
        "last_modified": "2020-09-21 13:59:38"
      }
    ],
    "count": 5,
    "dbg_info": {
      "warnings": [],
      "version": "1.0.194",
      "output_term": "video-content-ratings"
    }
  }
  }