Skip to main content
Which reporting tool should I use?
  • Aggregated stats (totals, trends, breakdowns) → run_performance_report or run_network_summary
  • Raw event records (individual clicks or conversions over a window) → search_clicks or search_conversions
  • Single event by ID (attribution troubleshooting, dispute resolution) → get_click or get_conversion

get_report_schema

Returns the complete list of valid dimension keys, filter keys, and metric names for run_performance_report. Call this first if you’re unsure which keys to use — the exact strings returned here are the accepted values for dimensions, filters, and sort_by. Parameters: None. Response fields:
FieldTypeDescription
columnsarrayValid dimension keys for the dimensions parameter
filtersarrayValid filter keys for the filters parameter
metricsarrayValid metric names for sort_by — also returned in every report row

run_performance_report

Queries aggregated performance data grouped by one or more dimensions. The primary tool for campaign analysis, partner comparison, and revenue reporting. Parameters:
ParameterTypeRequiredDescription
fromstringYesStart date (YYYY-MM-DD)
tostringYesEnd date (YYYY-MM-DD)
dimensionsstringYesComma-separated dimensions (see below) — max 256 chars
filtersstringNoComma-separated inclusive type:value pairs — e.g. offer:123,affiliate:456 — max 4,096 chars total; sub-param values (sub1sub5, adv1adv5, source_id) max 600 chars each. Only inclusive filters are supported — there is no exclusion syntax.
sort_bystringNoMetric name to sort by (see metrics accordion below) — max 128 chars
sort_directionstringNoasc or desc (default: desc) — max 8 chars
timezonestringNoIANA timezone name — max 64 chars
currencystringNoCurrency code (default: USD) — max 8 chars
page_sizenumberNoRows per page (1–100, default 50)
cursorstringNoPagination cursor from a prior response — max 1,024 chars
Response envelope:
run_performance_report uses total_rows (not total_matching) in its pagination envelope, which differs from list tools like list_offers and list_affiliates.
FieldTypeDescription
next_cursorstringPass as cursor to retrieve the next page. Absent when there are no further pages.
rows_returnednumberNumber of rows in this page
total_rowsnumberTotal rows matching the query across all pages
truncatedbooleantrue when the query matched more than 500 total rows — the result set is capped at 500 rows across all pages. Narrow your date range, add filters, or reduce the number of dimensions to get under the limit.
warningstringPresent when truncated is true — human-readable message describing the truncation.
Pass one or more of these keys as a comma-separated dimensions string.Time
DimensionDescription
dateDay (YYYY-MM-DD)
hourHour of day (0–23)
hourlyFull datetime rounded to the hour
weekISO week
monthMonth (YYYY-MM)
yearYear
day_of_weekDay of week (0 = Sunday … 6 = Saturday)
Entities
DimensionDescription
offerOffer name
offer_idOffer ID
affiliateAffiliate name
affiliate_idAffiliate ID
advertiserAdvertiser name
advertiser_idAdvertiser ID
campaignSmart link / campaign name
campaign_idCampaign ID
creativeCreative name
creative_idCreative ID
offer_groupOffer group name
offer_group_idOffer group ID
offer_urlOffer URL
offer_statusOffer status
affiliate_statusAffiliate status
originating_offerOriginating offer in a redirect chain
categoryOffer category
networkNetwork identifier
source_idTraffic source ID
event_nameConversion event name
advertiser_event_nameAdvertiser-side event name
advertiser_campaign_nameAdvertiser campaign name
Geo
DimensionDescription
countryCountry name
country_codeISO 2-letter country code
regionRegion / state
cityCity
dmaDesignated market area (US only)
postal_codePostal code
Device & Technology
DimensionDescription
browserBrowser name
platformOS platform
device_typeDevice type (desktop, mobile, tablet)
device_makeDevice manufacturer
device_modelDevice model
os_versionOS version string
languageBrowser language
connection_typeConnection type (wifi, cellular, etc.)
carrierMobile carrier
ispInternet service provider
is_proxyWhether traffic came through a proxy
meta_platformMeta / Facebook platform
Tracking & Attribution
DimensionDescription
tracking_domainCustom tracking domain
transaction_idRaw transaction ID
attribution_methodAttribution method
order_idOrder ID passed on conversion
coupon_codeCoupon code
refererReferring URL
click_error_codeClick error code
conversion_error_codeConversion error code
People & Managers
DimensionDescription
affiliate_managerAffiliate manager name
account_managerAccount manager name
sales_managerSales manager name
account_executiveAccount executive name
customer_support_managerCustomer support manager name
admin_account_managerAdmin account manager name
Payout & Revenue
DimensionDescription
payout_typePayout model (CPA, CPC, etc.)
payout_amountPayout amount
revenue_typeRevenue model
revenue_amountRevenue amount
currencyCurrency code
custom_payout_revenueCustom payout/revenue rule name
custom_payout_revenue_idCustom payout/revenue rule ID
Sub-Parameters
DimensionDescription
sub1sub5Affiliate sub parameters (pass separately: sub1, sub2, …)
adv1adv5Advertiser sub parameters (pass separately: adv1, adv2, …)
App
DimensionDescription
project_idApp project ID
app_identifierApp identifier
bundle_idApp bundle ID
Pass filters as comma-separated inclusive type:value pairs — e.g. offer:123,affiliate:456,country_code:US. Only inclusive filters are supported — there is no exclusion syntax. status is not a supported filter or dimension on this tool; to filter conversions by status, use search_conversions instead.Entities
FilterValue formatExample
offerNumeric offer IDoffer:123
offer_groupNumeric offer group IDoffer_group:45
affiliateNumeric affiliate IDaffiliate:678
advertiserNumeric advertiser IDadvertiser:99
creativeNumeric creative IDcreative:12
campaignNumeric campaign IDcampaign:7
categoryNumeric category IDcategory:3
networkNumeric network IDnetwork:1
source_idStringsource_id:google
event_nameStringevent_name:purchase
offer_urlNumeric URL IDoffer_url:8
offer_statusactive, paused, pending, deletedoffer_status:active
originating_offerNumeric offer IDoriginating_offer:123
transaction_id32-char hex stringtransaction_id:abc123...
error_codeNumeric error codeerror_code:0
coupon_codeStringcoupon_code:SUMMER20
tracking_domainNumeric domain IDtracking_domain:5
channelNumeric channel IDchannel:2
Geo
FilterValue formatExample
countryCountry namecountry:United States
country_codeISO 2-letter codecountry_code:US
regionRegion / state nameregion:California
cityCity namecity:New York
dmaDMA namedma:New York
Device & Technology
FilterValue formatExample
browserBrowser namebrowser:Chrome
device_typedesktop, mobile, tabletdevice_type:mobile
device_platformPlatform stringdevice_platform:iOS
device_makeManufacturer namedevice_make:Apple
device_modelModel namedevice_model:iPhone 15
os_versionOS version stringos_version:iOS 17
carrierCarrier namecarrier:Verizon
languageBrowser language codelanguage:en-US
connection_typeConnection type stringconnection_type:wifi
ispISP nameisp:Comcast
People & Managers
FilterValue formatExample
account_managerNumeric employee IDaccount_manager:55
affiliate_managerNumeric employee IDaffiliate_manager:12
sales_managerNumeric employee IDsales_manager:8
account_executiveNumeric employee IDaccount_executive:3
customer_support_managerNumeric employee IDcustomer_support_manager:9
Payout & Revenue
FilterValue formatExample
currencyISO currency codecurrency:USD
revenue_typeRevenue type stringrevenue_type:cpa
revenue_amountNumeric amountrevenue_amount:10
payout_typePayout type stringpayout_type:cpa
payout_amountNumeric amountpayout_amount:5
billing_frequencyFrequency stringbilling_frequency:monthly
Sub-Parameters
FilterValue formatExample
sub1sub5Stringsub1:source_a
adv1adv5Stringadv1:campaign_x
Business & Labels
FilterValue formatExample
labelLabel namelabel:top_affiliate
business_unitBusiness unit namebusiness_unit:retail
project_idNumeric project IDproject_id:101
affiliate_tierTier nameaffiliate_tier:gold
network_statusStatus stringnetwork_status:active
partner_typePartner type stringpartner_type:influencer
partnerPartner name or IDpartner:42
verticalVertical namevertical:ecommerce
client_typeClient type stringclient_type:managed
offer_typeOffer type stringoffer_type:cost_per_action
advertiser_billing_frequencyBilling frequencyadvertiser_billing_frequency:weekly
customer_billing_item_typeBilling item typecustomer_billing_item_type:invoice
These are also the valid values for the sort_by parameter.Volume
MetricDescription
impressionsTotal impression count
gross_clicksAll clicks including duplicates
clicksValid clicks
unique_clicksDeduplicated clicks
duplicate_clicksDuplicate clicks within dedup window
invalid_clicksClicks flagged as invalid
conversionsApproved conversions
total_conversionsAll conversions regardless of status
eventsPost-conversion events
Revenue & Cost
MetricDescription
payoutTotal affiliate payout
revenueTotal advertiser revenue
profitRevenue minus payout
gross_salesGross sale amount
media_buying_costMedia buying cost
Rates & Efficiency
MetricDescription
ctrClick-through rate
cvrConversion rate
epcEarnings per click
rpcRevenue per click
cpaCost per action
cpcCost per click
cpmCost per thousand impressions
roasReturn on ad spend
marginProfit margin percentage

