Import conversions from ad clicks into Google Ads using files (legacy)

Enhanced conversions for leads only supports Google Ads Data Manager files. If you're currently using a legacy file format to set up enhanced conversions for leads, you need to upgrade to Google Ads Data Manager.

Enhanced conversions for leads is an upgraded version of offline conversion import that uses user-provided data, such as email addresses, to supplement imported offline conversion data to improve accuracy and bidding performance. When you import your offline conversions, the provided hashed customer data is used to attribute back to the Google Ads campaign by matching to the same data collected on your website (for example, lead form) and to signed-in customers who engaged with your ad.

If you already use offline conversions, you can upgrade to enhanced conversions for leads to import user-provided data in addition to the identifiers you already import (GCLID). Learn more about how Google used enhanced conversions for leads data.

If you have not already adopted offline conversion import, we recommend starting with enhanced conversions for leads instead. Enhanced conversions for leads is an upgraded offline conversion import that is easier to set up and offers benefits like durable, more accurate reporting, engaged-view conversions, cross-device conversions.
 
If you currently use Offline Conversion Import, we recommend upgrading it to get the benefits of enhanced conversions for leads. Learn more About enhanced conversions for leads.

How it works

Importing conversions lets you view how your online ads affect offline sales and other valuable actions. This article explains how to prepare a file to import the conversions that you receive from clicks on your ads into Google Ads by using Google Ads Data Manager to automate conversion imports.

Learn more about how to Import phone call conversions.

Before you begin

Before importing conversions, make sure you’ve followed all the instructions to set up enhanced conversions for leads.

3 ways to import your data:

You should import your conversions into Google Ads using the Google Ads Data Manager. Offline conversion import is a legacy feature, and it doesn’t have the durability features that enhanced conversions for leads offers. Google Ads Data Manager simplifies connecting and activating your first party data through a new interface available within Google Ads. It enables advertisers to import and activate their first party data across two use cases and supported connectors. If your connector isn’t supported by Google Ads Data Manager, you can set up using a third-party integration like Zapier.

There are 3 steps to prepare and import your conversion data:

  1. Prepare your data for import
  2. Import your conversions
  3. View your results and fix issues

