> For the complete documentation index, see [llms.txt](https://docs.exoclick.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exoclick.com/tutorials/es/tutoriales/tutoriales-para-editores/wordpress-exoclick-ad-zone-set-up.md).

# Cómo usar los códigos de zona publicitaria de ExoClick en WordPress

Integrar los códigos de Ad Zone de ExoClick en WordPress es sencillo y puede hacerse de varias maneras.

Esta guía le mostrará cuatro métodos diferentes para añadir zonas de anuncios de ExoClick a su sitio de WordPress.

{% stepper %}
{% step %}

## Añadir un bloque HTML personalizado en WordPress

Vaya al editor de WordPress

* Abra la entrada o página donde desea colocar el anuncio

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

Añada un bloque HTML personalizado

* Haga clic en el **“+”** (botón Añadir bloque)
* Busque **“HTML personalizado”** y selecciónelo

<figure><img src="/files/09089d9a8bc7156eec73a4660e2b08904d9db47b" alt=""><figcaption></figcaption></figure>

Obtenga el código de Ad Zone que ha creado

* Copie el código de Ad Zone de ExoClick

<figure><img src="/files/04207aa8a816232f303bd96522a2fe3eb17f9139" alt=""><figcaption></figcaption></figure>

Añada el código del anuncio (banner, nativo, etc. - **excluyendo los popunders**)

* Péguelo dentro del **bloque HTML personalizado**

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

Ahora puede probar el anuncio previsualizándolo

* Haga clic en Vista previa para comprobar si el anuncio aparece correctamente
* Si todo se ve bien, haga clic en **Publicar/Actualizar** para guardar los cambios

<figure><img src="/files/77393c516449b69d0f7bdf5aefc58bab33bd5657" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## Uso del plugin Ad Inserter

Instale el plugin Ad Inserter

* Vaya al Escritorio de WordPress > Plugins > Añadir nuevo
* Busque **"Ad Inserter"** plugin, instálelo y actívelo

<figure><img src="/files/72007ffdba69c2837dd23bd22fb2959b4745a1b2" alt=""><figcaption></figcaption></figure>

Obtenga el código de Ad Zone que ha creado

* Copie el código de Ad Zone de ExoClick

<figure><img src="/files/04207aa8a816232f303bd96522a2fe3eb17f9139" alt=""><figcaption></figcaption></figure>

Configure Ad Inserter

* Vaya al Escritorio de WordPress > Ajustes > Ad Inserter
* Pegue el código del anuncio copiado en el bloque de código correspondiente
* Guarde la configuración

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

Insertar anuncios en entradas o páginas

* Edite una entrada o página donde desee mostrar el anuncio
* Use el shortcode de Ad Inserter **\[adinserter blockID]** en el editor
* Reemplace **blockID** con el número de bloque configurado en Ad Inserter

<figure><img src="/files/097a7c9de51f5e9831324fba9cda6505797a3b66" alt=""><figcaption></figcaption></figure>

Si todo se configuró correctamente, ahora debería ver su zona de anuncio

<figure><img src="/files/2cd052163ae741231736ef6777c86254bb90f54d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## Añadir un código Popunder mediante el editor de archivos del tema

* Vaya al Escritorio de WordPress > Apariencia > Editor de archivos del tema
* Localice el **footer.php** en los archivos del tema
* Copie el código de su Ad Zone Popunder

<figure><img src="/files/6bef3b056e1c0d3434a0fef4b9a09f61bb0b52cb" alt=""><figcaption></figcaption></figure>

* Pegue un código de Ad Zone Popunder dentro del **footer.php** archivo

<figure><img src="/files/8d8dd21477b73dadeb6251485edd2442e54c63ad" alt=""><figcaption></figcaption></figure>

**Nota**: También puede usar **el Método 4** para añadir su script Popunder al pie de página.
{% endstep %}

{% step %}

## Uso de Insert Script In Headers And Footers

Acceda al panel de ajustes

* Vaya al Escritorio de WordPress > Ajustes > Insert Script In Headers And Footers

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

**Nota**: En este ejemplo, usamos el script de Ad Zone Popunder
{% endstep %}
{% endstepper %}


---

# 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://docs.exoclick.com/tutorials/es/tutoriales/tutoriales-para-editores/wordpress-exoclick-ad-zone-set-up.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.
