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

# Meta integration

> How AdLoft connects to Meta to sync data and publish campaigns.

Meta is AdLoft's core integration. It's the source of truth for your performance data and the destination for the campaigns you publish. AdLoft uses Meta Graph API **v22.0**.

<Info>
  Meta is the only fully wired ad platform today. Google and Snapchat appear in the product as future channels but are not yet available for syncing or publishing.
</Info>

## What the integration does

Once connected, AdLoft can:

* **Import** the ad accounts your Facebook login can access.
* **Sync** campaigns, ad sets, ads, creatives, and daily performance metrics.
* **Publish** new campaigns, ad sets, and ads (created paused) directly into Meta.

## Connect Meta

See [Connect Meta](/getting-started/connect-meta) for the full authorization flow, the permissions requested, and how to connect multiple logins. In short:

1. From **Workspace → Accounts**, click **Connect Meta**.
2. Authorize on Facebook, granting all requested permissions.
3. Link the imported ad accounts to your brands.

<Note>
  Connecting, linking, syncing, attribution, disconnecting, and resyncing all require the **owner** or **admin** role.
</Note>

## Connection health

A Meta connection is one of:

* **Connected** — has a valid access token.
* **Error** — the token is invalid/expired or permissions were revoked. AdLoft surfaces a warning so you can reconnect.
* **Disconnected** — manually disconnected; its ad accounts are unlinked.

The Accounts page shows a connection status cell and the time of your last sync.

## Resync vs. full sync

Two different "refresh" actions exist:

| Action                                      | What it refreshes                                                                                                   |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| **Resync** (on a connection card)           | Just the list of ad accounts for that Meta login — not metrics.                                                     |
| **Sync Meta data** / **Run full Meta sync** | Campaigns, ad sets, ads, creatives, and metrics for every linked account. See [Data sync](/integrations/data-sync). |

## Disconnect

Click **Disconnect** on a connection card to remove it. This clears the access token and **unlinks all ad accounts** that belonged to that login from their brands. Already-synced data isn't deleted.

## In this section

<CardGroup cols={2}>
  <Card title="Link ad accounts" icon="link" href="/integrations/ad-accounts">
    Assign imported Meta ad accounts to brands and manage slots.
  </Card>

  <Card title="Data sync" icon="rotate" href="/integrations/data-sync">
    How AdLoft pulls structure and metrics from Meta.
  </Card>

  <Card title="Attribution" icon="crosshairs" href="/integrations/attribution">
    Choose the click and view windows used for reporting.
  </Card>

  <Card title="Goals" icon="bullseye" href="/integrations/goals">
    Set target ROAS and CPA per brand.
  </Card>
</CardGroup>