run_network_summary

Returns headline performance totals for a date range — no grouping, just aggregate numbers. Optionally includes a comparison against the prior equivalent period. Parameters:
ParameterTypeRequiredDescription
fromstringYesStart date (YYYY-MM-DD)
tostringYesEnd date (YYYY-MM-DD)
timezonestringNoIANA timezone name — max 64 chars
currencystringNoCurrency code (default: USD) — max 8 chars
includestringNocomparison — adds prior-period metrics for delta analysis — max 256 chars

search_clicks

Searches raw click events within a date-time window.
This tool is not paginated. It returns a single capped result set — at most 1,000 records, sorted by most recent first. The response includes a capped_at field indicating the ceiling. If you need aggregated counts instead of raw records, use run_performance_report.
Results are automatically filtered by affiliate visibility. If your account has a limited affiliate scope, rows for affiliates outside that scope are silently excluded. This may cause result counts to be lower than expected when querying without an affiliate_id filter.
Parameters:
ParameterTypeRequiredDescription
fromstringYesStart datetime (YYYY-MM-DD or YYYY-MM-DD HH:MM:SS)
tostringYesEnd datetime — maximum 14-day window from from
offer_idstringNoFilter by offer ID — max 64 chars
affiliate_idstringNoFilter by affiliate ID — max 64 chars
advertiser_idstringNoFilter by advertiser ID — max 64 chars
error_codestringNoFilter by error code — max 64 chars
countrystringNoFilter by 2-letter ISO country code — max 64 chars
sub1sub5stringNoFilter by sub parameter value — max 600 chars each
source_idstringNoFilter by traffic source ID — max 600 chars
Response envelope:
FieldTypeDescription
clicksarrayArray of click records (see fields below)
totalnumberNumber of records returned
capped_atnumberHard ceiling applied — always 1000
Per-record fields:
FieldTypeDescription
transaction_idstringTransaction ID
timestampstringClick datetime (UTC, YYYY-MM-DD HH:MM:SS)
offer_idnumberOffer ID
affiliate_idnumberAffiliate ID
advertiser_idnumberAdvertiser ID
error_codenumberError code (0 = no error)
is_uniquebooleanWhether this was a unique click
payoutnumberPayout amount
revenuenumberRevenue amount
currencystringCurrency code
countrystringCountry code (if present)
sub1sub5stringSub parameters (omitted if empty)
source_idstringTraffic source ID (omitted if empty)
campaign_idnumberCampaign ID (omitted if not set)

