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:
- Wait until you record at least 15-30 conversions within a 30-day window.
- Switch your campaign bidding strategy from *Maximize Clicks* to *Maximize Conversions* or *Target CPA*.
- Google Ads will now automatically analyze which keywords, devices, and placements generate actual sales, driving your acquisition costs down.