/
Dynamic Reports

Dynamic Reports



The request must be donde through GET method.

URL: /admin/adnet/pub/stats/informedinamico.csv?

Mandatory parameters:
  • filter1_id: filter code (campaign, site, ad space, etc). They are defined under Filters for dynamic reports annex.
  • objeto_id: cobject code for which the report is shown. I.e.: If in filter1_id campaign filter was chosen, that campaign ID must be specified (pauta_id). 
  • fechashortcut_id: Should always be included with value 0.
  • fecha_inicio: report start date
  • fecha_fin: report end date.  This date is always included in the report. I.e: if end date is indicated as fecha_fin 11/11/2006, the report will show results to that date 23:59:59 time.

Optional parameters:
  • columna1_id: object to be shown in the report's first column. Potential values listed in Objects for dynamic reports annex.
  • columna2_id: object to be shown in the second column.

Request example:

URL: /admin/adnet/pub/stats/informedinamico.csv

Parameters:
filter1_id=1&objeto_id=4324&fechasshortcut_id=0&fecha_inicio=1/11/2006&fecha_fin=30/11/2006&columna1_id=12
  • filter1_id: filter by campaign (código 1)
  • objeto_id: filtered campaign ID
  • columna1_id: by-date report (código 12)
  • fechasshortcut_id: should always contain the value 0
  • fecha_inicio: the report provides from 0 hour of  1/11/2006
  • fecha_fin: the report provides to 23:59:59 of 30/11/2006

Response:
A CSV file is returned separated by period, semicolon and with double quotation marks as field delimiter. In the first line, a header is included.

Response example:

'Date';'Impressions';'Clicks';'Unique users';'Unique IPs';'Click-through rate'
'11/23/2006';'9,721';'0';'9,463';'9,112';'0 %'
'11/24/2006';'8,877';'0';'8,666';'8,486';'0 %'
'11/25/2006';'8,595';'0';'8,382';'8,203';'0 %'
'11/26/2006';'8,462';'0';'8,228';'7,942';'0 %'
'11/27/2006';'9,080';'0';'8,873';'8,415';'0 %'
'11/28/2006';'8,352';'0';'8,111';'7,805';'0 %'
'11/29/2006';'7,441';'0';'7,236';'6,949';'0 %'
'11/30/2006';'4,301';'0';'0';'0';'0 %'

Related content