# Facebook Ads Insights

Integrar Facebook Ads Insights con GearPlug te permite extraer los datos necesarios para evaluar el desempeño de tus campañas, importando las métricas a una base de datos.

Como origen, Facebook Ads Insights ofrece 4 acciones. Cada una extrae información a un nivel distinto:

* **Ad account**: Información del desempeño de tu cuenta completa.
* **Campaign**: Información del desempeño de una campaña.
* **Adset**: Información del desempeño de un adset.
* **Ads:** Información del desempeño de un ad.

Sigue los pasos a continuación para configurar tu Plug de origen.

1. **Selecciona Facebook Ads Insights** como tu App de origen en la sección “Gears” de tu app de GearPlug. Haz clic en “Crear”.

<figure><img src="https://lh3.googleusercontent.com/aYkWbHjtrcoY_9lryrCMv6zxXlP1z1iz5xz15FnViqP8hJCcGJu0i3cedcHwEZFZJNUfEobut2OrV12XoKv27Rpr7M68EYvmzJ76MLFDp3XTDOnZoQcMlofUZX18rhyVhhAlaMtiQHkhQwH1Y71JnQ" alt=""><figcaption></figcaption></figure>

2. **Selecciona la conexión** que deseas usar o crea una nueva. Haz clic en “Continuar”. GearPlug hará una breve prueba para verificar que todo funciona correctamente.

<figure><img src="https://lh3.googleusercontent.com/ZHlNrTaMpp3I58ds69P4zRsqBowVRq9GYxXU9Wr4nymA-1pTCgRduj26hk_kt8SGZ25ujYMyM8Ka6VTpF0twXGUWzAUZW7GIhFRm9agFhS1T73dKZ4n2unIQ4D9IxCSTD3-GxeTXAoWpdjtnx-pW_A" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
GearPlug comprobará si tu conexión funciona correctamente y continuará con el proceso. Si no funciona, no podrás continuar con la creación.
{% endhint %}

3. **Selecciona la acción** correspondiente a los datos que quieres extraer: tu cuenta, una campaña, un adset, o un ad. Llena los campos requeridos, incluyendo la cuenta que quieres usar, desde qué día, mes y año deseas cubrir, y cada cuánto tiempo quieres extraer datos. Haz clic en “Crear”.

<figure><img src="https://lh6.googleusercontent.com/pHapcaWxPJh-AovuX7eZgbNzMzG4j6AaNpzOJ2b2m45qVyRq3rOROK1jjxJ3Q5M1Jqb2f818QKw9pCcv55w4y6BmyhcSfdrhwZl2_q9tIW9UzpkuLWSMvj__Z1NkHy03LsFT4QYrnaniOtVX5LONDA" alt=""><figcaption></figcaption></figure>

4. **Revisa los datos importados** para asegurarte de que todo funciona correctamente. Luego, haz clic en “OK” para finalizar la configuración de tu Plug de origen.

<figure><img src="https://lh3.googleusercontent.com/4TLTTLHXYkd6yVGtjmukjFrVAGGcLS-ubruHC5Xdkv7PsBMo1qEOmtAoDLk1kyBYDV2dfcBSCwxYU7KM13VWtii-H8IC3TTs1Mxqar_wCz65euM1sf4vKjIAP23G0WcHNMHNhxhz_800BRPOP5snrw" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Campos vacíos**: Acá, verás una lista de campos que puedes importar—pero no fueron usados en la entrada.
{% 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://docs.gearplug.io/configura-tus-conexiones/facebook-ads/facebook-ads-insights.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.