search_conversions

Searches conversion events within a date-time window.
This tool is not paginated. It returns a single capped result set — at most 500 records, sorted by most recent first. The response includes a capped_at field indicating the ceiling. For aggregated conversion counts, use run_performance_report.
Results are automatically filtered by affiliate visibility. If your account has a limited affiliate scope, rows for affiliates outside that scope are silently excluded. This may cause result counts to be lower than expected when querying without an affiliate_id filter.
Parameters:
Use full UTC day windows for reliable results — YYYY-MM-DD 00:00:00 to YYYY-MM-DD 23:59:59. Sub-hour windows may return an error.
ParameterTypeRequiredDescription
fromstringYesStart datetime (YYYY-MM-DD or YYYY-MM-DD HH:MM:SS). Use 00:00:00 for reliability.
tostringYesEnd datetime (YYYY-MM-DD or YYYY-MM-DD HH:MM:SS). Use 23:59:59 for reliability.
offer_idstringNoFilter by offer ID — max 64 chars
affiliate_idstringNoFilter by affiliate ID — max 64 chars
advertiser_idstringNoFilter by advertiser ID — max 64 chars
statusstringNoapproved, pending, rejected, invalid — max 64 chars
sub1sub5stringNoFilter by affiliate sub parameter value — max 600 chars each
adv1adv5stringNoFilter by advertiser sub parameter value — max 600 chars each
source_idstringNoFilter by traffic source ID — max 600 chars
countrystringNoFilter by 2-letter ISO country code — max 64 chars
Response envelope:
FieldTypeDescription
conversionsarrayArray of conversion records (see fields below)
totalnumberNumber of records returned
capped_atnumberHard ceiling applied — always 500
Per-record fields:
FieldTypeDescription
conversion_idstringConversion ID
transaction_idstringClick transaction ID
timestampstringConversion datetime (UTC, YYYY-MM-DD HH:MM:SS)
statusstringConversion status
offer_idnumberOffer ID
offer_namestringOffer name
affiliate_idnumberAffiliate ID
affiliate_namestringAffiliate name
payoutnumberPayout amount
revenuenumberRevenue amount
countrystringCountry code (if present)
sub1sub5stringSub parameters (omitted if empty)
order_idstringOrder ID (omitted if empty)
coupon_codestringCoupon code (omitted if empty)
is_scrubbooleanPresent and true if conversion was scrubbed

