Salesforce and Google Ads Integration: How to Import Offline Conversions
Google Ads can see the form fill. Salesforce knows which of those leads qualified and which became revenue. This guide shows how to connect the two the current way: Google Ads Data Manager, click ID capture, enhanced conversions for leads, consent and the funnel stages worth sending back.
Key Takeaways
- The Salesforce Google Ads integration sends lead and opportunity milestones from Salesforce back to Google Ads as offline conversions, so campaigns are measured on qualified pipeline and revenue, not on form fills.
- Google retired its legacy Salesforce import on May 31, 2025. Connections now run through Google Ads Data Manager, with one Salesforce object (Lead, Opportunity or Order) per connection.
- Google now recommends enhanced conversions for leads, which matches hashed email or phone, and still asks you to send the GCLID whenever you have it. Doing both is the safest setup.
- The Salesforce side needs API access, a GCLID field on Lead and Opportunity mapped for lead conversion, and field history tracking on Lead Status and Opportunity Stage.
- Conversions must arrive within 90 days of the click for GCLID matches and 63 days for enhanced conversions for leads, so long sales cycles need an early-stage conversion too.
What is the Salesforce Google Ads integration? It is the connection that imports Salesforce lead and opportunity milestones into Google Ads as offline conversions. When someone clicks an ad and submits a form, the lead is stored in Salesforce with the ad click ID and contact details. As the lead qualifies and the opportunity progresses, Google Ads receives those milestones and credits the campaign, ad group and keyword that started them.
We first published this guide in 2022, when it was called "Integration of Salesforce with Google AdWords". Most of that setup no longer applies: Google has moved Salesforce connections to Data Manager, renamed the menus, and made hashed first-party data the recommended matching method. This version is rebuilt from Google's and Salesforce's current documentation. It is written for marketing, sales operations and RevOps leaders at growing and mid-market companies that run Google Ads into Salesforce, and for the admins who will configure it.
Why Connect Salesforce to Google Ads at All?
Because Google Ads only sees what happens on your website, and in B2B and considered purchases the website conversion is the cheapest, least reliable signal. A form fill says nothing about whether the lead was a fit. Salesforce does. Importing Salesforce milestones lets Google Ads report, and if you choose, bid, on the outcomes your sales team actually cares about.
Measure pipeline, not form fills
See which campaigns, ad groups and keywords produce qualified leads, opportunities and closed-won revenue in Salesforce, not just submissions.
Give bidding a better target
Smart Bidding optimizes toward the conversion actions you mark as primary. A qualified-lead or opportunity conversion is a better target than a raw form fill.
Attach real value
Map a Salesforce field such as Opportunity Amount to the conversion value, so reports show revenue by campaign instead of a count of one per lead.
What Has Changed in the Google Ads Salesforce Integration Since 2022?
The connector itself was replaced. Google ended support for its legacy Salesforce integration on May 31, 2025 and moved Salesforce imports to Google Ads Data Manager. Existing conversion actions were migrated automatically to "Google Ads Conversion Import for Salesforce". If you followed a guide written before 2025, including our original one, the menus, the structure and the recommended matching method have all changed.
| Topic | Legacy setup (2022 guides) | Current setup (2026) |
|---|---|---|
| Where Salesforce is connected | Tools & Settings > Setup > Linked accounts | Tools > Data manager > Connected products |
| Creating the conversion action | Tools & Settings > Conversions > + > Import > Salesforce | Goals > Conversions > Summary > + Create conversion action > Import > "CRMs, files, or other data sources" |
| Objects per conversion action | Lead and Opportunity could feed one action | One connection per object: Lead, Opportunity or Order |
| Matching method | GCLID only | Enhanced conversions for leads (hashed email or phone), plus GCLID where available |
| Event definition | Lead statuses and opportunity stages | Event conditions on picklist fields, including custom fields, with in-tool field mapping and hashing |
| Auto-tagging setting | Settings > Account settings | Admin > Account settings > Auto-tagging |
| Developer route | Google Ads API click conversion uploads | Data Manager API; since June 15, 2026 the Google Ads API blocks new offline conversion uploads for developer tokens that were not already sending them |
Google's migration notice also gives a quick test: if "Salesforce" still appears as its own entry in the import source list, or as a "Salesforce" tab under Goals > Conversions, you are looking at the legacy integration.
How Does Google Ads Offline Conversion Tracking with Salesforce Work?
A click identifier or the lead's own contact details travel with the lead from the ad into Salesforce, and back to Google Ads when the lead reaches a milestone. Google then matches the imported event to the original click and credits the campaign that drove it. Five steps make up the loop.
gclid (Google Click Identifier) parameter to the landing page URL, for example example.com/?gclid=123xyz.
GCLID Import or Enhanced Conversions for Leads: Which Should You Use?
Use enhanced conversions for leads and keep sending the GCLID. Google now describes GCLID-only offline import as a legacy feature and recommends that new advertisers start with enhanced conversions for leads, while still including GCLIDs whenever they are available. Google reports a median 10% increase in conversions for advertisers who sent first-party data alongside GCLIDs, compared with standard offline import.
| GCLID-based import | Enhanced conversions for leads | |
|---|---|---|
| Match key | The click ID stored on the Salesforce record | Email and/or phone, normalized and hashed with SHA-256 |
| Website requirement | Script that captures the GCLID into a hidden form field | Google tag or Google Tag Manager sitewide, with email or phone on the lead form |
| Salesforce requirement | Custom GCLID field on Lead and Opportunity | Email or phone on the record; Data Manager can hash it for you |
| Upload window | Within 90 days of the click | Within 63 days of the click |
| Google's status | Legacy, but still recommended as an extra key | Recommended |
| Typical gap | GCLID lost through redirects, other domains or forms that skip the hidden field | Needs consent to send user data, and an identifier on the form |
Two 2026 changes make this simpler. Since April 2026 Google Ads accepts user-provided data from website tags, Data Manager and API connections at the same time, and since June 2026 enhanced conversions for web and for leads are a single on/off setting under Goals > Settings > Customer data use (Google's announcement).
What Do You Need Before Connecting Salesforce to Google Ads?
API access in Salesforce, an admin who can create fields and turn on field history tracking, auto-tagging in Google Ads, and a website form that writes leads into Salesforce. Check the edition first, because it is the one requirement you cannot configure your way around.
- A Salesforce edition with API access. Data Manager needs the Salesforce API enabled for the account you connect. Salesforce documents API access by default in Enterprise, Unlimited, Performance and Developer editions. Professional Edition can buy it as an add-on. Group and Essentials cannot add it.
- A production org. Data Manager does not import from Salesforce sandboxes, so plan to test in production with a test lead.
- The right login. The Salesforce credential needs the minimum permissions Google lists; Google suggests a System Administrator login for the simplest setup. Use a dedicated integration user where your security policy allows it, so the connection does not break when a person leaves.
- Auto-tagging on in Google Ads. Google requires it for offline conversion tracking. It is on by default for new accounts.
- A lead capture path. Web-to-Lead (up to 500 leads a day) or a form tool, landing page builder or marketing automation platform that creates Salesforce leads.
- The right Google Ads account. If you use cross-account conversion tracking from a manager account, link Salesforce to the manager account.
- Consent and policy. A consent approach for your markets, and acceptance of Google's EU user consent policy and customer data policies during setup (see Section 08).
How Do You Set Up the Salesforce Google Ads Integration Step by Step?
Prepare Salesforce first, then the website, then Google Ads, then test with a real record. Doing it in this order means the first scheduled import already finds GCLIDs and history on new leads. Remember that field history only starts when you switch it on, so earlier status changes cannot be imported later.
Part 1: Prepare Salesforce
Part 2: Capture the click ID and contact data on your website
type="hidden" and keep the name Salesforce generated. For other form tools, add a hidden field mapped to Lead.GCLID.gclid parameter, stores it for 90 days, and fills the hidden field when a form appears. Run it sitewide, before </body> or as a Google Tag Manager Custom HTML tag on All Pages, and only after consent where your cookie rules require it.<!-- In the form: the hidden GCLID input (keep the name Salesforce generated) -->
<input type="hidden" id="gclid_field" name="YOUR_GCLID_FIELD_NAME" value="">
<!-- On every page, before </body> -->
<script>
(function () {
var KEY = 'gclid', DAYS = 90;
var params = new URLSearchParams(window.location.search);
var gclid = params.get('gclid');
var src = params.get('gclsrc');
if (gclid && (!src || src.indexOf('aw') !== -1)) {
localStorage.setItem(KEY, JSON.stringify({
value: gclid,
expires: Date.now() + DAYS * 86400000
}));
}
var saved = JSON.parse(localStorage.getItem(KEY) || 'null');
var field = document.getElementById('gclid_field');
if (saved && saved.expires > Date.now() && field) {
field.value = saved.value;
}
})();
</script>This replaces the cookie snippet in our 2022 post, which no longer ran as published and never wrote the value into the form. The GCLID is case-sensitive, so never change its case, and if your site redirects, make sure the parameter survives to the final landing page. Google's offline conversion setup guide has its own version of the script, including a Tag Manager variant.
Part 3: Connect Google Ads to Salesforce
Part 4: Test and monitor
?gclid=TEST_GCLID_123 on the URL (no quotes), submit the form, and confirm the lead in Salesforce carries the value. Convert it and check the opportunity has it too. Test values will not match a real click in Google Ads, so this proves the Salesforce side only.Already on the old connector? Your actions were migrated automatically. Open each one under Goals > Conversions > Summary > Data integration > Manage to review the schedule, field mapping and event conditions, and add email and phone mapping to switch on enhanced conversions for leads. Migrated opportunity connections keep Expected Revenue; lead connections do not support it.
Which Salesforce Stages Should You Import as Google Ads Conversions?
Import two to four milestones, from an early qualified stage to closed-won, and make the earliest stage that still reflects quality your primary bidding goal. Google advises lead-generation advertisers to use qualified or converted lead goals. Closed-won is the truest signal but often arrives too late, or too rarely, to train bidding on its own.
| Milestone | Salesforce source | Suggested role | Value |
|---|---|---|---|
| Marketing qualified | Lead connection, Lead Status = your MQL value | Secondary or primary for short-volume accounts | Fixed estimate |
| Sales qualified | Lead connection, Lead Status = your SQL value | Primary for most B2B accounts | Fixed estimate |
| Opportunity created or proposal | Opportunity connection, Stage = your early stage | Secondary | Amount or Expected Revenue |
| Closed won | Opportunity connection, Stage = Closed Won | Secondary; primary only with enough volume inside the window | Opportunity Amount |
Three rules make the stage data trustworthy. Each change that meets the event conditions records a conversion, and a record can import more than once, so pick conditions that match one moment in the funnel. Statuses that sales skips are never recorded, so a lead that jumps from new to proposal never counts as "sales qualified". And anything that closes more than 90 days after the click (63 days with enhanced conversions for leads) is not imported, which is why long sales cycles need an earlier milestone.
How Do Consent and Data Privacy Affect Salesforce Conversion Imports?
You need consent where the law or Google's EU user consent policy requires it, and Google needs to know about it. The ad_user_data consent signal governs sending user data to Google for advertising and is required for enhanced conversions. When it is denied, Google disables the use of user-provided data and limits conversions keyed on click IDs, according to Google's consent documentation.
- On the website, run the GCLID script and the Google tag through your consent banner or consent mode setup, following local cookie rules.
- In Data Manager, set account-level consent defaults for tag data and uploaded data under Tools > Data manager > Consent settings.
- In Salesforce, consider storing the consent state on the lead, so you can exclude or flag records that did not consent before they are imported.
- On hashing, let Data Manager normalize and hash email and phone with SHA-256, or hash them yourself following Google's normalization rules (trimmed, lowercase, phone in E.164 format).
Google states that the Salesforce connection does not retrieve data that identifies people or businesses, such as Lead or Opportunity Name, that downloaded data is deleted within a few days, and that upload history logs are kept for 90 days.
What Other Ways Can Salesforce Connect to Google Ads?
Conversion import is one of four connections, and each answers a different question. Conversion import tells Google Ads which clicks became pipeline. Cost import tells Salesforce what that pipeline cost. Audience activation sends Salesforce segments to Google Ads for targeting. A custom API build covers whatever the native connector cannot.
| Option | Direction | What it does | Worth knowing |
|---|---|---|---|
| Google Ads Data Manager: Salesforce import | Salesforce → Google Ads | Offline conversions and enhanced conversions for leads from Lead, Opportunity or Order | No sandbox support; does not support Customer Match from Salesforce via direct connection |
| Account Engagement Google Ads connector | Google Ads → Account Engagement | Tracks prospects from paid search and ties Google Ads cost data to Salesforce opportunities for cost per qualified lead and ROI | Plus, Advanced and Premium editions; with auto-tagging on, campaign, source and medium need manually added UTM parameters |
| Data 360 (formerly Data Cloud) Advertising Audiences | Salesforce → Google Ads | Activates Data 360 segments to Google Ads as Customer Match audiences | Add-on licence; EEA users need ad_user_data and ad_personalization granted; Google's Customer Match eligibility rules apply |
| Data Manager API or an iPaaS build | Either | Custom uploads from Salesforce data through Flow, MuleSoft, Workato, Zapier or code | The Google Ads API route for offline conversions is closed to new adopters; build on the Data Manager API |
Two notes for teams on Salesforce's marketing products. Salesforce is retiring Marketing Cloud Advertising Studio: subscriptions cannot be renewed from August 15, 2026, and Salesforce recommends Data Cloud Ad Audiences instead. Its Lead Capture apps, which bring Google and Meta lead form submissions into Salesforce, are not affected. And for Customer Match targeting, Google's policy requires 90 days of account history and more than USD 50,000 lifetime spend; every policy-compliant account can use lists for observation and exclusions.
Why Are Salesforce Conversions Not Showing in Google Ads?
Usually the click ID never reached Salesforce, the history needed to detect the milestone was missing, or the event fell outside the upload window. Check the import history's "Rows with errors" first, then work through this list.
One open question to settle with your media team: Google recommends sending GBRAID and WBRAID identifiers, which replace the GCLID on some iOS traffic, whenever available. Google's Salesforce connector documentation names only GCLID, email and phone as match keys, so iOS-heavy accounts should rely on enhanced conversions for leads for that traffic.
Is the Native Connector Enough, or Do You Need a Custom Integration?
The native Data Manager connector is enough for most companies whose leads and opportunities live in standard Salesforce objects. A custom build pays off when conversions live in custom objects, the data needs joining first, or you need control the connector does not give. Start native and move to the Data Manager API only for a specific gap.
Native connector fits. Leads arrive through Web-to-Lead or a form tool. Milestones are Lead Status and Opportunity Stage values. You are on Enterprise edition or above, or Professional with API access. A daily import is fast enough. The value you need is on the opportunity.
Consider a custom build. Conversions sit in custom objects or in a billing system. Value must be calculated, for example margin or subscription value. Several Google Ads accounts or regions need different rules. You need conversion adjustments, or one record must feed several milestones with logic the event conditions cannot express.
The Bottom Line
Connecting Salesforce to Google Ads turns ad reporting from "who filled in a form" into "which campaigns created qualified pipeline and revenue". The mechanics have moved to Data Manager and hashed first-party data, but most of the work is still on the Salesforce side: clean statuses, a mapped GCLID field, history tracking and consent. Twopir Consulting implements Sales Cloud, Account Engagement and Data 360 and builds the integrations around them, so we set up that Salesforce side and the lead capture together.
- 1
Confirm API access, then create and map the GCLID field on Lead and Opportunity.
- 2
Switch on field history for Lead Status and Opportunity Stage before launch.
- 3
Capture the GCLID sitewide and turn on enhanced conversions, inside your consent setup.
- 4
Create one Data Manager conversion action per object and milestone, scheduled daily.
- 5
Make a qualified stage the primary goal and check "Rows with errors" after every change.
Connect Your Ad Spend to Salesforce Pipeline
Tell us how leads reach Salesforce today. We will map the fields, stages, consent and lead capture changes your Google Ads conversion import needs.
Schedule a Discovery CallFrequently Asked Questions
Yes. Google Ads Data Manager connects directly to Salesforce and imports milestones from the Lead, Opportunity or Order object as offline conversions. You define which status or stage changes count, map a value field such as Opportunity Amount, and schedule the import, usually daily. The Salesforce org needs API access, and sandboxes are not supported.
No. Google ended support for the legacy Salesforce integration on May 31, 2025. Existing conversion actions were migrated automatically to Google Ads Conversion Import for Salesforce, which runs through Data Manager. Each connection now reads a single Salesforce object, and you can add email and phone mapping to use enhanced conversions for leads.
It is strongly recommended. Google now prefers enhanced conversions for leads, which match on hashed email or phone, but it still asks advertisers to send the GCLID whenever available, and GCLID is required if no tag collects user-provided data. Create the field on Lead and Opportunity and map it for lead conversion.
Data Manager needs the Salesforce API enabled. Salesforce includes API access by default in Enterprise, Unlimited, Performance and Developer editions. Professional Edition can buy API access as an add-on, while Group and Essentials editions cannot add it, so they cannot use the direct connection.
GCLID-based conversions must be imported within 90 days of the click, and enhanced conversions for leads within 63 days. The first scheduled import looks back only 14 days. If your sales cycle is longer, import an earlier milestone, such as a sales-qualified lead, as well as closed-won.
Check the import history under Goals, Conversions, Settings, View data integration for rows with errors. Common causes are a GCLID lost through redirects or a form without the hidden field, no GCLID mapping from lead to opportunity, field history tracking switched on late, skipped statuses, inactive API access, or clicks older than the upload window.
Not through Data Manager's direct Salesforce connection, which does not support Customer Match. Salesforce customers can activate Data 360 segments to Google Ads with the Advertising Audiences add-on. Customer Match targeting also requires 90 days of Google Ads history and more than USD 50,000 lifetime spend.
Twopir Consulting
Twopir Consulting helps growing and mid-market companies solve complex CRM, integration, and business system challenges. We implement, rescue, optimize, and integrate complex CRM and revenue systems, including the marketing and advertising connections around Salesforce, for 500+ clients over 12+ years.