WSDL Page:  http://your-admin-domain-here.com/api/1/reports.asmx?op=AffiliateSummary


Parameter Summary:

api_key / STRING = Admin API Key {See GET API Key}

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

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

affiliate_id / INT = Affiliate ID ["0" = ALL Affiliates] {See EXPORT Affiliates}

offer_id / INT = Offer ID ["0" = ALL Offers] {See EXPORT Offers}

campaign_id / INT = Campaign ID ["0" = ALL Campaigns] {See EXPORT Campaigns}


Parameter Types:

api_key - ID

start_date - ID

end_date - ID

affiliate_id - ID

offer_id - ID

campaign_id - ID


Sample GET Call:

http://demo.cakemarketing.com/api/1/reports.asmx/AffiliateSummary?api_key=dNJFmId9rI&start_date=01/01/2012+12:00:00&end_date=01/01/2013+12:00:00&affiliate_id=4401&offer_id=1000005&campaign_id=4904

 

Sample XML Response:

<ArrayOfCampaign>
  <Campaign>
    <affiliate_id>4401</affiliate_id>
    <affiliate_name>Superior Media CPA</affiliate_name>
    <offer_id>1000005</offer_id>
    <offer_name>$1000 Bed Bath & Beyond GC</offer_name>
    <campaign_id>4904</campaign_id>
    <impressions>0</impressions>
    <clicks>0</clicks>
    <paid>45</paid>
    <conversion_rate>0.000000</conversion_rate>
    <throttle_percentage>0.000000</throttle_percentage>
    <cost>101.2500</cost>
    <epc>0.000000</epc>
  </Campaign>
</ArrayOfCampaign>