Submit a Ticket My Tickets
Welcome
Login  Sign up

[Reports] TopOfferSummary (V3) - Affiliate

WSDL Page:  http://<your_domain_here>/affiliate/api/3/offers.asmx?op=TopOfferSummary

 

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]

vertical_id / INT (short) = Vertical ID ["0" = ALL Verticals] {See offers.asmx > GetVerticals}

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

vertical_id - ID

start_at_row - ASSIGNABLE

row_limit - ASSIGNABLE

 

Sample GET Call:

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

 

Sample XML Response:

<top_offer_summary_response>
   <success>true</success>
   <row_count>2</row_count>
   <top_offers>
      <top_offer>
         <offer_id>290</offer_id>
         <offer_name>WINNING T-Shirts</offer_name>
         <epc>105.481481</epc>
         <currency_symbol>£</currency_symbol>
      </top_offer>
      <top_offer>
         <offer_id>358</offer_id>
         <offer_name>Offer 358</offer_name>
         <epc>0.225352</epc>
         <currency_symbol>£</currency_symbol>
      </top_offer>
   </top_offers>
</top_offer_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.