# Facebook Ads

The user can get data from the Facebook Ads using the Facebook Ads Data Connector.&#x20;

&#x20;​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fnok8EcyUKYVfzZiH0jWg%2Fimage.png?alt=media\&token=763f12a5-757c-4874-bf16-9a0e6cb70e10)​

The following set of steps displays how to create a new Facebook Ads data connector.

* Select the **Add New Account** option from the **Select Account** drop-down list add a new Facebook account.
* The Facebook login page opens.

  * Provide a relevant email address or phone number
  * Provide the correct password for the selected account
  * Click the ***Log In*** option.

  &#x20;     ​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fnzj5ogX8MjwLbwSCXzpK%2Fimage.png?alt=media\&token=d50db90b-fcdf-46f5-9390-84d1a6fce0ef)​​
* A new page appears to confirm whether the user wants to continue as the displayed name or wants to edit it.

&#x20;    ​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F9duC4huL5MAobi4ZPNW9%2Fimage.png?alt=media\&token=f99322cd-2a9a-4bc7-bc31-8586554c91fe)​

* A new window opens informing that BizViz would like to manage the ads, access your Facebook ads, and related states, and display a list of the pages you manage.
* Click the ***OK*** option to give permission.

&#x20;    ​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FynX9OgQCbONMIGTWpfJ8%2Fimage.png?alt=media\&token=63a89317-b863-4f0a-9551-f0f2a3bbacdf)​

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The user may get a notification page in case of no Business page available in the selected Facebook account.*
{% endhint %}

* The Facebook Ads Connector page reopens with the notification that the user has logged in to the selected Facebook account.
* Provide a Data Connector name.
* Describe the data connection (optional).
* Click the ***Save*** option.

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F0KPWSZucAZ9gQgdi336H%2Fimage.png?alt=media&#x26;token=e734c5f3-5ff8-41c5-a26a-a175ca13f0c4" alt=""><figcaption></figcaption></figure>

* A success message appears, and the newly created Facebook Ads Data Connector gets added to the Data Connectors list.

​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FWSTEYqSIkTXdsA9BpITf%2Fimage.png?alt=media\&token=a5840fbb-1f60-485d-8654-a1ab1c95d2c0)​​


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bdb.ai/data-center-4/data-center/data-connectors/supported-data-connectors/api-connectors/facebook-ads.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
