This api function returns a daily summary of your Affiliates' performance for a specified period of time.
|
Field Name
|
Required
|
Type
|
Format/Values (Default Bold)
|
Description
|
Key
|
Y
|
String
|
|
Your API Key
|
Function
|
Y
|
String
|
getReportMerchantAffiliateTrending
|
Function to call
|
Format
|
N
|
String
|
CSV | JSON | XML
|
Format of returned data
|
AffiliateID
|
N
|
Integer
|
|
Affiliate 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)
|
LinkType
|
N
|
String
|
Image | Text | HTML | Flash
|
Filter based on Link Type
|
|
|
Field Name
|
Type
|
Format
|
Description
|
Date
|
Date
|
YYYY-MM-DD
|
Date
|
AffiliateID
|
Integer
|
|
Affiliate ID
|
CampaignID
|
Integer
|
|
Campaign ID
|
Affiliate
|
String
|
|
Affiliate Name
|
Commissions
|
Currency (USD)
|
$0.00
|
Commissions
|
Clicks
|
Integer
|
|
Number of Clicks
|
Revenue
|
Currency (USD)
|
|
Revenue
|
Sales
|
Integer
|
|
Number of Sales
|
|
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
Merchant Relations department.