> 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/pt/tutoriais/tutoriais-para-editores/wordpress-exoclick-ad-zone-set-up.md).

# Como usar os códigos das zonas de anúncios da ExoClick no WordPress

Integrar os códigos da Ad Zone do ExoClick no WordPress é simples e pode ser feito de várias formas.

Este guia irá guiá-lo por quatro métodos diferentes para adicionar zonas de anúncios do ExoClick ao seu site WordPress.

{% stepper %}
{% step %}

## Adicionar um bloco HTML personalizado no WordPress

Aceda ao Editor do WordPress

* Abra a publicação ou página onde pretende colocar o anúncio

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2FwQvUDGKiakCWeZayPdoa%2Fwp1.png?alt=media&amp;token=3aab8e8f-30f0-4021-a669-dae9a191d93d" alt=""><figcaption></figcaption></figure>

Adicione um bloco HTML personalizado

* Clique no **“+”** botão (Adicionar bloco)
* Procure **“HTML personalizado”** e selecione-o

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2FJX0Pfw2PscJVgLmhQiGj%2Fwp2.png?alt=media&amp;token=801a41fc-9594-4654-af41-1ab9e78ca3c4" alt=""><figcaption></figcaption></figure>

Obtenha o código da sua Ad Zone criada

* Copie o código da Ad Zone do ExoClick

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2Fr6hIb4QUcLX4FVhLHjMi%2Fwp3.png?alt=media&amp;token=b93a46dd-877b-4bd4-a299-08ac4a86584f" alt=""><figcaption></figcaption></figure>

Adicione o código do anúncio (banner, native, etc - **excluindo popunders**)

* Cole-o dentro do **bloco HTML personalizado**

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2FhL6hcIVu8pO8Zn3z2sLi%2Fwp4.png?alt=media&amp;token=73bbfc0e-0f35-4c6f-a9d6-5a2d16412249" alt=""><figcaption></figcaption></figure>

Agora pode testar o anúncio ao pré-visualizá-lo

* Clique em Pré-visualizar para verificar se o anúncio aparece corretamente
* Se tudo estiver correto, clique em **Publicar/Atualizar** para guardar as alterações

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2FxEDdYlU3cvZSWQ2ilFcK%2Fwp5.png?alt=media&amp;token=43d2d3ad-16a9-4bcb-b55d-e38dc0c64651" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## Utilizar o plugin Ad Inserter

Instalar o plugin Ad Inserter

* Aceda ao Painel de controlo do WordPress > Plugins > Adicionar novo
* Procure **"Ad Inserter"** plugin, instale-o e ative-o

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2FZWmAqi2BN6qRx1Xr5sIt%2Fwp6.png?alt=media&amp;token=d6568691-6604-4e8e-a811-276b62dfb014" alt=""><figcaption></figcaption></figure>

Obtenha o código da sua Ad Zone criada

* Copie o código da Ad Zone do ExoClick

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2Fr6hIb4QUcLX4FVhLHjMi%2Fwp3.png?alt=media&amp;token=b93a46dd-877b-4bd4-a299-08ac4a86584f" alt=""><figcaption></figcaption></figure>

Configurar o Ad Inserter

* Aceda ao Painel de controlo do WordPress > Definições > Ad Inserter
* Cole o código do anúncio copiado no bloco de código apropriado
* Guardar definições

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2FpLRXd2xLTyzvnzvkqS8C%2Fwp7.png?alt=media&amp;token=e3dff035-eab7-4326-bc37-8d864a1a542b" alt=""><figcaption></figcaption></figure>

Inserir anúncios em publicações ou páginas

* Edite uma publicação ou página onde pretende exibir o anúncio
* Utilize o shortcode do Ad Inserter **\[adinserter blockID]** no editor
* Substitua **blockID** com o número do bloco configurado no Ad Inserter

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2FpuoS5BKdPlcLOiCqLpZ5%2Fwp8.png?alt=media&amp;token=dbcc5a11-18d0-4164-9e38-ed290cbdfeeb" alt=""><figcaption></figcaption></figure>

Se tudo tiver sido configurado corretamente, deverá agora ver a sua zona de anúncio

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2FyUgzFQeh8r2g9bKytlvl%2Fwp9.png?alt=media&amp;token=9df39127-eb87-43d8-9ac1-7b6ca430384b" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

## Adicionar um código Popunder através do Editor de Ficheiros do Tema

* Aceda ao Painel de controlo do WordPress > Aparência > Editor de Ficheiros do Tema
* Localize o **footer.php** nos ficheiros do tema
* Copie o código da sua Popunder Ad Zone

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2FPR9v8tnFkjMPOKZVM1vy%2Fwp12-c603c3aa97c9a81ab8783b679db9c2a4.png?alt=media&amp;token=9f7c85b9-e8ed-4053-9da3-23fa120791e4" alt=""><figcaption></figcaption></figure>

* Cole um código da Popunder Ad Zone dentro do **footer.php** ficheiro

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2Fe3GsdPWMGD1Ebud4j9eV%2Fwp11-8857fcf9292a0e7219c61e3dc43f1467.png?alt=media&amp;token=6a67b15f-0e3f-4ff2-87bc-eddc9d93aedf" alt=""><figcaption></figcaption></figure>

**Nota**: Também pode usar **Método 4** para adicionar o seu script Popunder ao rodapé.
{% endstep %}

{% step %}

## Utilizar Inserir Script nos Cabeçalhos e Rodapés

Aceda ao Painel de definições

* Aceda ao Painel de controlo do WordPress > Definições > Inserir Script nos Cabeçalhos e Rodapés

<figure><img src="https://2080288439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4RqRdVZkeXomdmwHKOL%2Fuploads%2FdS6I2N7vipTEk9CCJHBo%2Fwp13.png?alt=media&amp;token=512af6db-db0b-4c89-a998-a7262e9a87e2" alt=""><figcaption></figcaption></figure>

**Nota**: Neste exemplo, usamos o script da Popunder Ad Zone
{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.exoclick.com/tutorials/pt/tutoriais/tutoriais-para-editores/wordpress-exoclick-ad-zone-set-up.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
