Campaigns V2

Campaign Overview Stats

Returns per-campaign overview stats (users, conversions, conversion rate, proceeds) for the campaigns list cards, served from a shared edge-cached snapshot with stale-while-revalidate. Requires campaigns:read scope.

get/v2/campaigns/overview-stats

Query parameters

application_idstring required

Application ID (required)

Application ID (required)

date_preset'last_24_hours' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days' | 'last_180_days' | 'last_365_days' | 'year_to_date'

Date preset for the stats (default: last_24_hours)

Date preset for the stats (default: last_24_hours)

environment'PRODUCTION' | 'SANDBOX'

Environment for the stats (default: PRODUCTION)

Environment for the stats (default: PRODUCTION)

refresh'true' | 'false'

a string to be decoded into a boolean

Response

Success

object'campaign_overview_stats' required
environment'PRODUCTION' | 'SANDBOX' required

Environment the stats were computed for

date_preset'last_24_hours' | 'today' | 'yesterday' | 'last_7_days' | 'last_30_days' | 'last_90_days' | 'last_180_days' | 'last_365_days' | 'year_to_date' required

Date preset the stats were computed for

computed_atnumber required

Epoch milliseconds when the returned snapshot was produced

dataobject required

Overview stats keyed by campaign ID

Changes

No recorded changes to this endpoint across all 2 revisions of this API.