Get Facebook campaign-level insights

Get performance insights broken down by campaign including impressions, clicks, spend, CTR, CPC, and conversions. Use when user asks 'how is my campaign performing', 'compare campaign performance', 'campaign metrics'.

get/api/v1/facebook/insights/campaign

Request

  • Base URL: https://localhost:3000
  • URL: https://localhost:3000/api/v1/facebook/insights/campaign
  • Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token)

Query parameters

campaign_idstring

Filter insights to a specific campaign ID

date_presetstring

Predefined date range (e.g. last_7d, last_30d, last_90d, this_month, last_month)

start_datestring date

Start date for custom range (YYYY-MM-DD)

end_datestring date

End date for custom range (YYYY-MM-DD)

Response

Campaign-level performance insights

object required

Changes

No recorded changes to this operation across all 1 revision of this API.