Skip to main content
GET
Campaign Stats

Authorizations

X-API-Key
string
header
required

Your API key from the Studio Dashboard

Path Parameters

public_id
string
required

Campaign public id (cpcp_xxxxxxxx), from campaign_id on GET /cpc/campaigns.

Pattern: ^[a-z0-9_]+$

Query Parameters

date_from
string<date>

Lower bound for the daily and fans_daily series (YYYY-MM-DD, UTC, inclusive). totals are always lifetime.

date_to
string<date>

Upper bound for the daily and fans_daily series (YYYY-MM-DD, UTC, inclusive). At most 400 days after date_from.

Response

Successful response

success
boolean
Example:

true

data
object