Skip to main content
GET
Get campaign countries

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign_id
string
required

Campaign ID. Format: cmp_ followed by 32 lowercase hexadecimal characters.

Example:

"cmp_8a1d4e2f6b7c4d9e8f0a1b2c3d4e5f60"

Response

Successful response

Where the viewers of a campaign's clips are. These are the figures on the campaign Analytics tab.

campaign_id
string
required

Campaign ID.

Pattern: ^cmp_[0-9a-f]{32}$
Example:

"cmp_8a1d4e2f6b7c4d9e8f0a1b2c3d4e5f60"

total_views
integer
required

Every view on the clips that can earn. The countries and other add up to this number.

Required range: -9007199254740991 <= x <= 9007199254740991
Example:

1180000

total_spend_cents
integer
required

The spend of every country and other added together, in cents.

Required range: -9007199254740991 <= x <= 9007199254740991
Example:

236000

budget_cents
integer
required

The campaign budget, in cents. spend_percent is a percentage of this amount.

Required range: -9007199254740991 <= x <= 9007199254740991
Example:

500000

countries
object[]
required

Each country, most views first.

other
object
required

The views that have no country.