> 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/en/marketing-and-attribution/meta-ads/meta-campaigns.md).

# How to create Meta campaigns

Once Patagon AI is capturing attribution and sending conversions back to Meta, the next step is to build Meta campaigns that **optimize for your qualified leads** — not just clicks or replies. Done right, this is what drives your qualified-lead (MQL) CPA down.

There are two types of campaign you can run with Patagon AI:

| Campaign type                | How users reach WhatsApp                                                     | Guide                                                                                                                      |
| ---------------------------- | ---------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| **Landing → WhatsApp**       | A Meta ad sends people to a landing page, where they click a WhatsApp button | [How to create landing → WhatsApp campaigns](/en/marketing-and-attribution/meta-ads/meta-campaigns/landing-to-whatsapp.md) |
| **Click-to-WhatsApp (CTWA)** | A Meta ad opens WhatsApp directly                                            | [How to create Click-to-WhatsApp campaigns](/en/marketing-and-attribution/meta-ads/meta-campaigns/click-to-whatsapp.md)    |

## Before you start

* **Meta connected and conversions mapped** in Patagon AI — see [How to connect Meta and map conversions](/en/marketing-and-attribution/meta-ads/meta-conversions-api.md).
* For Landing → WhatsApp campaigns, your landing page must have the **Patagon AI tracking script** installed and its WhatsApp button must use your **Patagon AI tracking link** — see [How to capture attribution data](/en/marketing-and-attribution/capturing-attribution-data.md).

{% hint style="info" %}
Your Meta **campaign objective** must be compatible with the **standard event** you mapped in Patagon AI. Plan the two together — each guide lists which events each objective accepts.
{% 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/en/marketing-and-attribution/meta-ads/meta-campaigns.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.
