> For the complete documentation index, see [llms.txt](https://docs.patagon.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patagon.ai/marketing-e-atribuicao/google-campaigns/landing-to-whatsapp.md).

# Como criar campanhas Landing → WhatsApp com o Google Ads

Uma campanha Landing → WhatsApp leva o tráfego do Google para a sua landing page, onde os visitantes clicam em um botão de WhatsApp e iniciam uma conversa com seu agente. Este é o **único caminho do Google que a Patagon AI consegue atribuir**: a landing page executa o script da Patagon AI, que captura o `gclid` e seus UTMs.

Funciona com **qualquer tipo de campanha do Google** (Search, Performance Max ou Demand Gen). A configuração que importa para a Patagon AI é a mesma em todos os casos: a **URL final do anúncio é a sua landing page**, e o rastreamento está configurado para que os dados de origem cheguem até ela.

## Pré-requisitos

* Uma landing page **no seu próprio domínio** com o script de rastreamento da Patagon AI instalado e um botão de WhatsApp que use seu link de rastreamento da Patagon AI. Veja [Como capturar dados de atribuição](/marketing-e-atribuicao/capturing-attribution-data.md).
* Auto-tagging ativado e um final URL suffix com UTMs configurado. Veja [Como configurar a atribuição do Google Ads (UTMs)](/marketing-e-atribuicao/google-campaigns/google-utm-tracking.md).

## Passos

1. **Crie sua campanha** no Google Ads com o tipo que se encaixa no seu objetivo (Search, Performance Max ou Demand Gen).
2. **Defina a URL final como sua landing page**: a página com o botão de WhatsApp e o script da Patagon AI. É isso que permite que a Patagon AI capture a origem de cada conversa.
3. **Configure o rastreamento** para que a Patagon AI possa atribuir os leads: ative o auto-tagging (captura o `gclid`) e adicione seu final URL suffix com UTMs. Ambos são explicados em [Como configurar a atribuição do Google Ads (UTMs)](/marketing-e-atribuicao/google-campaigns/google-utm-tracking.md).
4. **Configure uma conversão e otimize por ela.** Como a Patagon AI ainda não pode enviar conversões para o Google, defina uma conversão sobre o **clique no botão de WhatsApp** da sua landing page e configure a campanha para otimizar por ela. Ou seja, otimize por *conversas iniciadas*.
5. **Publique** a campanha.

{% hint style="info" %}
Otimizar por leads qualificados (enviar as conversões de leads qualificados da Patagon AI de volta para o Google) será possível quando as conversões offline do Google estiverem disponíveis. Até lá, otimizar por conversas iniciadas é o objetivo certo.
{% endhint %}


---

# 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.patagon.ai/marketing-e-atribuicao/google-campaigns/landing-to-whatsapp.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.
