> For the complete documentation index, see [llms.txt](https://knowledgebase.offer18.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.offer18.com/es/afiliado/integracion/integracion-con-facebook-ads.md).

# Integración con Facebook Ads

Inicie sesión en la cuenta de anuncios de Facebook

{% embed url="<https://www.facebook.com/adsmanager/>" %}

***

### Crear campaña

1\. Haga clic en el "**+ Crear**" botón para crear una nueva Campaña

![](/files/410bbf888ec575c1cc5446ba368f10fd66980a40)

2\. Elija la **Objetivo de la campaña**

3\. Defina **Nombre de la campaña** y **Presupuesto de la campaña**

![](/files/59218a9f61dc5db9ca406db6f4dfc3c4f9f50734)

#### **Conjunto de anuncios**

* Definir **Horario de la campaña**
* Seleccionar **Ubicaciones** y **Segmentación**&#x20;

#### **Anuncio**

* Elija **Formato del anuncio** desde **Configuración del anuncio**
* Agregar **Creativos** y el **descripción** del **anuncio**
* Agregar **Enlace de seguimiento de afiliado** en "**URL del sitio web**"

![](/files/1b0baa12fd0979fd9842ea34bb48a9dec875475d)

* Haga clic en el **Publicar** botón

Para más información visita&#x20;

{% embed url="<https://en-gb.facebook.com/business/help/621956575422138?id=649869995454285/>" %}

***

### Configuración de Postback <a href="#postback-setup-in-offer18" id="postback-setup-in-offer18"></a>

#### Obtener Postback de Facebook

1\. Ir a **Administrador de eventos** **» Fuentes de datos**

2\. Agregar eventos **»** Selecciona "**Desde un sitio web nuevo**"

![](/files/ff4bb5c06b8fd6893ccf53cbd8a9a7a212d2f799)

3\. Haga clic en "**Instalar código manualmente**"&#x20;

![](/files/22afb1a9577192ed45e8b6650571182f1517c000)

4\. Recoja el segmento de código del píxel usando el "**Copiar código**" botón.

![](/files/724dc799fd567ee9e6dcf8b43b74d1e39bef09f9)

#### Agregar Postback en Offer18

* inicie sesión en el Panel de Afiliados de Offer18
* Ofertas **»** Mis ofertas (Aprobadas)

![](/files/9aab6190ba033a5d64e2ae9a23963d5d4b5a0ebf)

* Haz clic en el nombre de la oferta para entrar en su configuración.
* Desplácese hacia abajo hasta la sección de Postback. &#x20;
* Seleccione un evento del menú desplegable Evento.
* Seleccione "Etiqueta HTML/iframe" en el menú desplegable Tipo.
* Coloque el segmento de código del píxel dentro del campo Postback.
* Haz clic en el botón Añadir

![](/files/d6538e653aae5edc21fde4615b67790d6b993e28)

***

### Resultados de Postback

![](/files/fbcb854b85e8d504268c3113199bba3a061e6cc8)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://knowledgebase.offer18.com/es/afiliado/integracion/integracion-con-facebook-ads.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
