> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jelou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Ads

> Optimize and measure conversions in your Google Ads campaigns.

Measuring **conversions** (for example, a completed transaction or a qualified lead) is better than measuring only the **conversation start**, because it optimizes the campaign toward real business results. Not every conversation ends in a purchase: by reporting conversions, Google can learn which clicks generate value and adjust bids and audiences to improve return.

## Setup

<Steps>
  <Step title="Request activation from Jelou">
    To activate Google Ads tracking in your account, you must send an email to [ayuda@jelou.ai](mailto:ayuda@jelou.ai) requesting activation of Google Ads tracking for your organization.

    The email **must include the organization name** for which you want to activate tracking and **must be sent from the email address of the owner** of that organization.
  </Step>

  <Step title="Request Google whitelisting (CTM Allowlist)">
    Submit an allowlist/whitelisting request to Google using the [CTM Allowlist Request Form](https://docs.google.com/forms/d/e/1FAIpQLSfHTPejpP1lT_pqFmXelptHeN4XCPjYz0NcdZXK3GvKPa_RHA/viewform).
  </Step>
</Steps>

## Campaign setup

Here is a guide on how these campaigns are configured:

<Steps>
  <Step title="Select the objective and campaign type">
    Start a **new campaign**, select **Leads** as the objective and choose **Search** or **Performance Max** as the campaign type.

    <Frame>
      <img src="https://mintcdn.com/jelouai/-o-kKrN0OQnomzAi/assets/images/marketplace/google-ads/step1.webp?fit=max&auto=format&n=-o-kKrN0OQnomzAi&q=85&s=691e94e7803e650bc248abbc1228009e" alt="Select objective and type" width="998" height="618" data-path="assets/images/marketplace/google-ads/step1.webp" />
    </Frame>
  </Step>

  <Step title="Define the campaign goal">
    In the section on how you want to achieve your objective, select only **Messages from your ads** as your sole campaign goal.

    <Frame>
      <img src="https://mintcdn.com/jelouai/-o-kKrN0OQnomzAi/assets/images/marketplace/google-ads/step2.webp?fit=max&auto=format&n=-o-kKrN0OQnomzAi&q=85&s=81eec00aa3e462d86901ff7c5a2a476c" alt="Campaign goal" width="908" height="542" data-path="assets/images/marketplace/google-ads/step2.webp" />
    </Frame>
  </Step>

  <Step title="Create and configure the Message Asset">
    Create a new **Message Asset**. Make sure you only have **Message** and **Image Assets** for the campaign.

    <Frame>
      <img src="https://mintcdn.com/jelouai/-o-kKrN0OQnomzAi/assets/images/marketplace/google-ads/step3.webp?fit=max&auto=format&n=-o-kKrN0OQnomzAi&q=85&s=235d580afff90f037fefedaa2f1dfa0c" alt="Message setup" width="1028" height="754" data-path="assets/images/marketplace/google-ads/step3.webp" />
    </Frame>
  </Step>

  <Step title="Complete the message details">
    You will be asked to add:

    * **WhatsApp phone number**
    * **Starter message**
    * **Select a call to action**
  </Step>
</Steps>

## Track conversions

When a conversation arrives from a Google **Message Ad**, the following variables will automatically be inserted into memory:

```json theme={null}
{
  "_google_ads_tracking": {
    "gclid": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_",
    "campaignId": 123,
    "adGroupId": 456,
    "creativeId": 789
  }
}
```

You can learn more about how to read these variables at: [Memory](/guides/variables/memory).

## How it works

Google Ads tracking in Jelou allows you to attribute WhatsApp conversations to your ads automatically. When a user clicks on your ad in Google Search, they are redirected to WhatsApp with a pre-filled message that includes an invisible **GCLID** (Google Click ID) encoded in Unicode. Once the user sends that message, Jelou detects and processes this hidden identifier to link the interaction directly to your advertising campaign.

<Frame>
  <img src="https://mintcdn.com/jelouai/-o-kKrN0OQnomzAi/assets/images/marketplace/google-ads/how-it-works.png?fit=max&auto=format&n=-o-kKrN0OQnomzAi&q=85&s=c8ea8af45feb6675b5a922af9888a8eb" alt="How Google Ads tracking works" width="1720" height="786" data-path="assets/images/marketplace/google-ads/how-it-works.png" />
</Frame>

<Warning>
  Tracking depends on the first message sent by the user. If the user deletes the message before sending it, the ability to track and attribute that conversion to Google Ads will be lost.
</Warning>
