This api function returns traffic statistics grouped by unique Campaign and ATID combinations.
|
Field Name
|
Required
|
Type
|
Format/Values (Default Bold)
|
Description
|
Key
|
Y
|
String
|
|
Your API Key
|
Function
|
Y
|
String
|
getReportRevenue
|
Function to call
|
Format
|
N
|
ENUM
|
CSV | TXT | PSV | JSON | XML
|
Output data format (PSV is the pipe-delimited variation of CSV)
|
MerchantID
|
Y
|
Integer
|
|
Merchant ID
|
Period
|
N
|
String
|
All | Yesterday | Last1Week | ThisMonth | LastMonth | Last30Days | Today
|
Filter based on date range (Overrides StartDate and EndDate)
|
StartDate
|
N
|
Date
|
YYYY-MM-DD
|
Start date filter (Default: Today)
|
EndDate
|
N
|
Date
|
YYYY-MM-DD
|
End date filter (Default: Today)
|
|
|
Field Name
|
Type
|
Format
|
Description
|
Merchant
|
String
|
|
Merchant Name
|
Campaign
|
String
|
|
Campaign Name
|
ATID
|
String
|
|
ATID Value
|
Clicks
|
Integer
|
|
Number of Clicks
|
Commissions
|
Currency (USD)
|
$0.00
|
Total Commission
|
|
The input and output parameters represented in this documentation are the base functionality for each API function. If you require integration assistance,
additional output fields, specific input filters, or even new API functions to meet your specific requirements, please do not hesitate to contact our
Affiliate Relations department.