Skip to main content
Follow the REST mounting guide. Pass as receivers.provider a receiver bound with providerEndpoint for meta.insights.report on https://graph.facebook.com at /v26.0/act_1203/insights, replacing 1203 with the ad account ID. Seal a Meta bearer token with ads_read. Bind the receiver and the mount under the same protected data label.
Select one entity level with account_id, campaign_id, adset_id or ad_id. Optionally add one breakdown from age, gender, country, publisher_platform and device_platform. Metrics include impressions, clicks, spend, ctr, cpc and cpm; account or entity totals without a breakdown also support reach and frequency. Each sweep covers the same inclusive interval of up to 31 days. Each answer admits up to 100 rows and 36 KiB. The connector retains the after cursor from each Graph page and uses the installed endpoint for the next request. It starts a new sweep after exhaustion. Keys combine account, entity, day and optional breakdown value. Missing groups leave earlier observations in place. Meta Insights API

Campaigns, ad sets, ads, and creatives

Use meta.campaigns.observations, meta.ad-sets.observations, meta.ads.observations or meta.creatives.observations with the same mount label, ad account selection and bearer credential. Bind the corresponding /v26.0/act_ACCOUNT_ID/campaigns, /adsets, /ads or /adcreatives edge under the same account path. Set limit from one to 100 and omit report terms. The feed checks the returned account and entity ID, and retains Graph’s after between pages. Each 36 KiB answer lands observations keyed by account and entity ID. Exhaustion restarts the sweep. Missing entities leave earlier observations in place.

Conversion writes

Bind a writer with providerWriter for meta.conversions.upload on the Graph origin. Set scope to one numeric dataset or pixel ID. Seal a server-event bearer token. Submit a create command comprising one event with event_name, event_id, event_time in epoch seconds, action_source and user_data. The receipt requires events_received: 1. Follow the native write guide and bind the same protected data label to the mount and the writer. Each command takes one JSON object up to 24 KiB. The mount binds its key to the exact command and dispatches once. An unresolved dispatch stays unknown. Acknowledgement does not establish attribution.