Submit a Ticket My Tickets
Welcome
Login  Sign up

DEPRECATED - [Reports] SubAffiliateSummary (V2) - Affiliate

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=SubAffiliateSummary

 

Parameter Summary:

api_key / STRING = Affiliate API Key 

affiliate_id / INT = Affiliate ID 

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]

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

offer_id - ID

start_at_row - ASSIGNABLE

row_limit - ASSIGNABLE

 

Sample GET Call:

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

 

Sample XML Response:

<sub_affiliate_summary_response>
   <success>true</success>
   <row_count>3</row_count>
   <sub_affiliates>
      <sub_affiliate>
         <sub_id />
         <impressions>0</impressions>
         <clicks>2</clicks>
         <conversions>12</conversions>
         <conversion_rate>1.000000</conversion_rate>
         <revenue>210.00000000000000</revenue>
         <epc>105.000000</epc>
         <currency_symbol>£</currency_symbol>
      </sub_affiliate>
      <sub_affiliate>
         <sub_id>CD12409</sub_id>
         <impressions>0</impressions>
         <clicks>1</clicks>
         <conversions>0</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>0.00000000000000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>£</currency_symbol>
      </sub_affiliate>
      <sub_affiliate>
         <sub_id>SubAffiliate - Warning</sub_id>
         <impressions>0</impressions>
         <clicks>269</clicks>
         <conversions>0</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>0.00000000000000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>£</currency_symbol>
      </sub_affiliate>
   </sub_affiliates>
</sub_affiliate_summary_response>

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.