1. Prepare your data for import

  1. Download a template based on the type of conversions you’d like to upload (download: Excel, CSV, Google Sheets, or enhanced conversions for leads spreadsheets). You can also download templates from the Google Ads interface:
    1. In your Google Ads account, click the Goals icon Goals Icon.
    2. Click the Conversions drop down in the section menu.
    3. Click Uploads.
    4. Click the plus button .
    5. Click View templates.
    6. Select the correct template based on the method you're using: “Conversions from clicks (enhanced conversions for leads)” or “Conversions from clicks (using Google Click ID)”.
  2. Observe the following guidelines for uploading spreadsheets:

    If any of the conversions you import are within one day of the click, Google Ads may not be able to record them yet. As a best practice, upload an extra day's worth of data with each import. Google Ads won’t count duplicate conversions, and you’ll receive an error message letting you know which conversions are duplicates. Note that previously, duplicate conversions were ignored but didn't display an error, so if you frequently upload duplicates, you may notice more errors than before. To determine whether a conversion is unique, Google Ads uses the conversion action name, time of conversion, and the relevant unique identifier associated with a conversion.
    Note: If you're using external attribution with your conversion import, refer to about importing externally attributed conversions below for the appropriate upload template and additional features.
    • If you’re importing conversions from clicks using Google Click ID (GCLID), don't remove the Google Click ID field or your import will fail.
    • Make sure your data doesn't include additional columns or any personal information, such as phone numbers and emails.
    • If you want Google Ads to import your conversions automatically on a regular schedule (refer to Step 2: Import your conversions), you need to use Google Sheets or link to a file over HTTPS or SFTP.
  3. Use one of the following formats to enter the time zone (don't enclose the time zone in quotes or other special characters):
    • Enter your time zone ID. This method is recommended to avoid errors during daylight savings time transitions. Example - Parameters:TimeZone=America/Chicago
    • Enter your GMT offset by indicating + or - and then the 4 digit time difference. (For example, New York's offset is -0500, and Berlin's is +0100). If you use Greenwich Mean Time, then simply enter +0000. Example - Parameters:TimeZone=-0500
  4. Add a new row for each offline conversion, and fill in the columns:
    • Importing enhanced conversions for leads:
      • Email or phone number collected from your lead form: You must include either of the fields from your website lead form that you previously configured in global site tag or Google Tag Manager. We recommend using email. Learn more about how to Set up enhanced conversions for leads with the Google tag.
    • We strongly recommend also importing conversions from clicks using Google Click ID:
      • Google Click ID: The GCLID that led to the offline conversion, if you're able to capture it. We recommended sending the GCLID with enhanced conversions for leads. To learn how to get the GCLID, follow the instructions to set up offline conversion imports.
    • Conversion Name: The name of the conversion action (for example, "lead qualified" or "contract signed") that you’d like to import this conversion for. It's important that you must use the same spelling and capitalization that you did when you created this conversion action in your Google Ads account.
    • Conversion Time: The date and time that the conversion occurred. Check the table below for a list of acceptable date formats (for example, MM/dd/yyyy HH:mm:ss). You can add a time zone to the conversion time by using one of the last 4 formats listed. Replace“+z” with the GMT offset by indicating + or - and then the 4 digit time difference (for example, New York's offset is -0500, and Berlin's is +0100), or replace "zzzz" with the time zone ID from the codes and format list.
    • Order ID (optional field): A unique identifier for each transaction, such as an order confirmation number. Learn more about how to Use a transaction ID to minimize duplicate conversions.
    • Conversion Value (optional field): A number representing the value that you place on the conversion. It could reflect a currency value, or you can choose to enter relative values (for example, 1-10). If you leave this field blank, Google Ads will automatically apply the "conversion value" that you defined in Step 2.8 when you created your new offline conversion action.
    • Conversion Currency (optional field): The currency in which your conversion value is provided. You'll use this if you report conversion values in more than one currency or have multiple accounts that are billed in different currencies. Use the 3-character ISO 4217 currency codes, such as USD for United States dollars, and JPY for Japanese yen.
    • Ad User Data: Sets consent for sending user data to Google for advertising purposes. This boolean value represents consent for core platform services (CPS) preferences in settings. Learn more FAQs About the EU user consent policy for Customer Match upload partners. The default value is unset, and this column can have the following values:
      1. Granted: The desired consent status is to grant.
      2. Denied: The desired consent status is to deny. The CPS list is empty.
    • Ad Personalization: Sets consent for ad personalization. Learn more FAQs About the EU user consent policy for Customer Match upload partners. The default value is unset, and this column can have the following values:
      1. Granted: The desired consent status is to grant.
      2. Denied: The desired consent status is to deny. The CPS list is empty.
  5. If you’re using enhanced conversions for leads with a scheduled upload, then you must hash the phone number and email fields using SHA256. Hashing isn't required for a manual, one-time upload with enhanced conversions for leads.

Example

You can use the example method below to hash your data for enhanced conversions for leads using Google sheets:

  1. Make a copy of the spreadsheet template.
  2. In the menu bar, click Extensions and select Apps Script.
  3. On the left panel, click Triggers.
  4. Select either create a new trigger or + Add Trigger.
  5. In the menu, select the “autoHash” function and set the event type to “On edit”.
  6. Click Save.

The data you enter in the email and phone number fields will be automatically hashed.

Format Examples
MM/dd/yyyy hh:mm:ss aa "08/14/2012 5:01:54 PM"
MMM dd,yyyy hh:mm:ss aa "Aug 14, 2012 5:01:54 PM"
MM/dd/yyyy HH:mm:ss "08/14/2012 17:01:54"
yyyy-MM-dd HH:mm:ss "2012-08-14 13:00:00"
yyyy-MM-ddTHH:mm:ss "2012-08-14T13:00:00"
yyyy-MM-dd HH:mm:ss+z "2012-08-14 13:00:00+0500"
yyyy-MM-ddTHH:mm:ss+z "2012-08-14T13:00:00-0100"
yyyy-MM-dd HH:mm:ss zzzz "2012-08-14 13:00:00 America/Los_Angeles"
yyyy-MM-ddTHH:mm:ss zzzz "2012-08-14T13:00:00 America/Los_Angeles"

2. Import your conversions

To import your offline conversions to Google Ads, you'll need to upload your conversion file to the Google Ads account that manages your conversions. If you have cross-account conversion tracking set up, you should upload conversions at the manager account level. You can either upload a file once or create a schedule to regularly upload a file that you keep online. Follow the instructions below for a one-time upload or scheduled uploads, depending on how you want to import your conversions. Make sure you follow these best practices for uploading conversions.

You can create a custom variable by using conversion tracking tags or uploading offline conversions.

After creating a new conversion action, wait for 4-6 hours before uploading conversions for that conversion action.

3. View your results and fix issues

It's common, especially when you're first setting up your conversion import process to have errors in your upload files. We urge every advertiser to examine the results for their uploads. Learn more about how to Fix discrepancies and errors in offline conversion imports.

Related links

Was this helpful?

How can we improve it?
307682707289352268
true
Search Help Center
true
true
true
true
true
73067
Search
Clear search
Close search
Main menu
false
false
false
false
false