/
Ad Spaces Listing

Ad Spaces Listing

Lists the ad spaces created in the system.

URL: /admin/adnet/pub/admin/espacios.html?op=l&o=xml

Potential parameters:

  • sitio_id: specifies the site's code. It will only display spaces of that site. If not specified, nor specified the parameter seccion_ide, all the actual spaces are shown.
  • seccion_id: specifies the zone's code. It will only display spaces of that zones. If not specified, all the site's spaces are shown.
  • estado:  space status. If not specified, all the spaces are displayed. The potential values are:
  • act: active
  • arc: archived
  • all: all

Examples of URLs with parameters:

/admin/adnet/pub/admin/espacios.html?op=l&estado=act&o=xml
/admin/adnet/pub/admin/espacios.html?op=l&sitio_id=4324&o=xml
/admin/adnet/pub/admin/espacios.html?op=l&seccion_id=132&estado=arc&o=xml

Response:
It contains a list of objetcs <espacio>.  The identifier is specified by the attribute espacio_id and the data presented are:

  • sitio_id: site identifier to which the ad space belongs
  • sitio: site name to which the ad space belongs
  • seccion_id: zone identifier to which the ad space belongs
  • seccion: zone name to which the ad space belongs
  • nombre: ad space name
  • tamano: specification of the ad space size. If the size is fixed, the format of the attribute is : f/<ancho>x<alto>.  If not, the value is one of:url: URL address where the ad space code is pasted.
               v: variable – accepts ads of any size
               i: invisible – only accepts pops and layers
               t: texto – only accepts text ads
  • click_ventana_nueva: whether clicking on the ads in this ad space opens in a new window (1) or not (0).
  • estado: bits field with the ad space status. The 128th bit indicates if it's archived (128) or active (0). The 16th bit indicates if it had impressions on the last 24 hours (16) or not (0).
  • fecha_alta: ad space creation date.
  • fecha_baja: if the ad space has been cleared, indicates the date it was deleted.

Response example:

<lista>
    <espacio espacio_id=”123”>
        <sitio_id>5512</sitio_id>
        <sitio>Autos.com</sitio>
        <seccion_id>1325</seccion_id>
        <seccion>Home</seccion>
        <nombre>Header</nombre>
        <tamano>f/420x40</tamano>
        <estado>0</estado>
        <url>http://www.autos.com/</url>
        <fecha_alta>2006-03-22 13:45:35</fecha_alta>
        <click_ventana_nueva>1</click_ventana_nueva>
        <fecha_baja/>
    </espacio>
    <espacio espacio_id=”126”>
        <sitio_id>5512</sitio_id>
        <sitio>Autos.com</sitio>
        <seccion_id>1329</seccion_id>
        <seccion>Deportivos</seccion>
        <nombre>Sky</nombre>
        <tamano>v</tamano>
        <estado>0</estado>
        <url>http://www.autos.com/deportivos/</url>
        <fecha_alta>2006-03-22 19:42:01</fecha_alta>
        <click_ventana_nueva>0</click_ventana_nueva>
        <fecha_baja/>
    </espacio>
</lista>

Related content