Submit a Ticket My Tickets
Welcome
Login  Sign up

REPORTS TrafficExport API Version 1

REPORTS TrafficExport API Version 1

Updated on 2014-04-04
Current Version: Version 1
Deprecated Version:
Requests Allowed: GET/SOAP

 
Summary:

This API will return an array of traffic reports.

 

Resource/WSDL Page:

http://yourdomainhere.com/api/1/reports.asmx?op=TrafficExport

 

Parameters

api_key
Required
Type: STRING
Length (Max/Min): 50
This api_key must be a valid API key (exisiting and NOT expired). You can obtain this api_key from within CAKE >> Setup >> Permissions in the API Key list.  
Example Values: Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh
start_date
Required
Type: DATE
Length (Max/Min): N/A
Allowed formats: "YYYY-mm-dd","dd-mm-YYYY"
Example
Values:
2014-02-15
end_date
Required
Type: DATE
Length (Max/Min): N/A
Allowed formats: "YYYY-mm-dd","dd-mm-YYYY"
Example
Values:
2017-01-17

 **Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value). 

 

Example Request:

GET
https://demo.cakemarketing.com/api/1/reports.asmx/TrafficExport?api_key=YM6FNThM7EnEDC7AAGpp3K2oRjJdGFP&start_date=01/01/2016&end_date=01/30/2016

 

<ArrayOfTraffic xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://cakemarketing.com/api/1/">
<Traffic>
<advertiser_id>900280</advertiser_id>
<advertiser_name>!!! Eddy &amp; Dylan</advertiser_name>
<offer_id>55380839</offer_id>
<offer_name>- Gazipura &amp;amp; Partners</offer_name>
<affiliate_id>1114414</affiliate_id>
<affiliate_name>- Gazipura &amp;amp; Partners</affiliate_name>
<campaign_id>762378</campaign_id>
<vertical_name>!!!!!!!!!!!!!Supplements</vertical_name>
<category_name>Health</category_name>
<impressions>0</impressions>
<clicks>1</clicks>
<conversions>0</conversions>
<revenue>0.0000000000</revenue>
<cost>0.0000000000</cost>
<AdvertiserRates/>
<AffiliateRates/>
</Traffic>
<Traffic>
<advertiser_id>900280</advertiser_id>
<advertiser_name>!!! Eddy &amp; Dylan</advertiser_name>
<offer_id>55381060</offer_id>
<offer_name>cb</offer_name>
<affiliate_id>5920</affiliate_id>
<affiliate_name>@Test1231</affiliate_name>
<campaign_id>-1</campaign_id>
<vertical_name>!!!!!!!!!!!!!Supplements</vertical_name>
<category_name>Health</category_name>
<impressions>0</impressions>
<clicks>1</clicks>
<conversions>0</conversions>
<revenue>0.0000000000</revenue>
<cost>0.0000000000</cost>
<AdvertiserRates/>
<AffiliateRates/>
</Traffic>

 



Example Error Messages: 

Error Message
Likely Cause
Invalid API Key
API Key does not exist or is expired
 

 

 

 

Did you find it helpful? Yes No

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