> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Meta Ads Insights

> Mount configurable Meta Ads performance reports on your app.

Follow the [REST mounting guide](https://docs.bijection.com/integrations/native-rest.md#mount-and-bind).
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.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{ profile: { mode: "provider", provider: "meta.insights.report", selection: "1203",
  start: "2026-10-01", end: "2026-10-07", limit: 40,
  report: { dimensions: ["campaign_id", "publisher_platform"], metrics: ["impressions", "clicks", "spend"] } } }
```

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](https://developers.facebook.com/docs/marketing-api/insights/)

## 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](https://docs.bijection.com/integrations/native-rest.md#native-provider-writes)
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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.