Retrieve Report By Zone Id

(Difference between revisions)
Jump to: navigation, search
(End Point)
Line 15: Line 15:
A simple HTTP GET request of the form:  
A simple HTTP GET request of the form: be provided by Taptica&from=20130120&to=20130122&format=json
+ { to be provided by Taptica }&from=20130120&to=20130122&format=json
'''Parameters Description'''<br/>
'''Parameters Description'''<br/>

Revision as of 10:31, 6 February 2013


This document is intended for software engineers, product or project managers responsible for the implementation of Taptica's API for reports.

Retrieve Report By Zone Id

This method is used to send request to Taptica's Core servers for retrieving ads reports. The method will pass to Taptica's Core servers unique IDs identifying the Zone Id and a set of metadata describing the request.

End Point

Ad requests to the Taptica's API comprise:

A simple HTTP GET request of the form: { to be provided by Taptica }&from=20130120&to=20130122&format=json

Parameters Description

Parameter Description
token Authentication token provided by Taptica's Core
zoneid Zone Id as provisioned by Taptica's Core.
from Date , start date to begin the report. (format:YYYYMMDD)
to Type: Date , end date to end the report. (format:YYYYMMDD)
format xml, json or csv responses.

Return Value
XML, JSON or CSV dependent on the format value, default value XML

Reporting Examples


<?Xml version="1.0"?>


XML Error Example

<?xml version="1.0"?>

 <data i:nil="true"/>
  unknown zoneid=7c2bfe27-6262-4942-b4e-660fa0f95bd1



JSON Error:

{"reports":null,"error":"Unknown zoneid=7c2bfe27-6262-4942-b4e-660fa0f95bd1"}


a6f5bec4-53ed-482a-ac09-69d41f6d1f6c, 2013-01-31, 4072698, 3118472, 76.57, 14446, 0.463, 66, 0.456, 132.00, 0.00913, 0.0068531, 23433.00,99.00

CSV Error Example:

Unknown zoneid=7c2bfe27-6262-4942-b4e-660fa0f95bd1
Personal tools