---
title: Meta Ads
slug: meta-ads
docTags: GU3MGNeaG5cMlFkw4O_mG
createdAt: 2025-08-17T22:10:28.286Z
---

When running **Facebook Ads with a WhatsApp objective**, Wazzap can automatically capture the **campaign data** and send it into your CRM using **Custom Fields**.

This allows you to track the source of each lead, understand which campaigns perform best, and optimize your ad spend.

### Custom Fields

To make sure campaign data is stored correctly, you must create the following **Custom Fields** in your CRM.

:::hint{type="danger"}
⚠️ The field names must match **exactly** (case-sensitive):
:::

ad\_conversion\_source    // Fuente del anuncio (ej. FB\_Ads)
ad\_app\_origin           // App de origen (facebook, instagram)
ad\_entry\_point\_source   // Tipo de entrada (ctwa, botón, etc.)

ad\_title                // Título del anuncio
ad\_body                 // Texto principal del anuncio
ad\_description          // Descripción secundaria del anuncio
ad\_media\_url            // URL de la imagen o video del anuncio

ad\_source\_type          // Tipo de fuente (ad, post, video)
ad\_source\_id            // ID del anuncio (clave para marketing)
ad\_source\_url           // URL del anuncio (fb.me/...)
ad\_click\_id             // Click ID (usado para Conversion API)

ad\_text                 // Texto escrito por el usuario o caption
ad\_matched\_text         // Texto del botón predefinido (si hubo)
ad\_message\_title        // Título interno del mensaje
ad\_quoted\_message       // Mensaje al que respondió el usuario (si aplica)&#xA;**&#xD;**

### How it works

1. When a lead comes in from a Facebook Ad with **WhatsApp as the objective**, Wazzap captures the campaign parameters.
2. These parameters are automatically mapped to the **Custom Fields** in your CRM.
3. If the fields exist and match the names exactly, the values will be stored automatically.
4. You can then use these fields in **reporting, workflows, and lead segmentation**.

### Example

**Incoming Lead from Facebook Ad**

- Ad Title: *Free Trial Campaign*
- Source Type: *Meta Ads*
- Source URL: *https\://www\.facebook.com/ad123*

**CRM Custom Fields (after sync):**

- title → Free Trial Campaign
- sourceType → Meta Ads
- sourceUrl → https\://www\.facebook.com/ad123

### CRM-Specific Setup

- Depending on your CRM, the way to create **Custom Fields** may differ.
- Please check your CRM documentation to learn how to create custom fields with **exact names**.
  - [Highlevel CRM Integration](docId\:qH5M7bG-7rf8ySjWwpjXm)&#x20;

### ⚠️ Important Notes

1. Field names must be created **exactly as listed above** — any difference (capitalization, spacing, etc.) will prevent mapping.
2. If the fields do not exist in your CRM, Wazzap cannot store the campaign data.
3. Data is created **automatically** as soon as a lead arrives from Facebook Ads → WhatsApp.
4. Make sure to review your CRM’s limits for the number of custom fields allowed.

✅ With **Meta Ads in Fields**, you can seamlessly track lead sources from Facebook Ads inside your CRM and optimize campaigns based on real WhatsApp conversion data.
