NOTICE:  THIS VERSION OF THE API HAS BEEN DEPRECATED.  IT WILL CONTINUE TO WORK INDEFINITELY, BUT HAS INCREASED FUNCTIONALITY IN NEWER VERSIONS.

 

WSDL Page:  http://<your_domain_here>/affiliate/api/1/reports.asmx?op=DailySummary

 

Parameter Summary:

affiliate_id / INT = Affiliate ID {See auth.asmx > Login}

api_key / STRING = Affiliate API Key {See auth.asmx > Login}

start_date / DATETIME = Report Start Date [MM/DD/YYYY HH:MM:SS]

end_date / DATETIME = Report End Date [MM/DD/YYYY HH:MM:SS]

offer_id / INT = Offer ID ["0" = ALL Offers]

 

Parameter Types:

affiliate_id - ID

api_key - ID

start_date - ID

end_date - ID

offer_id - ID

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/1/reports.asmx/DailySummary?affiliate_id=2699&api_key=s15Sl4xmfA&start_date=06/01/2013+00:00:00&end_date=06/08/2013+01:00:00&offer_id=0

 

Sample XML Response:

<ArrayOfDay>
   <Day>
      <date>6/01/2013</date>
      <impressions>0</impressions>
      <clicks>9</clicks>
      <conversions>0</conversions>
      <conversion_rate>0.000000</conversion_rate>
      <revenue>0.00000000000000</revenue>
      <epc>0.000000</epc>
   </Day>
   <Day>
      <date>6/02/2013</date>
      <impressions>0</impressions>
      <clicks>8</clicks>
      <conversions>0</conversions>
      <conversion_rate>0.000000</conversion_rate>
      <revenue>0.00000000000000</revenue>
      <epc>0.000000</epc>
   </Day>
   <Day>
      <date>6/03/2013</date>
      <impressions>0</impressions>
      <clicks>9</clicks>
      <conversions>0</conversions>
      <conversion_rate>0.000000</conversion_rate>
      <revenue>0.00000000000000</revenue>
      <epc>0.000000</epc>
   </Day>
   <Day>
      <date>6/04/2013</date>
      <impressions>0</impressions>
      <clicks>9</clicks>
      <conversions>0</conversions>
      <conversion_rate>0.000000</conversion_rate>
      <revenue>0.00000000000000</revenue>
      <epc>0.000000</epc>
   </Day>
   <Day>
      <date>6/05/2013</date>
      <impressions>0</impressions>
      <clicks>9</clicks>
      <conversions>0</conversions>
      <conversion_rate>0.000000</conversion_rate>
      <revenue>0.00000000000000</revenue>
      <epc>0.000000</epc>
   </Day>
   <Day>
      <date>6/06/2013</date>
      <impressions>0</impressions>
      <clicks>9</clicks>
      <conversions>0</conversions>
      <conversion_rate>0.000000</conversion_rate>
      <revenue>0.00000000000000</revenue>
      <epc>0.000000</epc>
   </Day>
   <Day>
      <date>6/07/2013</date>
      <impressions>0</impressions>
      <clicks>9</clicks>
      <conversions>0</conversions>
      <conversion_rate>0.000000</conversion_rate>
      <revenue>0.00000000000000</revenue>
      <epc>0.000000</epc>
   </Day>
   <Day>
      <date>6/08/2013</date>
      <impressions>0</impressions>
      <clicks>1</clicks>
      <conversions>0</conversions>
      <conversion_rate>0.000000</conversion_rate>
      <revenue>0.00000000000000</revenue>
      <epc>0.000000</epc>
   </Day>
</ArrayOfDay>