# Facebook Ads (Meta) connector

> How to connect Facebook Ads to Windsor.ai, available fields, attribution windows, and known API limitations.

The Facebook Ads connector pulls campaign, ad set, ad, and creative data from Meta's Ads API. It exposes 868 fields: 656 metrics and 212 dimensions.

## Connecting Facebook Ads

1. Go to [onboard.windsor.ai](https://onboard.windsor.ai/) and find the **Facebook Ads** connector.
2. Click **Connect** and log in with the Facebook account that has access to your ad accounts.
3. Grant Windsor the requested permissions (read access to ad accounts and insights).
4. Select the ad account(s) you want to pull data from.
5. Configure your query: select fields, date range, and any attribution window settings.

## Available fields

The connector returns data at campaign, ad set, ad, and creative levels.

**Key metric categories:**

- **Spend and delivery** — spend, impressions, reach, frequency, CPM, CPP
- **Clicks and engagement** — clicks, link clicks, CTR, CPC, outbound clicks, post engagement
- **Conversions** — purchases, leads, app installs, adds to cart, registrations, offline conversions
- **Action values** — purchase value, add-to-cart value, conversion values by action type
- **Video** — video views, 3-second views, ThruPlay, video watch time
- **Custom conversions** — your account's custom conversion events

**Key dimension categories:**

- Campaign, ad set, ad, creative attributes
- Placement (Facebook, Instagram, Messenger, Audience Network)
- Device, region, age, gender (as breakdowns)
- Account ID, account name, currency, timezone

## Attribution windows

The connector supports configurable attribution windows:

- **Click windows**: 1 day, 7 days, 28 days
- **View windows**: 1 day, 7 days

Attribution window settings affect conversion counts. When comparing Windsor data to the Meta Ads Manager, make sure both use the same attribution window.

## Known limitations

**Field name differences**: Windsor uses field names that differ from the Meta API's raw names. For example, `adset` is not a valid Windsor field — use `ad_set` or `adset_name`. See [Facebook Ads "Field Not Valid" error](https://windsor.ai/documentation/troubleshooting/facebook-ads-field-not-valid-error.md) for a complete mapping.

**Incompatible breakdowns**: Certain metric and breakdown combinations are rejected by the Meta API. For example, some placement breakdowns cannot be queried together with certain conversion fields. See [Facebook Ads "Field Not Valid" error](https://windsor.ai/documentation/troubleshooting/facebook-ads-field-not-valid-error.md) for a list of incompatible combinations.

**Custom conversions**: Custom conversions are returned differently from standard events. See [Facebook Ads custom conversions troubleshooting](https://windsor.ai/documentation/troubleshooting/facebook-ads-custom-conversions-troubleshooting.md).

**API updates**: Meta periodically deprecates fields and changes attribution behavior. See [Facebook Ads Meta API updates — June 10, 2025](https://windsor.ai/documentation/troubleshooting/facebook-ads-meta-api-updates-june-10-2025.md) for recent changes.

## Troubleshooting

- [Facebook Ads "Field Not Valid" error](https://windsor.ai/documentation/troubleshooting/facebook-ads-field-not-valid-error.md)
- [Facebook Ads custom conversions troubleshooting](https://windsor.ai/documentation/troubleshooting/facebook-ads-custom-conversions-troubleshooting.md)
- [Troubleshooting discrepancies in Facebook (Meta) data](https://windsor.ai/documentation/troubleshooting/troubleshooting-discrepancies-in-facebook-meta-data.md)
- [Facebook Ads Meta API updates — June 10, 2025](https://windsor.ai/documentation/troubleshooting/facebook-ads-meta-api-updates-june-10-2025.md)
- [Resetting or removing Facebook connector authentication](https://windsor.ai/documentation/troubleshooting/resetting-or-removing-facebook-meta-connector-authentication.md)
