About AdWords Conversion Import for Salesforce®

If you use Salesforce's Sales Cloud® to track leads or opportunities or both, you can import your offline conversions from Salesforce's Sales Cloud into AdWords. This will help you better measure how your online AdWords investments are generating offline value.

In this article, we’ll go over the benefits of this feature and the basics of how the process works. When you’re ready, you can follow the instructions to begin importing conversions from Salesforce.

Why use it?

You use AdWords to bring in new customers for your business. You also use Salesforce’s Sales Cloud to track when new leads turn into paying customers. But how do you connect the dots? How do you see which AdWords keywords, ads and campaigns are doing the best job at driving the qualified leads and new sales that you track in Salesforce?

With AdWords Conversion Import for Salesforce, you can automatically count AdWords conversions for any of the lead statuses and opportunity stages (we’ll call these milestones) that you’re already tracking in Salesforce. This lets you understand how your AdWords investment results in the most important milestones in your sales funnel. With the information that you get, you can then adjust your AdWords account to make sure that you're driving the right kind of traffic.


You’ve created AdWords ads to send prospective customers to a contact form on your website. When people fill in the form, they're entered as new leads in Salesforce, and you use Salesforce to track every stage in the sales process.

You’ve already set up conversion tracking to see when prospective customers who click your ads submit the contact form. You’ve found out that two of your keywords are especially good at driving these leads. But you know that not all leads are equal: are both keywords resulting in sales?

You link your Salesforce and AdWords accounts, and you decide to track two Salesforce milestones as conversions: when a lead transitions to an opportunity, and when the opportunity results in a sale.

Once you start importing these conversions, you discover that while the two keywords are both good at driving prospect form submissions on your website, one keyword is much better than the other at driving leads that eventually result in opportunities and sales. You decide to increase your bids for the more successful keyword, and experiment with adding new keywords that are similar to the keyword that was most successful.

How it works

Once you’ve set up AdWords Conversion Import for Salesforce, here’s how the process will work:

When someone clicks your ad and goes to your website, your website captures a unique ID – called a “Google click ID” or “GCLID” – and stores it in a cookie. AdWords uses this ID to determine which click on which ad gets credit for any future conversions.

When the customer submits a lead form on your website, your website will pass along the GCLID to Salesforce and store it within the corresponding lead and any future opportunities that are derived from this lead.

AdWords will regularly check your Salesforce account to see if you’ve recorded any new important milestones that resulted from AdWords ads. (In the setup process, you’ll be able to pick which lead statuses and opportunity stages you want to track as conversions.) AdWords will know if this milestone originated from a lead from an AdWords ad, because if it did, it will have that unique ID that your website stored and passed along to Salesforce. If so, AdWords will count that milestone as an AdWords conversion.

What you'll need to do

To make the process work as described above, you’ll need to make some updates to your website, Salesforce account and AdWords account. If someone else manages the Salesforce account for your business, you’ll want that person’s help with some parts of this setup. Also, if a webmaster maintains your website, you’ll need their help as well.

We’ll give you an overview of the setup process below. To see the complete instructions, see Import conversions from Salesforce, or click the links for each step below to go directly to that part of the setup. Also, make sure that you read the requirements to ensure you’re ready to link your accounts.

  1. Configure your Salesforce account. Create a custom GCLID field in your lead and opportunity objects. Without this ID, AdWords won't know which click to attribute the conversion to. If someone else manages the Salesforce account for your company, you’ll need their help with this step.
  2. Edit your website to save the click ID in a cookie. AdWords will give you a piece of code to add to your website so you can collect and store the click ID. If you have a webmaster, they can help you with this.
  3. Adjust your Salesforce Web-to-Lead form. Modify the Web-to-Lead form on your website to upload the click ID (along with the rest of the form data) to Salesforce. Your Salesforce account administrator can help you with this step.
  4. Test that your system is working. Add the ID parameter to your website’s URL, submit a test lead and see if the ID is passed along to Salesforce.
  5. Link your AdWords and Salesforce accounts. You’ll need to enter a username and password for your Salesforce account. If someone else is the account administrator, ask them to give you a username and password, or join you for this part of the process.
  6. Decide which Salesforce milestones you want to track as conversions, and how often AdWords should check for them.
  7. Import your conversions. You’ve finished setting up, and your AdWords accounts will now regularly import your conversions from Salesforce.

