REPORTS CampaignSummary API Version 5
Updated on 2016-02-09
Current Version: Version 5
Requests Allowed: HTTP GET / HTTP POST / SOAP 1.1 / SOAP 1.2
Summary:
Performance summary based on campaign.
Report can also be generated within CAKE from the Reports tab - Master Campaign report.
Resource/WSDL Page:
http://api/5/reports.asmx?op=CampaignSummary
Parameters
api_key Required Type: STRING | 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 |
Required Value Type: INT | Obtained via EXPORT Campaigns API. Pass 0 for all Example Values: 159 |
source_affiliate_id | Obtained via EXPORT Affiliates API. Pass 0 for all Example Values: 1267 |
subid_id Required Value Type: STRING | Obtained via EXPORT Affiliates API. Leave blank for all |
site_offer_id Required Value Type: INT | Obtained via EXPORT Offers API. Pass 0 for all |
source_affiliate_tag_id | Obtained via GET AffiliateTags API. Pass 0 for all Example Values: 28 |
site_offer_tag_id Required Value Type: INT | Obtained via EXPORT Offers API. Pass 0 for all Example Values: 44 |
source_affiliate_manager_id Required Value | Obtained via EXPORT Affiliates API. Pass 0 for all Example Values: 87 |
brand_advertiser_manager_id Required Value Type: INT | Obtained via EXPORT Advertisers API. Pass 0 for all Example Values: 87 |
event_id Required Value Type: INT | Obtained via EXPORT Offers API. Pass 0 for all Example Values: 4 |
event_type | Filter based on how revenue was generated (events, conversions or both) Example Values: all or macro_event_conversions or micro_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
Sample XML Response:
Example Error Messages:
Error Message | Likely Cause |
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. |