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/offers.asmx?op=TopOfferSummary
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]
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:
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>