Submit a Ticket My Tickets
Welcome
Login  Sign up

DEPRECATED - [Reports] Clicks (V3) - 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/3/reports.asmx?op=Clicks

 

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]

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/3/reports.asmx/Clicks?api_key=s15Sl4xmfA&affiliate_id=2699&start_date=01/01/2013+00:00:00&end_date=07/01/2013+01:00:00&offer_id=0&campaign_id=0&start_at_row=1&row_limit=3

 

Sample XML Response:

<click_response>
   <success>true</success>
   <row_count>1622</row_count>
   <summary>
      <paid_action>3</paid_action>
      <total_clicks>1622</total_clicks>
   </summary>
   <clicks>
      <click>
         <click_date>2013-01-01T00:13:54.903</click_date>
         <offer_id>100</offer_id>
         <offer_name>AppTastic</offer_name>
         <campaign_id>997</campaign_id>
         <subid_1>CD2</subid_1>
         <subid_2 />
         <subid_3 />
         <subid_4 />
         <subid_5 />
         <ip_address>192.168.1.1</ip_address>
         <total_clicks>1</total_clicks>
      </click>
      <click>
         <click_date>2013-01-01T03:13:52.347</click_date>
         <offer_id>100</offer_id>
         <offer_name>AppTastic</offer_name>
         <campaign_id>997</campaign_id>
         <subid_1>CD2</subid_1>
         <subid_2 />
         <subid_3 />
         <subid_4 />
         <subid_5 />
         <ip_address>192.168.1.1</ip_address>
         <total_clicks>1</total_clicks>
      </click>
      <click>
         <click_date>2013-01-01T03:51:50.213</click_date>
         <offer_id>100</offer_id>
         <offer_name>AppTastic</offer_name>
         <campaign_id>997</campaign_id>
         <subid_1>CD2</subid_1>
         <subid_2 />
         <subid_3 />
         <subid_4 />
         <subid_5 />
         <ip_address>192.168.1.1</ip_address>
         <total_clicks>1</total_clicks>
      </click>
   </clicks>
</click_response>

Did you find it helpful? Yes No

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