Gifts

Culture

Reviews

Local Spots

How to Setup Salesforce with Google Ads (2026 Guide)

Salesforce

★★★★ 4.5
Crm Enterprise Crm

The world's leading cloud-based CRM platform powering sales, service, and marketing for businesses of all sizes.

Full Review

Google Ads

Online advertising platform for search, display, video, and shopping ads.

All Google Ads Tools

How to Connect Google Ads to Salesforce

Integrating Google Ads with Salesforce allows you to track ad-generated leads through your entire sales pipeline and send conversion data back to Google to optimize bidding. This connection closes the loop between marketing spend and sales revenue, enabling data-driven decisions about which campaigns deserve more budget and which should be paused. It is critical for B2B companies with long sales cycles where a form fill is just the beginning of the journey and real value is measured in closed deals.

Prerequisites

Confirm these requirements before setting up the integration:

  • Salesforce edition with API access: You need Salesforce Enterprise, Unlimited, or Performance edition, or Professional edition with API access enabled. The integration requires Salesforce API calls to sync data. Check your edition under Setup, then Company Information in Salesforce.
  • Salesforce system administrator access: You need admin-level access in Salesforce to configure connected apps, field mappings, and data sharing rules. Standard user accounts cannot set up third-party integrations.
  • Google Ads admin access: You need admin or standard access to the Google Ads account. If you use a manager account (MCC), ensure you have access to the specific client account you want to connect.
  • Auto-tagging enabled in Google Ads: Enable auto-tagging in Google Ads under Account Settings. This appends the GCLID (Google Click ID) to ad URLs, which is essential for matching Salesforce leads back to specific ad clicks.
  • GCLID field in Salesforce: Create a custom field on the Lead and Contact objects in Salesforce to store the GCLID value. This field is used to match website visitors who clicked on Google Ads with their Salesforce lead records.

Step-by-Step Connection Guide

There are two primary methods to connect Google Ads and Salesforce: using Google Ads' native Salesforce integration for offline conversion import, or using a third-party connector. Here is the process for Google Ads' native integration:

  1. Log in to your Google Ads account at ads.google.com.
  2. Click Tools and Settings (wrench icon) in the top navigation.
  3. Under Measurement, select Conversions.
  4. Click the + button to create a new conversion action.
  5. Select Import, then choose Salesforce as the data source.
  6. Click Connect to Salesforce. A Salesforce login window will appear.
  7. Log in with your Salesforce admin credentials and grant Google Ads permission to access your Salesforce data.
  8. Google Ads will connect to your Salesforce instance and detect available conversion milestones. Select which Salesforce milestones you want to import as Google Ads conversions. Common options include Lead Status changes (like Qualified or Converted) and Opportunity stages (like Proposal, Negotiation, Closed Won).
  9. Configure the conversion settings for each milestone: conversion name, value (use Salesforce opportunity amount or set a default value), count (one conversion per click or every conversion), and attribution window.
  10. Click Create and Continue. Google Ads will begin importing conversion data from Salesforce on a regular schedule, typically every few hours.

For the GCLID capture on your website, add a hidden field to your web forms that captures the GCLID from the URL parameter and passes it to Salesforce when the form is submitted. This can be done with a small JavaScript snippet on your landing pages.

Configuration and Settings

GCLID Capture Setup

The most critical configuration is ensuring GCLIDs are captured and stored in Salesforce. Add JavaScript to your website that reads the gclid URL parameter when a visitor arrives from a Google Ad and stores it in a cookie. When the visitor fills out a form, pass the GCLID value into a hidden form field that maps to the GCLID custom field on the Salesforce Lead object. This creates the link between the ad click and the Salesforce lead.

Conversion Milestone Mapping

In Google Ads, configure which Salesforce milestones count as conversions. For B2B companies, a typical setup includes: Lead Created as a micro-conversion, Marketing Qualified Lead as a secondary conversion, Opportunity Created as a primary conversion, and Closed Won as a revenue conversion. Map each milestone to the appropriate Salesforce Lead Status or Opportunity Stage values in the Google Ads import settings.

Conversion Value Configuration

For Closed Won conversions, configure Google Ads to pull the actual deal value from the Salesforce Opportunity Amount field. For earlier-stage conversions, assign estimated values based on your average conversion rates. For example, if 10% of qualified leads become customers with an average deal size of $10,000, assign a value of $1,000 to the Qualified Lead conversion.

Import Schedule

Google Ads imports Salesforce conversion data on a regular schedule. You can check the import status and frequency in Google Ads under Tools and Settings, then Conversions, then your Salesforce import. Ensure the import is running without errors. If imports fail, check your Salesforce API limits and connection status.

