# Facebook Ads

Esta integración permite enviar audiencias desde Gopersonal a una cuenta de Facebook Ads.&#x20;

Para agregar esta integración:&#x20;

1- Ir a la sección Integraciones

2- Seleccionar la integración Facebook Ads y presionar Agregar

<figure><img src="/files/m648xcvV9v4rSeLaXV3Y" alt=""><figcaption></figcaption></figure>

3- Completar los datos requeridos.&#x20;

<figure><img src="/files/uG9vSEC6NhMNQgGzHdsT" alt=""><figcaption></figcaption></figure>

**Name:** Nombre de la cuenta. Este dato es para uso interno y facilitar el acceso en caso de haber varias cuentas.&#x20;

**Account ID:** Identificador de la cuenta de Facebook Ads. El mismo se obtiene desde [https://adsmanager.facebook.com](https://adsmanager.facebook.com/). &#x20;

<figure><img src="/files/d6MgRf4QMc7juNlWwm1x" alt=""><figcaption></figcaption></figure>

**Access Token:** Para obtener el access token seguir estos pasos:&#x20;

a- Ingresar a settings de la cuenta presionando <img src="/files/4Sp8ukZjtd4ayZslgjo4" alt="" data-size="line">.&#x20;

<figure><img src="/files/FGOx27HoACSPV2rJhbeJ" alt=""><figcaption></figcaption></figure>

b- Crear una nueva App y llamarla gopersonal.&#x20;

<figure><img src="/files/4Fm6EKUiiY2Ssu9FUaGs" alt=""><figcaption></figcaption></figure>

c- Seleccionar Other, se creara una app común y se agregarán permisos del producto Marketing API.&#x20;

<figure><img src="/files/RihJj8R4gZZmAYPBOgGl" alt=""><figcaption></figcaption></figure>

d- Seleccionar Business y continuar.&#x20;

<figure><img src="/files/IRrgtADdw9LlBeZW9yV9" alt=""><figcaption></figcaption></figure>

Revisar los detalles y en caso de estar ok confirmar la creación de la app.&#x20;

e- En la sección Apps ir a "Open in App Dashboard" para ir al detalle de la App. También es posible acceder desde [developers.facebook.com](https://developers.facebook.com/)

<figure><img src="/files/B0NoaODyJYQtwSZYWLFk" alt=""><figcaption></figcaption></figure>

f- Presionar en Add Product y seleccionar Marketing API.&#x20;

<figure><img src="/files/nECydxYOF2vr1DH40CVh" alt=""><figcaption></figcaption></figure>

g- En settings de Marketing API o Tools seleccionar el permiso ads\_management y presionar Get Token. Copiar y pegar el token en la integración.&#x20;

<figure><img src="/files/fGHSzNwebzkKPn9L950R" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
El token se muestra solo 1 vez.&#x20;
{% endhint %}

{% hint style="warning" %}
Este token puede vencer. De existir error en la integración prueba generar un nuevo token y pegarlo en la integración.&#x20;
{% endhint %}


---

# 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://academy.gopersonal.ai/integraciones/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.
