Skip to navigation

Get ad campaign stats

View as Markdown

Lifetime performance stats for a single Meta ad campaign. All figures are Meta-reported, served from Hive’s cached stats. stats is null when insights have never been cached for the campaign.

Authentication

AuthorizationBearer

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

Path parameters

campaign_idstringRequired

Headers

X-Partner-IdstringRequired
Your OAuth application client ID.

Response

campaign_idstring
stats_refreshed_atdatetime or null
statsobject or null

Versioned view over the cached Meta lifetime insights — the raw insights blob is never passed through. All figures are Meta-reported; ads have no Hive-attributed revenue sections (unlike email and SMS).

Errors

404
Not Found Error