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/2/reports.asmx?op=CampaignSummary

 

Parameter Summary:

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

affiliate_id / INT = Affiliate ID {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]

start_at_row / INT = Starting Row Number [Usually "1", unless doing incremental API Calls]

row_limit / INT = Maximum Rows Returned ["0" = ALL Rows, "100000" = Maximum]

 

Parameter Types:

api_key - ID

affiliate_id - ID

start_date - ID

end_date - ID

start_at_row - ASSIGNABLE

row_limit - ASSIGNABLE

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/2/reports.asmx/CampaignSummary?api_key=LRKjY66p5iQz1WTtPMy6Q&affiliate_id=2699&start_date=01/01/2013+00:00:00&end_date=07/01/2013+01:00:00&start_at_row=1&row_limit=3

 

Sample XML Response:

<campaign_summary_response>
   <success>true</success>
   <row_count>2</row_count>
   <campaigns>
      <campaign>
         <offer_id>1000000</offer_id>
         <offer_name>Apple Ipad 2- AU - Wendys Zip Submit</offer_name>
         <campaign_id>3006</campaign_id>
         <vertical_name>Marketing Technology</vertical_name>
         <price_format>CPA</price_format>
         <price>18.0000</price>
         <impressions>0</impressions>
         <clicks>0</clicks>
         <conversions>10</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>180.0000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>$</currency_symbol>
      </campaign>
      <campaign>
         <offer_id>100</offer_id>
         <offer_name>AppTastic - Wendys 1st Page</offer_name>
         <campaign_id>997</campaign_id>
         <vertical_name>Marketing Technology</vertical_name>
         <price_format>CPA</price_format>
         <price>0.0000</price>
         <impressions>0</impressions>
         <clicks>1619</clicks>
         <conversions>0</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>0.0000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>€</currency_symbol>
      </campaign>
   </campaigns>
</campaign_summary_response>