← Back to playbooks
Google Ads Published on June 27, 2026

How to Optimize Google Ads Smart Bidding with Offline Conversions

Discover how to upload offline conversions via webhooks to feed Google Ads Smart Bidding clean data, lower your acquisition costs, and maximize ROI.

The Smart Bidding Data Gap

Google Ads relies heavily on Smart Bidding (Maximize Conversions, Target CPA, Target ROAS). These machine learning algorithms analyze hundreds of signals to find users most likely to buy your products.

However, Smart Bidding is only as good as the data you feed it.

For affiliate marketers, browser-based tracking pixels (like gtag.js) fail because:
1. The conversion happens on a third-party server (e.g., ClickBank or MaxBounty), where you cannot install your Google Tag script.
2. Third-party cookies are blocked, preventing Google from linking the visitor to the click.
3. Refunds, chargebacks, or delayed approvals are never reported back, causing Google to optimize for low-quality leads.

By importing Offline Conversions from PostbackFlow directly into Google Ads via Webhooks, you bridge this data gap. Google receives 100% accurate conversion data, allowing its algorithm to optimize bids for your highest-value traffic.

---

How it Works: The GCLID Journey

To match a sale back to an ad, Google uses the GCLID (Google Click Identifier):
1. A user clicks your ad. Google appends ?gclid=XYZ to your tracking URL.
2. PostbackFlow automatically captures this gclid and stores it in the database under a unique click_id.
3. When the visitor goes to the affiliate network, the click ID is passed along (e.g., as s1 or tid).
4. When a sale occurs, the network calls the PostbackFlow Postback URL, sending back the click ID and payout.
5. PostbackFlow matches the click ID, retrieves the corresponding gclid, and uploads the conversion directly to the Google Ads Webhook API in real-time.

---

Step 1: Create a Conversion Action in Google Ads

First, set up a conversion tracker in Google Ads that accepts webhook uploads.

1. In your Google Ads Account, go to Tools and Settings -> Measurement -> Conversions.
2. Click + New Conversion Action.
3. Choose Import -> Other data sources or CRMs -> Track conversions from clicks.
4. Set the Data Source type to Webhooks or API.
5. Give the action a clear name (e.g., PostbackFlow Sales) and define the default value and attribution settings.
6. Copy the generated Google Conversion Action Name (make sure it matches exactly).

---

Step 2: Connect Google Ads Webhook in PostbackFlow

Next, configure the connection inside your PostbackFlow settings.

1. In the PostbackFlow Console, go to Ad Platforms.
2. Find the Google Ads Webhook card and click Configure.
3. Fill in the required details:
* Conversion Action Name: The exact name you configured in Step 1.
* Customer ID: Your 10-digit Google Ads account ID.
4. Click Save and toggle the platform switch to Active.

---

Step 3: Set Up your Campaigns

When creating campaigns in Google Ads, ensure you have Auto-tagging enabled:
1. Go to Settings -> Account Settings in your Google Ads dashboard.
2. Verify that Auto-tagging is checked (this ensures the gclid parameter is automatically appended to every click).

PostbackFlow will now automatically map all sales back to the respective GCLID and report them to Google Ads within seconds of occurrence.

---

Scaling to Target CPA

Once you start sending offline conversions: