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

# Google Ads Integration

> Connect Google Ads with ChatbotX to automatically send offline conversions, configure Consent Mode v2, and monitor conversion analytics.

The Google Ads integration connects your advertising account with ChatbotX to automatically send offline conversion events generated within conversations back to Google Ads. When customers click a Google ad, engage with your bot, and complete valuable actions such as orders, appointments, or lead forms, ChatbotX uploads the conversion data server-side. This ensures precise Smart Bidding optimization without being affected by browser cookie restrictions.

## Prerequisites

Before connecting your account, ensure you have the following requirements ready:

* Admin or Standard access to the target Google Ads account.
* **Auto-tagging** enabled in your Google Ads account preferences so Google automatically appends click identifiers (GCLID or GBRAID) to your landing page URLs.
* At least one conversion action created in Google Ads with the source set to **Import conversions from clicks**.

## Connect Your Google Ads Account

You can link your Google Ads account directly from your workspace settings:

<Steps>
  <Step title="Navigate to Google Ads integration settings">
    In the left navigation bar, go to **Settings** (1), switch to the **Integrations** tab (2), and click **Google Ads** (3).

    <Frame>
      <img src="https://mintcdn.com/chatbotx/VmhO3w0hFfbOKmtV/images/google_ads_navigate_settings.png?fit=max&auto=format&n=VmhO3w0hFfbOKmtV&q=85&s=3018e1d7b38409dce5a36a998608bedc" alt="Google Ads Navigate Settings" width="2984" height="1651" data-path="images/google_ads_navigate_settings.png" />
    </Frame>
  </Step>

  <Step title="Start connection">
    On the Google Ads integration panel, click the **Connect Google Ads** button in the top right corner.

    <Frame>
      <img src="https://mintcdn.com/chatbotx/VmhO3w0hFfbOKmtV/images/google_ads_connect_button.png?fit=max&auto=format&n=VmhO3w0hFfbOKmtV&q=85&s=f8fb2e8cc529ea4e6c2b0b557c401f20" alt="Google Ads Connect Button" width="2390" height="1175" data-path="images/google_ads_connect_button.png" />
    </Frame>
  </Step>

  <Step title="Authorize Google account access">
    Log in to the Google account that manages your advertising account. When prompted by the **ChatConnectX** authorization screen, review the requested permissions and click **Continue**.

    <Frame>
      <img src="https://mintcdn.com/chatbotx/VmhO3w0hFfbOKmtV/images/google_ads_oauth_consent.png?fit=max&auto=format&n=VmhO3w0hFfbOKmtV&q=85&s=d2bbb0d3d5f613dcd95efbe716c6a29b" alt="Google Ads OAuth Consent" width="2305" height="1513" data-path="images/google_ads_oauth_consent.png" />
    </Frame>
  </Step>

  <Step title="Select your Google Ads account">
    ChatbotX displays a list of accessible Google Ads accounts with their 10-digit Customer IDs. Select the account you want to connect to this workspace and click **Connect account**.

    <Frame>
      <img src="https://mintcdn.com/chatbotx/VmhO3w0hFfbOKmtV/images/google_ads_choose_account.png?fit=max&auto=format&n=VmhO3w0hFfbOKmtV&q=85&s=41304a0d441edaedb4ce11ce8262f802" alt="Google Ads Choose Account" width="2428" height="1496" data-path="images/google_ads_choose_account.png" />
    </Frame>
  </Step>
</Steps>

Once connected, the dashboard displays your account name with a green **Connected** badge, the current upload method, and the last sync timestamp.

## Manage Conversion Actions

The **Conversion actions** section lists the conversion goals synced from your Google Ads account to ChatbotX.

<Frame>
  <img src="https://mintcdn.com/chatbotx/VmhO3w0hFfbOKmtV/images/google_ads_connected_dashboard.png?fit=max&auto=format&n=VmhO3w0hFfbOKmtV&q=85&s=8bf2ee092e5fefb46cc9d81aac8e9d53" alt="Google Ads Connected Dashboard" width="2458" height="1860" data-path="images/google_ads_connected_dashboard.png" />
</Frame>

The table displays key details for each action:

* **Name:** The conversion action name defined in Google Ads.
* **Category:** The goal category (for example, Qualified lead or Purchase).
* **Counting:** The counting method (Many per click or One per click).
* **Status:** Operational status (only actions marked as **Enabled** can receive conversion events).

> **Note:** Only enabled actions that import conversions from clicks can receive conversions from ChatbotX. If you create a new conversion action in Google Ads, click **Sync conversion actions** to refresh the list.

## Validate Request Configuration

The **Validate request** feature lets you test your configuration with Google Ads servers before running live campaigns.

To open the test tool, click **Validate request** located above the conversion actions table:

<Frame>
  <img src="https://mintcdn.com/chatbotx/VmhO3w0hFfbOKmtV/images/google_ads_validate_request_entry.png?fit=max&auto=format&n=VmhO3w0hFfbOKmtV&q=85&s=51a5fc1a1c4404059c3c54c8e7ac42b2" alt="Google Ads Validate Request Entry" width="2390" height="909" data-path="images/google_ads_validate_request_entry.png" />
</Frame>

A configuration check modal will appear:

<Frame>
  <img src="https://mintcdn.com/chatbotx/VmhO3w0hFfbOKmtV/images/google_ads_validate_request_modal.png?fit=max&auto=format&n=VmhO3w0hFfbOKmtV&q=85&s=58b30baa95b2a958ba3d14c5134bc114" alt="Google Ads Validate Request Modal" width="2406" height="1312" data-path="images/google_ads_validate_request_modal.png" />
</Frame>

Configure the test parameters:

* **Conversion action:** Choose the target conversion action from your synced list.
* **Click ID type:** Select the appropriate click identifier format:
  * **GCLID (Google Click Identifier):** Standard click tracking identifier for traffic from desktop websites, Android devices, and regular mobile browsers.
  * **GBRAID:** Specialized click tracking identifier designed for web-to-app conversion journeys on iOS devices (iOS 14.5 and newer) in compliance with Apple App Tracking Transparency (ATT) policies.
* **Click ID:** Enter a sample click identifier string for testing.

After filling in the details, click **Run check**. ChatbotX sends a dry-run request to the Google Ads API with validation mode enabled. Google validates the syntax, account permissions, and identifier format without recording a conversion or altering campaign metrics.

## Configure Conversion Data Consent

The **Conversion data consent** section applies to all conversions uploaded from this workspace, following Google Consent Mode v2 and Google Ads Data Manager specifications:

* **Ad user data:** Sets whether users agreed to share personal data for ad measurement purposes.
* **Ad personalization:** Sets whether users agreed to use their data for personalized advertising and remarketing.

Available options for each setting:

* **Not provided:** Leaves out the consent flag so Google uses your account default consent setting.
* **Always granted:** Flags every conversion as user-consented.
* **Always denied:** Flags every conversion as user-denied.
* **From a contact field:** Dynamically reads consent status from a contact custom field. You can collect consent through a bot survey flow and store the response in this field to forward directly to Google.

Click **Save** to apply your consent preferences.

> **Note:** The legacy upload method only accepts ad user data consent. To transmit both ad user data and ad personalization flags, connect your account using the Data Manager API.

## Send Conversions in Automated Flows

Once the integration is active, you can trigger offline conversion uploads inside your conversational flows when contacts reach valuable milestones.

In the Flow Builder, add a new action step and select **Send Google Ads Conversion** from the action menu:

<Frame>
  <img src="https://mintcdn.com/chatbotx/VmhO3w0hFfbOKmtV/images/google_ads_flow_action_list.png?fit=max&auto=format&n=VmhO3w0hFfbOKmtV&q=85&s=c8f16504151fa46603d3f2708d5d2a2b" alt="Google Ads Flow Action List" width="3022" height="1894" data-path="images/google_ads_flow_action_list.png" />
</Frame>

The action configuration panel includes the following options:

<Frame>
  <img src="https://mintcdn.com/chatbotx/VmhO3w0hFfbOKmtV/images/google_ads_flow_action_config.png?fit=max&auto=format&n=VmhO3w0hFfbOKmtV&q=85&s=27b25ec5876b8c08b3e7a38b9ee62220" alt="Google Ads Flow Action Config" width="3025" height="1895" data-path="images/google_ads_flow_action_config.png" />
</Frame>

Configuration fields:

