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

# Meta Ads

> Let the Dema Agent read ad performance and manage campaigns across Facebook and Instagram.

<Badge color="yellow">Coming Soon</Badge>

## Overview

Once Meta Ads is connected, the Dema Agent will be able to read ad performance, inspect campaign structures, and manage campaigns across Facebook and Instagram. Useful for diagnosing paid social performance and applying adjustments without leaving a conversation.

***

## Prerequisites

* A Meta Business account with access to the ad accounts you want Dema to use.
* Permission to approve third-party apps on the Meta Business Manager.

***

## Connect Meta Ads

1. In Dema, go to **Agents → Settings → Integrations**.
2. Find **Meta Ads** and click **Connect**.
3. Sign in to Facebook and approve the scopes Dema requests.
4. Choose which ad accounts and pages Dema can access.
5. You are returned to Dema with the integration marked as Active.

***

## Scopes Dema requests

| Scope                   | What it allows                                |
| ----------------------- | --------------------------------------------- |
| `ads_read`              | Read ad account performance and structure     |
| `ads_management`        | Create and update campaigns, ad sets, and ads |
| `pages_read_engagement` | Read engagement data on linked pages          |
| `pages_show_list`       | List pages your account has access to         |

***

## Troubleshooting

* **Ad account missing.** Meta asks you to pick which ad accounts and pages to share with the Dema Agent during the approval step. If an account is missing, reconnect and select it in the approval screen.

***

## Additional resources

* [Meta Business Help Center](https://www.facebook.com/business/help)