What counts as a conversion?

You can configure your AdWords account to record a conversion for any or every lead status and opportunity stage you track in your Salesforce account. AdWords will record a conversion every time a lead or an opportunity is set to the respective status or stage. Note: If a Salesforce user skips a status or stage and sets it to the next or last one, AdWords will not record a conversion for the skipped stages.


Your Salesforce account has the following Opportunity stages: 1. "Sales Qualified", 2. "Needs Analysis", 3. "Proposal", 4. "Negotiation", 5. "Closed Won", and 6. "Closed Lost".

In AdWords, you choose to record a conversion every time the following stages are reached: 3. “Proposal", 4. “Negotiation", and 5. “Closed Won".

In Salesforce, a user moves the Opportunity from 1. "Sales Qualified" to 3. "Proposal", and then later marks it as 5. “Closed Won".

In AdWords, you'll see conversions for "Proposal" and "Closed Won", but not for "Negotiation" (since the user never set the opportunity to "Negotiation").

If a Salesforce user moves the lead status or opportunity stage back to a previous value (from B to A), AdWords won’t count a conversion for the step it moved back to (A), but will count conversions as it moves forward again, including counting the step it was moved back to (B). 

About Salesforce data in AdWords

AdWords regularly imports the Google Click ID, relevant lead statuses and opportunity stages, and relevant metadata from Salesforce into AdWords. Salesforce is not responsible for any impact on that data arising from the transmission.

For more information on Salesforce data in AdWords, click the links below.

What AdWords retrieves and stores from your Salesforce account

To make sure that your AdWords conversion data reflects the offline conversions tracked in your Salesforce Sales Cloud account(s), AdWords needs to regularly retrieve and store some information about your lead statuses and opportunity stages.

Once you've started using this solution, AdWords will need to store certain data from your Salesforce account in order to maintain a consistent understanding of the milestones that you want to treat as conversions. The data that we store includes your account's Org Name and Org ID, and copies of your account's Lead Status and Opportunity Stage value (such as "qualified" and "deal won", respectively).

In addition to this information, AdWords will regularly retrieve the following fields from your Sales Cloud account to identify which conversions need to be recorded in AdWords.  Note that AdWords will only pull this data for Leads and Opportunities with a value in the GCLID field.

  • Lead: custom "GCLID" field
  • Lead: Status History
  • Opportunity: Amount
  • Opportunity: custom "GCLID" field 
  • Opportunities: Stage History

This regularly downloaded information will be deleted within a few days, with the exception of your upload history logs.  These logs are available to you for 90 days, so you can see what conversions and conversion values have been uploaded for which GCLIDs on which days.  After 90 days, they will be deleted.

This means that we don't view or otherwise retrieve information that can be used to identify the people or businesses with which you're doing business (such as Lead or Opportunity Name).

How AdWords handles your data

We understand the importance and sensitivity of your data, and we're committed to protecting the confidentiality and security of the data that you share with us.

More specifically, here's how we treat your Salesforce data:

  • Limited data use. We won’t use your data files for any purpose other than to update your conversion metrics.
  • Limited data access. We won’t share your data files with other Google teams other than to update your conversion metrics. We use employee access controls to protect your data files from unauthorised access.
  • Limited data sharing. We won’t share your data files with any third party, including other advertisers, except that we may share this data for legal reasons, such as to meet any applicable law, regulation, legal process or enforceable governmental request.

We're also committed to ensuring that the systems that we use to store your data files remain secure and reliable. We have dedicated security engineering teams to protect against external threats to our systems, and we store all your data files in an encrypted format to protect against unauthorised access.


Was this article helpful?
How can we improve it?