* **Conversion action:** Select the target conversion action (for example, `offline (Upload)`).
* **Counting:** Select the counting behavior for this step, such as `Once per ad click`.
* **Value:** Optional conversion value (for example, `250`). Click `</>` to insert dynamic values from contact custom fields.
* **Currency:** Optional currency code (for example, `USD` or `VND`). Supports dynamic variables through `</>`.
* **Conversion time:** Expand **Additional options** to provide a timestamp in ISO 8601 format with timezone (for example, `2026-10-08T14:30:00+07:00`). Leave this field blank to automatically use the exact time this step executes.
* **Customer matching:** Supports sending hashed contact information to improve conversion matching (requires Data Manager API connection).

The action node provides two outcome branches:

* **Success (Green):** Executes when the conversion is successfully uploaded or queued. Connect this branch to confirmation messages or follow-up offers.
* **Error (Red):** Executes when an error occurs (missing click ID, expired click, or connection failure). Route this branch to fallback handling or internal notifications.
* **Continue:** Proceeds along the main flow path.

## Monitor and Reconcile Conversion Analytics

You can monitor conversion delivery and performance on the dedicated dashboard under **Analytics > Google Ads**.

The dashboard includes filters for date range, conversation channels (WhatsApp, Messenger, WebChat), and specific conversion actions:

<Frame>
  <img src="https://mintcdn.com/chatbotx/VmhO3w0hFfbOKmtV/images/google_ads_analytics_overview.png?fit=max&auto=format&n=VmhO3w0hFfbOKmtV&q=85&s=b0a14421f43ff20935028e56fc924567" alt="Google Ads Analytics Overview" width="2110" height="1766" data-path="images/google_ads_analytics_overview.png" />
</Frame>

The top overview cards display 6 primary metrics:

* **Confirmed:** Conversions accepted and verified by Google Ads servers.
* **Awaiting Google:** Conversions dispatched by ChatbotX that are waiting for processing confirmation from Google.
* **Queued:** Conversions currently in queue awaiting delivery.
* **Failed:** Conversions that encountered delivery or validation errors.
* **Skipped:** Conversions skipped by the system (for example, missing click IDs or denied consent).
* **Delivery rate:** The percentage of successfully delivered conversions relative to total attempts.

The **Conversions per day** line chart tracks daily trends across all statuses. Click **View as table** to review numerical breakdowns.

The **By conversion action** table summarizes volumes per action across all 5 delivery statuses.

Scroll down to access reconciliation data and diagnostic breakdowns:

<Frame>
  <img src="https://mintcdn.com/chatbotx/VmhO3w0hFfbOKmtV/images/google_ads_analytics_breakdown.png?fit=max&auto=format&n=VmhO3w0hFfbOKmtV&q=85&s=f14f46f73ad0f51dc26824b4a8a31fd2" alt="Google Ads Analytics Breakdown" width="2115" height="1829" data-path="images/google_ads_analytics_breakdown.png" />
</Frame>

The **Reported by Google Ads** table reconciles figures between platforms:

* **Confirmed by ChatbotX:** Total conversions successfully transmitted by ChatbotX.
* **Reported by Google:** Conversions actively displayed in Google Ads campaign reports.

> **Note:** Google may take 3 to 24 hours to reflect confirmed conversions in reporting tables. Discrepancies may also occur due to individual action counting settings (Many per click versus One per click). Small temporary differences are normal.

Additional diagnostic widgets:

* **Outcome share:** Donut chart illustrating conversion status distribution.
* **By channel:** Volume of confirmed conversions segmented by channel (such as WhatsApp and Messenger).
* **Failures by stage:** Categorizes errors by stage (Delivery failed, Processing failed, or Timed out) to speed up troubleshooting.

## Technical Notes and Troubleshooting

Keep these operational principles in mind to maintain optimal tracking accuracy:

* **90-Day conversion window:** Google Ads accepts offline conversions within 90 days of the original ad click. Conversions submitted with click IDs older than 90 days are rejected as expired.
* **Indexing window:** Google requires 4 to 6 hours after an ad click to index the click ID in its database. Conversions uploaded immediately within minutes of a click may return a temporary click not found notice.
* **Single click ID rule:** Each conversion upload must link to exactly one click identifier (either GCLID or GBRAID). Never combine multiple identifiers on a single event.
* **Disconnecting or switching accounts:** To link a different advertising account, click **Disconnect** in the top right corner of the Google Ads settings panel, then reconnect with your new credentials.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.