Skip to main content
Braintree → Google AdsIntegration guide

Connecting Braintree to Google Ads

Braintree is a payment gateway rather than a storefront, so it sits underneath whatever is taking the order and holds the transaction itself. Google Ads knows what you spent and which click it came from, and nothing at all about what happened afterwards. The join between them succeeds or fails on one thing: whether the GCLID reaches the Braintree transaction before the conversion happens, because Google Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Braintree to Google Ads: GCLID in custom fields, sent on settlement

Write the GCLID, or gbraid or wbraid, into its own Braintree custom field in the server call that creates the sale. On settlement, upload to an import conversion action with settlement time, settled amount and the merchant account's currency. Hashed PayPal payer email can fill GCLID gaps, and refunds become adjustments that quote the stored conversion time.

Google Ads needs the GCLID on the record, so your checkout has to read it from the landing URL, persist it in a first-party cookie, and write it into a Braintree custom field in the same server call that creates the sale. iOS traffic often brings gbraid or wbraid instead; store whichever arrived in its own field, because the upload has to say which kind of identifier it is sending.

Upload against a conversion action created as an import type, using the settlement time as the conversion time and the settled amount as the value, in the currency of the Braintree merchant account that processed it. Where GCLID coverage is poor, PayPal-funded transactions help: Braintree returns PayPal payer details on those transactions (check what your integration exposes), and a hashed payer email can be sent as user-provided data instead of a click ID.

Refunds map cleanly in this pair. Braintree records a refund as a separate credit transaction linked to the original, and Google Ads accepts conversion adjustments, retraction or restatement, keyed to the original GCLID and conversion time. Store the exact conversion time you uploaded with the transaction, because the adjustment has to quote it. A void before settlement needs no adjustment at all if you only ever upload settled transactions.

Braintree → Google Ads · what breaks

Why this join usually fails — Braintree → Google Ads

  1. 01

    The GCLID never reaches Braintree

    Braintree is a gateway, so it sees the payment and not the marketing. The identifier has to be attached at the point your application creates the transaction, through custom fields, or it never enters Braintree at all.

  2. 02

    A gateway that knows nothing about marketing

    Braintree sees a payment. Whether it can be tied to a click depends entirely on whether your own application attached the identifier when creating the transaction, and most do not.

  3. 03

    The conversion action is the wrong type

    Uploads against a standard website conversion action fail. The action has to be created as 'Import' — and existing actions cannot be converted, so this is discovered late and requires starting a new action with no history.

  4. 04

    Nothing reconciles afterwards

    Google Ads reports uploads in Goals → Conversions → Uploads, with rows accepted and rows failed. A green result means the file parsed, not that the clicks matched. The number to watch is how many conversions actually appear against campaigns afterwards.

Braintree → Google Ads · the fix

What working looks like — Braintree → Google Ads

  • The GCLID on every transaction

  • Conversions arriving in Google Ads

    Conversions appear against the campaign, ad group and keyword that produced the click, with the value you sent — which is what lets Smart Bidding optimize toward revenue instead of toward form fills.

  • Reconciled against the source

Braintree → Google Ads · architecture

How Braintree and Google Ads actually connect

  1. 1

    Braintree holds the truth

    Settled and authorised are different states. Authorisation reserves the funds; settlement is money moving, and reporting on the wrong one produces a persistent gap against your bank.

  2. 2

    Google Ads needs a click to match

    Google Ads matches an uploaded conversion back to a click using the GCLID. The conversion action must be created as an import type — an upload against a website-tag conversion action is rejected. Uploads must also land inside Google's window: the click has to be within the last 90 days.

  3. 3

    The identifier is the bridge

    The GCLID, captured at the visit and carried into the Braintree transaction.

  4. 4

    The event source decides reliability

    Fire on settlement rather than authorisation, and note that Braintree's PayPal and wallet flows redirect the buyer away — so the confirmation page is not a reliable trigger.

  5. 5

    Deduplication at the destination

    Google deduplicates on the combination of GCLID, conversion action and conversion time. Uploading the same click twice against the same action at the same timestamp is rejected rather than double-counted, but uploading it against a second conversion action counts twice — which is how most double-counting here actually happens.

