- [アーティクル]
-
-
読み取り専用インベントリ属性サービスを使用して、Xandr システムに登録されているインベントリ属性を確認します。 これらの ID は、入札要求の inventory_audits
オブジェクトで提供されます。
REST API
JSON フィールド
フィールド |
種類 |
説明 |
id |
int |
インベントリ属性の ID。 |
name |
string (50) |
インベントリ属性名。 |
last_activity |
timestamp |
インベントリ属性が最後に変更されたとき。 |
例
すべてのインベントリ属性を表示する (以下の出力は変更される場合があります)
curl -b cookies -c cookies "https://api.adnxs.com/inventory-attribute"
{
"response": {
"count": 8,
"inventory-attributes": [
{
"id": 2,
"last_activity": "2010-10-19 19:26:08",
"name": "Political"
},
{
"id": 4,
"last_activity": "2010-10-19 19:26:08",
"name": "Social media"
},
{
"id": 6,
"last_activity": "2010-10-19 19:26:08",
"name": "Photo & video sharing"
},
{
"id": 8,
"last_activity": "2010-10-19 19:26:08",
"name": "Forums (moderated)"
},
{
"id": 10,
"last_activity": "2010-10-19 19:26:08",
"name": "Forums (unmoderated)"
},
{
"id": 12,
"last_activity": "2010-10-19 19:26:08",
"name": "Incentivized clicks"
},
{
"id": 14,
"last_activity": "2010-10-19 19:26:08",
"name": "Non-english languages"
},
{
"id": 17,
"last_activity": "2010-10-19 19:26:08",
"name": "Toolbars, plugins, or extensions"
}
],
"num_elements": null,
"start_element": null,
"status": "OK"
}
}