Skip to main content
Salesforce → Google AdsIntegration guide

Connecting Salesforce to Google Ads

Salesforce holds the opportunity, the amount and the close — the only place the actual revenue outcome is recorded. 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 Salesforce Lead or Opportunity 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

Salesforce to Google Ads: import a stage that beats 90 days

Google Ads can import Salesforce offline conversions natively or through the API, but the GCLID field must exist on Lead, Contact and Opportunity with conversion mapping. Because uploads past 90 days are rejected, make an earlier stage such as qualified opportunity the primary import action, with Closed Won as secondary. Add enhanced conversions for leads, and retract reopened deals.

Google Ads has a native Salesforce connection for offline conversions: it reads a GCLID field on the Lead and imports conversions when the Lead or Opportunity reaches the stages you map. It only works if the GCLID survives lead conversion, so the field must exist on Lead, Contact and Opportunity with the mapping configured. Check whether the native import or the Google Ads API suits your instance; the API route gives you control over value, timing and retractions.

The limit that shapes this pair is the 90-day click window. Enterprise deals often close six months or more after the first click, and a Closed Won upload for a click that old is rejected. Import an earlier stage that happens inside the window, such as a qualified opportunity, as the primary action, valued at an expected deal value, and send Closed Won as a secondary action at the actual Amount for reporting. Where GCLID coverage is poor, enhanced conversions for leads can match the Lead's hashed email instead.

Each stage you import should be its own import-type conversion action, and only one should be primary, or a deal is counted at every stage. When an opportunity moves back out of Closed Won, retract it with a conversion adjustment rather than leaving the value in place.

Salesforce → Google Ads · what breaks

Why this join usually fails — Salesforce → Google Ads

  1. 01

    The GCLID never reaches Salesforce

    Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.

  2. 02

    The identifier is lost at lead conversion

    This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.

  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.

Salesforce → Google Ads · the fix

What working looks like — Salesforce → Google Ads

  • The GCLID on every opportunity

  • 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

Salesforce → Google Ads · architecture

How Salesforce and Google Ads actually connect

  1. 1

    Salesforce holds the truth

    The opportunity carries the amount, stage and close date. Because Leads convert into Contacts, Accounts and Opportunities, the identifier must be mapped through the conversion or it is dropped exactly at the moment the record becomes valuable.

  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 Salesforce Lead or Opportunity.

  4. 4

    The event source decides reliability

    Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.

  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.

Salesforce → Google Ads · normal or broken

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

Normal, not a fault

  • The GCLID present on the opportunity

  • Sent from a Salesforce flow, Apex trigger or scheduled export on StageName change

  • 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

    Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.

  • Sent from the browser

    This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.

  • 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

Salesforce → Google Ads · diagnose

Diagnostic order — Salesforce → Google Ads

  1. 01

    Count opportunitys carrying the GCLID

  2. 02

    Follow one real conversion end to end

  3. 03

    Convert a test Lead and inspect the resulting Opportunity

    If the identifier is not on the Opportunity, the field mapping is missing. This takes five minutes and rules out the most likely cause outright.

  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.

Salesforce → Google Ads · prove

How it gets proven — Salesforce → Google Ads

Source of truth

A Salesforce report of Closed Won opportunities for the same window, by close date.

  • The GCLID confirmed present on a live opportunity.
  • The Uploads diagnostics read row by row, with the accepted count reconciled against conversions appearing in campaign reporting.
  • A test lead converted end to end with the identifier confirmed present on the resulting opportunity.

Salesforce → Google Ads · free audit

What we check in the free audit

  • Count opportunitys carrying the GCLID
  • Follow one real conversion end to end
  • Convert a test Lead and inspect the resulting Opportunity
  • Check the conversion action type and the upload diagnostics
  • Read the match rate, not the success message

Checked against

A Salesforce report of Closed Won opportunities for the same window, by close date.

Get my free conversion tracking audit

Free30 minutesNo obligation

Salesforce → Google Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry the GCLID.
  • If your Salesforce instance is heavily customized and administered by another team, scope their availability before commissioning this — the build is usually blocked on admin access rather than on the tracking work.
  • 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.

Salesforce → Google Ads · what we deliver

What gets built — Salesforce → Google Ads

  • Identifier capture into Salesforce

    Custom field on Lead, matching custom field on Contact and Opportunity, and the field mapping configured so conversion carries it across. Verify by converting a test lead and reading the resulting opportunity.

  • Event source: a Salesforce flow, Apex trigger or scheduled export on StageName change

    Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.

  • 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

    An opportunity moved back out of Closed Won can be retracted, and enterprise pipelines do this often enough to be worth wiring.

Written guarantee

95%+ tracking accuracy

Measured against A Salesforce report of Closed Won opportunities for the same window, by close date.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Salesforce → Google Ads questions, answered

Yes, Google Ads has a Salesforce import that reads a GCLID field and maps lead and opportunity stages to conversion actions. The GCLID has to carry through lead conversion for it to work.

Free · 30 min

Get Salesforce and Google Ads joined properly

Free30 minutesNo obligation