Braintree → Google Ads · normal or broken

Working vs. broken, side by side — Braintree → Google Ads

Normal, not a fault

  • The GCLID present on the transaction

  • Sent from the Braintree transaction settlement webhook

  • Deduplicated correctly

    Google deduplicates on the combination of GCLID, conversion action and conversion time. Uploading the same click twice against the same action at the same timestamp is rejected rather than double-counted, but uploading it against a second conversion action counts twice — which is how most double-counting here actually happens.

  • Reconciles with the source

Actually broken

  • The GCLID missing on most records

    Braintree is a gateway, so it sees the payment and not the marketing. The identifier has to be attached at the point your application creates the transaction, through custom fields, or it never enters Braintree at all.

  • Sent from the browser

    Braintree sees a payment. Whether it can be tied to a click depends entirely on whether your own application attached the identifier when creating the transaction, and most do not.

  • Counted twice, or not at all

    Uploads against a standard website conversion action fail. The action has to be created as 'Import' — and existing actions cannot be converted, so this is discovered late and requires starting a new action with no history.

  • Nobody has reconciled it

Braintree → Google Ads · diagnose

Diagnostic order — Braintree → Google Ads

  1. 01

    Count transactions carrying the GCLID

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a settled transaction and check its custom fields

    If the identifier is not there, your application never attached it and nothing downstream can recover it.

  4. 04

    Check the conversion action type and the upload diagnostics

    In Google Ads, Goals → Conversions → Uploads shows every upload with its error rows. Read the errors rather than the success count; a file can import successfully with most rows rejected.

  5. 05

    Read the match rate, not the success message

    Google Ads reports uploads in Goals → Conversions → Uploads, with rows accepted and rows failed. A green result means the file parsed, not that the clicks matched. The number to watch is how many conversions actually appear against campaigns afterwards.

Braintree → Google Ads · prove

How it gets proven — Braintree → Google Ads

Source of truth

Braintree's transaction records, filtered to settled, for the same window.

  • The GCLID confirmed present on a live transaction.
  • The Uploads diagnostics read row by row, with the accepted count reconciled against conversions appearing in campaign reporting.
  • A PayPal-funded transaction confirmed to report even though the buyer was redirected away.

Braintree → Google Ads · free audit

What we check in the free audit

  • Count transactions carrying the GCLID
  • Follow one real conversion end to end
  • Open a settled transaction and check its custom fields
  • Check the conversion action type and the upload diagnostics
  • Read the match rate, not the success message

Checked against

Braintree's transaction records, filtered to settled, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

Braintree → Google Ads · when not to buy

When you don't need this — Braintree → Google Ads

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the GCLID.
  • If your platform already reports orders accurately and Braintree is purely the funding rail, work at the order layer instead — it is closer to the customer.
  • If your sales close inside a few days and your website tag already reports accurately, you may not need offline import at all. It exists to solve the delay between click and revenue.

Braintree → Google Ads · what we deliver

What gets built — Braintree → Google Ads

  • Identifier capture into Braintree

    Pass the click identifier into the transaction's custom fields when your server creates the charge. Braintree preserves them and they survive to the webhook and to any later refund.

  • Event source: the Braintree transaction settlement webhook

    Fire on settlement rather than authorisation, and note that Braintree's PayPal and wallet flows redirect the buyer away — so the confirmation page is not a reliable trigger.

  • Dispatch to Google Ads

    Offline Conversion Import through the Google Ads API, or a scheduled upload. Enhanced conversions for leads where GCLID coverage is poor and you have consented email addresses.

  • Reversals where they exist

    Braintree exposes refunds and disputes, both carrying the original custom fields, so reversals are straightforward.

Written guarantee

95%+ tracking accuracy

Measured against Braintree's transaction records, filtered to settled, for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Braintree → Google Ads questions, answered

Yes, using hashed email or phone as user-provided data, provided you have consent for it and the match rate is acceptable. A transaction with neither a GCLID nor customer data cannot be attributed.

Free · 30 min

Get Braintree and Google Ads joined properly

Free30 minutesNo obligation