Servicio de reventa de inventario
Este servicio de solo lectura permite ver el inventario que se ha expuesto para su reventa por redes en la plataforma. Esto incluye el inventario expuesto por la red y otras redes.
- Para habilitar el inventario para reventa, use el servicio de sitio.
- Para exponer el inventario para reventa:
- Para las categorías de inventario, use el servicio de perfil de visibilidad.
- En el caso de los publicadores, use el servicio Publisher.
- Para redes completas, use el servicio miembro.
- Para controlar los datos de inventario que los miembros de la plataforma y los licitadores externos ven en las solicitudes de puja, use el Servicio de perfil de visibilidad.
API de REST
Http (método) | Endpoint | Description |
---|---|---|
GET |
https://api.appnexus.com/inventory-resold | Ver todos los publicadores, categorías de contenido y miembros expuestos para reventa. |
GET |
https://api.appnexus.com/inventory-resold?type=publisher | Ver todos los publicadores expuestos para reventa. |
GET |
https://api.appnexus.com/inventory-resold?type=publisher& id=1,2,3, etc. | Ver publicadores específicos expuestos para reventa (mediante una lista separada por comas de identificadores). |
GET |
https://api.appnexus.com/inventory-resold?type=content_category& category_type=standard | Ver todas las categorías de contenido expuestas para reventa. |
GET |
https://api.appnexus.com/inventory-resold?type=content_category& id=1,2,3, etc. | Ver categorías de contenido específicas expuestas para reventa (mediante una lista separada por comas de identificadores). |
GET |
https://api.appnexus.com/inventory-resold?type=member | Ver todos los miembros expuestos para reventa. |
GET |
https://api.appnexus.com/inventory-resold?type=member& id=1,2,3, etc. | Ver miembros específicos expuestos para reventa (mediante una lista separada por comas de identificadores). |
GET |
https://api.appnexus.com/inventory-resold/meta | Averigüe por qué campos puede filtrar y ordenar. |
Campos JSON
Campo | Tipo (longitud) | Description |
---|---|---|
daily_volume |
Entero | El promedio de impresiones diarias de los últimos 7 días. |
description |
string(255) | Descripción del objeto. |
id |
Entero | Identificador interno asignado al objeto (publisher o member content_category ). |
member_id |
Entero | Identificador del miembro propietario. |
member_name |
string | Nombre del miembro propietario. |
name |
string(255) | Nombre del objeto. |
reselling_exposed_on |
Timestamp | Fecha y hora en que se expuso el publicador o miembro para revender. Nota: A partir de la versión 1.13, este campo no está disponible para las categorías de contenido. |
stats |
matriz de objetos | El stats objeto ha quedado en desuso (a partir del 17 de octubre de 2016). Use el servicio de informes para obtener información estadística en su lugar. |
type |
enumeración | Tipo de objeto. Valores posibles: "publisher" , "member" o "content_category" . |
Ejemplos
Ver todos los publicadores, categorías de contenido y miembros expuestos para reventa
$ curl -b cookies -c cookies 'https://api.appnexus.com/inventory-resold'
{
"response": {
"status": "OK",
"inventory-resold": [
{
"id": 88,
"name": "Kitara Media",
"description": null,
"member_id": 88,
"member_name": "Kitara Media",
"type": "member",
"reselling_exposed_on": "2010-06-07 21:29:56",
"daily_volume": "67119880"
},
{
"id": 95,
"name": "Matomy Media (formerly Xtend Media)",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "member",
"reselling_exposed_on": "2011-05-04 08:51:51",
"daily_volume": "20578570"
},
{
"id": 231,
"name": "Morning Falls",
"description": null,
"member_id": 231,
"member_name": "Morning Falls",
"type": "member",
"reselling_exposed_on": "2010-08-23 20:44:51",
"daily_volume": "24"
},
{
"id": 311,
"name": "Collective Exchange",
"description": null,
"member_id": 311,
"member_name": "Collective Exchange",
"type": "member",
"reselling_exposed_on": "2010-11-19 22:55:15",
"daily_volume": "97485150"
},
...
{
"id": 537,
"name": "Fun & Trivia",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 538,
"name": "Autos & Vehicles",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 539,
"name": "Beauty & Personal Care",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 540,
"name": "Business & Industry",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 541,
"name": "Computers & Electronics",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 541,
"name": "CPXInteractive",
"description": null,
"member_id": 541,
"member_name": "CPXInteractive",
"type": "member",
"reselling_exposed_on": "2011-01-05 17:22:19",
"daily_volume": "1067491726"
},
{
"id": 542,
"name": "Arts & Entertainment",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 543,
"name": "Finance",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 544,
"name": "Food & Drink",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 545,
"name": "Games",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 546,
"name": "Health",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
...
{
"id": 563,
"name": "X-Taringa.org",
"description": "",
"member_id": 332,
"member_name": "D'Arriens",
"type": "publisher",
"reselling_exposed_on": "2012-03-21 18:55:47",
"daily_volume": null
},
{
"id": 564,
"name": "Collective Exchange (UK)",
"description": null,
"member_id": 564,
"member_name": "Collective Exchange (UK)",
"type": "member",
"reselling_exposed_on": "2010-12-15 16:09:48",
"daily_volume": "4322501"
},
{
"id": 564,
"name": "MessengerAdictos",
"description": "",
"member_id": 332,
"member_name": "D'Arriens",
"type": "publisher",
"reselling_exposed_on": "2012-03-21 18:55:47",
"daily_volume": null
},
{
"id": 568,
"name": "Httpool",
"description": null,
"member_id": 568,
"member_name": "Httpool",
"type": "member",
"reselling_exposed_on": "2011-02-24 15:49:52",
"daily_volume": "159637"
},
{
"id": 576,
"name": "Nextperience",
"description": null,
"member_id": 576,
"member_name": "Nextperience",
"type": "member",
"reselling_exposed_on": "2010-10-29 20:46:08",
"daily_volume": "3359929"
},
{
"id": 576,
"name": "Grooveshark",
"description": "",
"member_id": 332,
"member_name": "D'Arriens",
"type": "publisher",
"reselling_exposed_on": "2012-03-21 18:55:48",
"daily_volume": "48"
},
...
],
"count": 13984,
"start_element": 0,
"num_elements": 100
}
}
Ver todas las categorías de contenido expuestas para reventa
$ curl -b cookies -c cookies 'https://api.appnexus.com/inventory-source?type=content_category&category_type=standard'
{
"response": {
"status": "OK",
"inventory-resold": [
{
"id": 537,
"name": "Fun & Trivia",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 538,
"name": "Autos & Vehicles",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 539,
"name": "Beauty & Personal Care",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 540,
"name": "Business & Industry",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 541,
"name": "Computers & Electronics",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 542,
"name": "Arts & Entertainment",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
{
"id": 543,
"name": "Finance",
"description": null,
"member_id": 95,
"member_name": "Matomy Media (formerly Xtend Media)",
"type": "content_category",
"daily_volume": null
},
...
],
"count": 1145,
"start_element": 0,
"num_elements": 100
}
}