Retrieve the revenue attributed to a campaign

Retrieve the revenue attributed to a campaign, one row per currency, plus whether revenue is tracked for it at all.

Attributed revenue is a lifetime figure, so this endpoint takes no date window and no paging. Amounts are integers in the currency's minor unit (for example 129900 for 1,299.00 USD); v1's preformatted total_revenue_formatted string is not carried, so format the amount yourself.

Currencies with no attributed revenue are omitted, so revenues is an empty array for a campaign that generated none.

Requires the Campaigns feature and access to the campaign; a campaign the user cannot see is reported as 404 so the endpoint does not disclose which campaign ids exist.

Path Params
int32
required

id of the campaign to report on

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json