Articolo 02/07/2024
2 contributori
Commenti e suggerimenti
In questo articolo
Use the read-only Inventory Attribute Service to see what inventory attributes are registered in the Xandr system. These IDs are provided in the inventory_audits
objects on the bid request.
REST API
JSON fields
Field
Type
Description
id
int
The ID of the inventory attribute.
name
string (50)
Inventory attribute name.
last_activity
timestamp
When the inventory attribute was last modified.
Example
View all inventory attributes (below output is subject to change)
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"
}
}