Please note that this feature requires a unique API key and password. Please contact your account representative for more information.

Introduction

Content.ad offers this REST API to make the data in the Campaign Summary Report in an advertiser’s account login available in either XML or JSON format.

Implementation FAQ

How often is performance data updated?
Performance reports are updated by Content.ad once per hour.

How long can I run the report for?
This report can be run for any period 31 days or less. You can use the “startDate” and “endDate” parameters to specify a date range.

How is reporting data grouped?
This report has options for time groupings down to the hour and data sets down to the ad. See the “Optional Query String Parameters” section below for more information.

Setting Up the API Call

Place the desired parameters into the API call below.

https://rest.content.ad/reports/advertiser

Optional Query String Parameters

Example XML Result Set

<Report>
 <Rows>
  <Row>
   <Campaign> (Optional)
    <ID>123</ID>
    <Name>Test</Name>
   </Campaign>
   <Ad> (Optional)
    <ID>456</ID>
    <Title>Ad Title</Title>
    <Url>http://test.com</Url>
   </Ad>
   <Time>2015-05-01T07:00:00-07:00</Time> (Optional)
   <Impressions>460230</Impressions>
   <Clicks>230</Clicks>
   <CTR>0.050</CTR>
   <Conversions>12</Conversions>
   <Spend>43.7</Spend>
   <ECPC>0.19</eCPC>
   <ECPA>3.64</eCPA>
  </Row>
  <Row>
   <Campaign> (Optional)
    <ID>123</ID>
    <Name>Test</Name>
   </Campaign>
   <Ad> (Optional)
    <ID>456</ID>
    <Title>Ad Title</Title>
    <Url>http://test.com</Url>
   </Ad>
   <Time>2015-05-01T07:00:00-07:00</Time> (Optional)
   <Impressions>460230</Impressions>
   <Clicks>230</Clicks>
   <CTR>0.050</CTR>
   <Conversions>12</Conversions>
   <Spend>43.7</Spend>
   <ECPC>0.19</eCPC>
   <ECPA>3.64</eCPA>
  </Row>
 </Rows>
</Report>
Did this answer your question?