REPORTS SourceAffiliateSummary API Version 3
Updated on 2016-05-26
Current Version: Version 3
Requests Allowed: HTTP GET / HTTP POST / SOAP 1.1 / SOAP 1.2
Summary:
Performance summary based on source/affiliate id.
Resource/WSDL Page:
http://YourAdminDomain.com/api/3/reports.asmx?op=SourceAffiliateSummary
Parameters
api_key | Administrative API key. Example Values: Obtained from the Setup tab - Permissions sub tab. |
start_date | Start date for your report. Example Values: MM/DD/YYYY hh:mm:ss, YYYY-MM-DD hh:mm:ss |
end_date Required Value Type: DATETIME | End date for your report. When time stamp is excluded 00:00:00 is assumed. Data on end date will not be included. Example Values: MM/DD/YYYY, hh:mm:ss, YYYY-MM-DD hh:mm:ss **You can only pull one month increments maximum |
source_affiliate_id | Obtained via EXPORT Affiliates API. Pass 0 for all |
source_affiliate_manager_id Required Value | Obtained via EXPORT Affiliates API Example Values: 87 |
source_affiliate_tag_id | Obtained via GET AffiliateTags API Example Values: 28 |
site_offer_tag_id Required Value Type: INT | Obtained via EXPORT Offers API Example Values: 44 |
event_id | Obtained via EXPORT Offers API Example Values: 4 |
event_type | Filter based on how revenue was generated (events, conversions or both) Example Values: macro_event_conversions, micro_events, all |
**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
Sample XML Response:
Example Error Messages:
Error Message | Likely Cause |
Invalid API Key | API key does not exist or is expired |
Invalid source_affiliate_id | source_affilaite_id does not exist |
Cannot convert to System.Int32. Parameter name: type ---> Input string was not in a correct format. | Passing a NULL value instead of 0 on a field requiring an ID. |