What You Can Do After Setup

  • Optimize bidding based on sales outcomes: Google Ads Smart Bidding can use Salesforce conversion data to optimize for leads that actually close as deals, not just leads that fill out forms. This dramatically improves lead quality over time.
  • See revenue attribution by campaign and keyword: In Google Ads reporting, view which campaigns, ad groups, and keywords generate closed-won revenue. Make budget decisions based on actual revenue, not just cost per lead.
  • Track the full lead-to-revenue journey: Follow a lead from the initial Google Ads click through every Salesforce stage to understand your complete sales funnel. Identify where leads drop off and which campaigns produce leads that move through the funnel fastest.
  • Build audience lists from Salesforce data: Upload Salesforce customer lists to Google Ads for Customer Match targeting. Target lookalike audiences based on your best customers or exclude existing customers from acquisition campaigns.
  • Report on true ROAS: Calculate actual return on ad spend using Salesforce revenue data. Compare ROAS across campaigns, ad groups, and keywords to identify your most profitable advertising investments.

Best Practices

  • Capture GCLID on every landing page: Ensure your GCLID capture script runs on all pages where a visitor might convert, not just your main landing page. Visitors may click an ad, browse several pages, and then convert on a different page. Use first-party cookies to persist the GCLID across sessions.
  • Import multiple conversion milestones: Do not just import Closed Won deals. Import earlier milestones like MQL and Opportunity Created so Google Ads has faster feedback signals for optimization. Smart Bidding works better with more conversion data points.
  • Use value-based bidding: Once you have Salesforce revenue data flowing into Google Ads, switch to value-based bidding strategies like Maximize Conversion Value or Target ROAS. This tells Google to optimize for revenue, not just volume.
  • Audit GCLID capture regularly: Periodically check a sample of new Salesforce leads to verify they have GCLID values populated. If GCLIDs are missing, your attribution chain is broken. Common causes include form builder changes, website updates, or cookie blocking.
  • Allow for conversion lag: B2B sales cycles can be months long. Give the integration time to accumulate meaningful data before making major campaign changes. At least 90 days of data is recommended for reliable optimization.

Troubleshooting Common Issues

  • No conversions appearing in Google Ads: Verify that GCLIDs are being captured in Salesforce by checking recent leads for the GCLID field value. If the field is empty, your website's GCLID capture script is not working. Also confirm that the Salesforce import in Google Ads is active and not showing errors.
  • Import fails with API errors: Salesforce has daily API call limits based on your edition. If the import fails with API limit errors, check your Salesforce API usage under Setup, then System Overview. Consider upgrading your API call allowance or reducing the frequency of other integrations that consume API calls.
  • Conversion counts are too low: This often happens when GCLIDs are not being captured for all ad-generated leads. Check your form setup, cookie implementation, and whether all landing pages include the GCLID capture script. Also verify that the attribution window in Google Ads is long enough for your sales cycle.
  • Salesforce connection drops: If the Google Ads to Salesforce connection disconnects, re-authenticate in Google Ads under Tools and Settings, then Conversions. Check if your Salesforce admin has revoked connected app permissions or if your Salesforce password has changed.
  • Duplicate conversions: If you see inflated conversion numbers, check your count setting in Google Ads. For B2B lead generation, set the count to "One" so that each lead is counted as a single conversion regardless of how many times they interact with your ads.

Limitations and Workarounds

  • GCLID expires after 90 days: Google's GCLID has a maximum attribution window of 90 days. Leads that take longer than 90 days from ad click to conversion cannot be attributed. Workaround: Use UTM parameters as a supplementary tracking method and build custom Salesforce reports that use UTM data for long-cycle attribution.
  • No campaign management from Salesforce: Salesforce cannot create, edit, or manage Google Ads campaigns. All campaign management is done in Google Ads. Salesforce provides the conversion data; optimization happens in Google Ads.
  • Limited to CRM data available via API: Google Ads can only import Salesforce data that is accessible through the API. Custom objects, complex multi-object relationships, or heavily customized Salesforce configurations may require additional setup or middleware to make data available for import.
  • No real-time sync: The Salesforce import runs on a schedule (typically every few hours), not in real time. There is a delay between a Salesforce lead status change and when Google Ads sees the conversion. Workaround: Accept the delay as part of the process; it does not significantly impact Smart Bidding performance.
  • Cross-device and cross-browser limitations: If a user clicks a Google Ad on one device and converts on another, the GCLID may be lost. Workaround: Encourage conversions on the same session where possible, and use Google's cross-device conversion tracking to fill some of these gaps.

Salesforce Full Review » | All Google Ads Tools »