Skip to main content
Firebase Auth → Google AdsIntegration guide

Connecting Firebase Authentication to Google Ads

Firebase Auth is usually the identity layer in a mobile-first product, which means the user ID it issues is the only thing connecting a web visit to an in-app purchase. 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 Firebase user identity 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

Firebase Auth to Google Ads: web clicks that pay inside the app

Write the gclid from the web click against the Firebase uid at first auth, then upload the billed subscription to an import conversion action within 90 days. Store gbraid or wbraid in their own fields. If the app is the main surface, consider importing conversions from a linked GA4 property instead, but use one route per conversion.

The case Firebase Auth solves for Google Ads is a web-to-app journey: someone clicks a search ad, signs up on the web, installs the app and subscribes there. The gclid from that web click has to be written against the Firebase uid at first auth, because the app has no access to it. When the subscription is billed, the conversion is uploaded to an import-type action with that stored gclid, inside the 90-day window.

iOS traffic complicates it. Clicks from some iOS contexts arrive with gbraid or wbraid rather than a gclid, and these are aggregated rather than tied to a person, so a wbraid stored on a Firebase user cannot carry user-level data the way a gclid can. Store whichever arrives in the field it belongs in; uploading a wbraid in the gclid column fails.

If the app is the main conversion surface, check whether you should be measuring through GA4 linked to Google Ads via Firebase rather than offline import, since app conversions and in-app purchases can be imported from a linked GA4 property. Pick one route per conversion: a subscription counted from both the linked app stream and an offline upload is two conversions to Smart Bidding. Enhanced conversions can use the email on the Firebase user when the sign-in provider supplies one.

Firebase Auth → Google Ads · what breaks

Why this join usually fails — Firebase Auth → Google Ads

  1. 01

    The GCLID never reaches Firebase Auth

    Anonymous authentication creates users before signup, and linking an anonymous account to a real one is a step teams frequently skip.

  2. 02

    Anonymous accounts never linked to real ones

    Firebase's anonymous auth is convenient and creates a separate user. If it is not linked at signup, the pre-signup activity and the paying customer are two different people in every downstream system.

  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.

Firebase Auth → Google Ads · the fix

What working looks like — Firebase Auth → Google Ads

  • The GCLID on every account

  • 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

    Firebase Authentication's own records are the reference, not either dashboard.

Firebase Auth → Google Ads · architecture

How Firebase Auth and Google Ads actually connect

  1. 1

    Firebase Authentication holds the truth

    Firebase holds identity, not revenue. Its value to measurement is that it gives a stable key that survives the web-to-app transition where every cookie dies.

  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 Firebase user identity.

  4. 4

    The event source decides reliability

    Send paid conversions keyed on the user identity. Signups and anonymous sessions are stages, not revenue.

  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.

Firebase Auth → Google Ads · normal or broken

Working vs. broken, side by side — Firebase Auth → Google Ads

Normal, not a fault

  • The GCLID present on the account

    Visible on the record itself in Firebase Authentication, not merely captured somewhere on the site.

  • Sent from your billing system, keyed on the user ID

  • 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

    Google Ads's count and Firebase Authentication's records agree within a few percent over a closed window.

Actually broken

  • The GCLID missing on most records

    Anonymous authentication creates users before signup, and linking an anonymous account to a real one is a step teams frequently skip.

  • Sent from the browser

    Firebase's anonymous auth is convenient and creates a separate user. If it is not linked at signup, the pre-signup activity and the paying customer are two different people in every downstream system.

  • 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

    The dashboard shows a number and no one has compared it to Firebase Authentication.

Firebase Auth → Google Ads · diagnose

Diagnostic order — Firebase Auth → Google Ads

  1. 01

    Count accounts carrying the GCLID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether anonymous accounts are linked or orphaned at signup

    Orphaned anonymous users are the most common Firebase identity failure and they silently break every cross-signup funnel.

  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.

Firebase Auth → Google Ads · prove

How it gets proven — Firebase Auth → Google Ads

Against Firebase Authentication's own records, not against either platform's dashboard.

Source of truth

Your billing system, keyed on the Firebase user ID.

  • The GCLID confirmed present on a live account.
  • The Uploads diagnostics read row by row, with the accepted count reconciled against conversions appearing in campaign reporting.
  • Paid conversions reconciled per linked user identity against imported conversions.

Firebase Auth → Google Ads · free audit

What we check in the free audit

  • Count accounts carrying the GCLID
  • Follow one real conversion end to end
  • Check whether anonymous accounts are linked or orphaned at signup
  • Check the conversion action type and the upload diagnostics
  • Read the match rate, not the success message

Checked against

Your billing system, keyed on the Firebase user ID.

Get my free conversion tracking audit

Free30 minutesNo obligation

Firebase Auth → Google Ads · when not to buy

When you don't need this — Firebase Auth → Google Ads

  • If Google Ads already reports conversions that reconcile against Firebase Authentication's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the GCLID.
  • If you do not use anonymous auth, the linking problem does not arise.
  • 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.

Firebase Auth → Google Ads · what we deliver

What gets built — Firebase Auth → Google Ads

  • Identifier capture into Firebase Auth

    Capture the identifier on the web, write it to custom claims or your own user document at first auth, and link anonymous accounts rather than creating duplicates.

  • Event source: your billing system, keyed on the user ID

    Send paid conversions keyed on the user identity. Signups and anonymous sessions are stages, not revenue.

  • 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

    Cancellations reverse against the same identity.

Written guarantee

95%+ tracking accuracy

Measured against Your billing system, keyed on the Firebase user ID.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Firebase Auth → Google Ads questions, answered

Yes, if the gclid from the web visit is stored against the Firebase uid at sign-up and uploaded with the billing event within 90 days of the click.

Free · 30 min

Get Firebase Auth and Google Ads joined properly

Free30 minutesNo obligation