Reports AffiliateSummary API V2
Updated on 2014-04-02
Current Version: Version 2
Deprecated Version: 1
Requests Allowed: GET/POST/SOAP
Summary:
Returns an affiliate performance overview
Resource/WSDL Page:
http://<your_domain_here>/api/2/reports.asmx?op=AffiliateSummary
Parameters
api_key |
As an administrator to your CAKE instance, you can obtain your API key in one of two ways. 1.) From within your instance >> setup tab >> permissions. 2.) Using the GET GetAPIKey Example Values: dNJFmId9rIZZrs |
start_date |
Allowed formats: "YYYY-mm-dd","dd-mm-YYYY" |
end_date |
When time stamp is excluded 00:00:00 is assumed. Data on end date will not be included. Allowed formats: "YYYY-mm-dd","dd-mm-YYYY" **You can only pull one month increments maximum |
affiliate_id
|
The Affiliate ID can be collected from the UI in the affiliate Card.
Example Values: 7894 |
affiliate_manager_id
|
ID of the affiliate manager, you can obtain from the UI in the contact card of the affiliate manager.
Example Values: 4,43,657 |
affiliate_tag_id
|
This is the ID of the tag the affiliate has been tagged with. Currently is unavailable via the User Interface, but can be retrieved using the AffiliateTags API. Example Values: 3, 5, 78 |
offer_tag_id |
This is the ID of the tag the Offer has been tagged with. Currently is unavailable via the User Interface. Example Values: 75, 94 |
event_id |
The Id of the conversion. Can be found on the offer or the advertiser card under events. Example Values: 84, 64 |
revenue_filter |
Allows you to filter for conversions, Events or both. Example Values: "conversions_and_events", "conversions" or "events" |
**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 |
|
Sample XML Response:
<affiliate_summary_response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://cakemarketing.com/api/2/">