get_click

Looks up a single click event by transaction ID. Use this as the first step when a partner reports a missing click, tracking failure, or attribution dispute. Parameters:
ParameterTypeRequiredDescription
transaction_idstringYesThe 32-character transaction ID
Response fields:
FieldDescription
transaction_idTransaction ID
timestampClick datetime (UTC)
offer_id, offer_nameOffer
affiliate_id, affiliate_nameAffiliate
advertiser_id, advertiser_nameAdvertiser
campaign_idCampaign ID (if set)
error_code, error_messageError details (0 = no error)
is_unique, is_view_through, is_test_modeClick flags
payout, revenue, currencyFinancial
country, region, cityGeo
browser, platform, device_type, os_versionDevice
user_ipClient IP
sub1sub5Sub parameters
source_id, referer, coupon_codeSource data
has_conversionWhether this click converted
previous_transaction_idPrior click in redirect chain

get_conversion

Looks up a single conversion event by conversion ID. Parameters:
ParameterTypeRequiredDescription
conversion_idstringYesThe unique conversion ID
Response fields:
FieldDescription
conversion_id, transaction_idIdentifiers
timestamp, click_timestampEvent datetimes (UTC)
status, error_code, error_messageStatus and error
offer_id, offer_nameOffer
affiliate_id, affiliate_nameAffiliate
advertiser_id, advertiser_nameAdvertiser
campaign_idCampaign ID (if set)
payout, revenue, sale_amountFinancial
payout_type, revenue_type, currencyPayout structure
event_id, event_nameConversion event
order_id, coupon_codeOrder data
is_scrub, is_view_throughFlags
country, region, cityGeo
platform, device_type, browser, os_versionDevice
sub1sub5Sub parameters
adv1adv5Advertiser sub parameters
source_id, refererSource data