Google Ads Offline Conversions Cloud Mode Integration

Send events to Google Ads Offline Conversions in RudderStack cloud mode.

After you have successfully instrumented Google Ads Offline Conversions as a destination in RudderStack, follow this guide to correctly send your events to Google Ads Offline Conversions in cloud mode.

How to use the integration

This section gives an overview of how to use the Google Ads Offline Conversions cloud mode integration with RudderStack:

  1. Dashboard setup: Set up the Google Ads Offline Conversions destination in RudderStack.
  2. Configure event mappings: Map your RudderStack events to Google Ads conversion types (Click, Call, or Store) in the dashboard settings.
  3. Send track events: Use the track method to send conversion events with the required properties.

Track

RudderStack associates the track event with the event name defined in the Map your events with Google Ads Offline Conversions dashboard setting.

RudderStack supports the following conversion types:

Click conversion

You can create a conversion action to upload offline click conversions into Google Ads. The Google Ads Click Conversion API processes these click conversions.

A sample track call for a click conversion is shown below:

javascript
rudderanalytics.track('sign up completed', {
  gclid: "gclid_value",
  conversionDateTime: "2022-05-20 12:32:45-08:00"
});

The following table lists the property mappings between RudderStack and Google Ads Offline Conversions for the click conversion type:

RudderStack propertyGoogle Ads Offline Conversions propertyNotes
properties.conversionDateTime
timestamp
originalTimestamp
Required
conversionDateTimeDate and time at which the conversion occurred. It must be after the click time and must include the timezone offset.

The format for this field is yyyy-mm-dd hh:mm:ss +/- hh:mm.

For example, 2019-01-01 12:32:45-08:00.
traits.email
context.traits.email
hashedEmailIf User Identifier Source is set in the dashboard, either email or phone must be passed.
traits.phone
context.traits.phone
hashedPhoneNumberIf User Identifier Source is set in the dashboard, either email or phone must be passed.
properties.gclidgclid-
properties.gbraidgbraid-
properties.wbraidwbraid-
properties.externalAttributionCreditexternalAttributionCredit-
properties.externalAttributionModelexternalAttributionModel-
properties.merchantIdmerchantId-
properties.feedCountryCodefeedCountryCode-
properties.feedLanguageCodefeedLanguageCode-
properties.localTransactionCostlocalTransactionCost-
properties.product_id
properties.sku
productId-
properties.quantityquantity-
properties.priceunitPrice-
properties.userIdentifierSourceuserIdentifierSource-
properties.conversionEnvironmentconversionEnvironmentYou can set the value for this parameter in the dashboard settings — it accepts only the following values:

  • None (default)
  • UNSPECIFIED
  • UNKNOWN
  • APP
  • WEB
properties.conversionValue
properties.total
properties.value
properties.revenue
conversionValue-
properties.currencyCode
properties.currency
currencyCode-
properties.orderId
properties.order_id
orderId-

See ID parameters section for detailed guidelines on passing the combinations of wbraid, gbraid, and gclid parameters.

Call conversion

You can create a conversion action to upload offline call conversions into Google Ads. The Google Ads Call Conversion API processes these call conversions.

A sample track call for a call conversion is shown below:

javascript
rudderanalytics.track('login', {
  callerId: "callerId_value",
  callStartDateTime: "2022-08-12 15:01:30+05:30",
  conversionDateTime: "2022-09-24 12:32:45-08:00"
});

The following table lists the property mappings between RudderStack and Google Ads Offline Conversions for the call conversion type:

RudderStack propertyGoogle Ads Offline Conversions property
properties.callerId
Required
callerId
properties.callStartDateTime
Required
callStartDateTime
properties.conversionDateTime
originalTimestamp
Required
conversionDateTime
properties.conversionValue
properties.total
properties.value
properties.revenue
conversionValue
properties.currencyCode
properties.currency
currencyCode

Store sales conversion

You can create a conversion action to upload store sales conversions into Google Ads. The Google Ads Store Conversion API creates an offline user data job.

A sample track call for a store sales conversion is shown below:

javascript
rudderanalytics.track("Product Reviewed",{
    "loyaltyFraction": 1,
    "order_id": "order id",
    "currency": "USD",
    "revenue": "100",
    "store_code": "store code",
    "email": "alex@example.com",
    "gclid": "gclid",
    "conversionDateTime": "2022-01-01 12:32:45-08:00",
    "product_id": "123445",
    "merchantId": 123456789,
    "custom_key": "CUSTOM_KEY",
    "CUSTOM_KEY": "CUSTOM_VALUE",
    "quantity": 123
  })

Note that:

  • The merchantId and product_id properties in this sample apply only when item-level attribution is enabled for your workspace.

  • The following fields are required to send the store conversions successfully:

    • event
    • Any one of the properties.total, properties.value, properties.revenue, or properties.currency

See job creation, address info, and conversion mapping parameter mappings for more information on the optional fields you can send in the payload.

If you specify a user identifier in The user identifier for store and click conversions setting but don’t include it in the payload, RudderStack looks for the following fields as user identifiers (in the same priority order):

  1. Address
  2. Email
  3. Phone

If none of the above are present, RudderStack sends an empty user identifier.

Item-level attribution

You can send item-level data with a store sales conversion to attribute in-store revenue to a product or SKU. The item-level attribution mapping is behind an environment feature flag and isn’t available as a destination setting in the RudderStack dashboard.

Contact RudderStack support to request enablement for your workspace.

Before requesting enablement:

  • Ask Google to approve your Google Ads customer for store sales item_attribute access. Google makes this field available only to customers on its allow-list. See Google’s ItemAttribute reference for the required item fields.
  • Link the relevant Merchant Center account to Google Ads and verify that the merchant and item IDs in your events are valid for that account.

The following table lists the supported item fields and their accepted source properties. RudderStack uses the source properties in the listed precedence order.

Google Ads item fieldFlat source propertiesProduct source properties
item_id
Required
properties.item_id
properties.product_id
properties.sku
properties.products[].item_id
properties.products[].product_id
properties.products[].sku
merchant_id
Required
properties.merchantId
properties.merchant_id
Not applicable
country_codeproperties.feedCountryCode
properties.country_code
Not applicable
language_codeproperties.feedLanguageCode
properties.language_code
Not applicable
quantityproperties.quantityproperties.products[].quantity

Item-level attribution has the following behavior:

  • If properties.products is absent or empty, RudderStack uses the flat properties. It resolves the item ID from properties.item_id, then properties.product_id, and then properties.sku.
  • If properties.products contains one or more products, RudderStack ignores the flat item ID and quantity. For each product, it resolves the item ID from item_id, then product_id, and then sku, and uses that product’s quantity. The merchant ID, country code, and language code still come from the flat properties.
  • The merchant ID and quantity must be positive whole numbers within the safe-integer limit (9007199254740991), supplied as numbers or digit strings. An invalid merchant ID prevents RudderStack from sending item-level data. RudderStack omits an invalid or unresolved quantity; it doesn’t set the quantity to 1, but Google applies its default quantity of 1.
  • RudderStack sends an item only when both its item ID and the shared merchant ID resolve. It skips products without an item ID. If no products resolve, RudderStack sends the store sales conversion without item-level data.
  • For any non-empty properties.products array, RudderStack sends one store sales operation per resolved product. If the event sets properties.order_id or properties.orderId, every operation carries that same order ID, which Google Ads uses to group them as one order.
Each fanned-out operation carries the full order value in transaction_amount_micros; RudderStack doesn’t split the value per item. For an order with N attributed products, Google Ads reports N times the order value. Also, partial failure is disabled for store sales uploads, so if Google rejects any one of the fanned-out operations, it rejects the entire upload for that order rather than just the affected item.

properties.lineItems isn’t a supported key. Use the flat properties or properties.products as described above.

You can specify user consent for leveraging their data for advertisements and personalization in case of click, call, and store sales conversions. To do so, use the integrations object in your track event as follows:

javascript
rudderanalytics.track('Signup Completed', {
  prop1: 'val1',
  gclid: "gclid_value",
  conversionDateTime: "2022-05-20 12:32:45-08:00"
}, {
  "integrations": {
    "GOOGLE_ADWORDS_OFFLINE_CONVERSIONS": {
      "consents": {
        "adUserData": "GRANTED",
        "adPersonalization": "GRANTED"
      }
    }
  }
});

Note the following:

  • The permissible values for the adUserData and adPersonalization fields are:
    • UNSPECIFIED
    • UNKNOWN
    • GRANTED
  • If you set these fields to any other value, RudderStack automatically changes them to UNKNOWN.
  • If you do not set the consents field in the event payload, RudderStack sets the adUserData and adPersonalization fields to UNSPECIFIED by default.

FAQ

How to check the upload conversions in Google Ads?

To check the upload conversions in Google Ads:

  1. Log in to your Google Ads account.
  2. Click Goals in the left navigation bar. Then, click Uploads to view the uploaded conversions.
Google Ads Offline Conversions

Why am I not seeing the enhanced conversions for my offline events?

Verify if you have accepted the customer data terms in the conversion settings page — follow these steps to do so:

  1. Log in to your Google Ads account.
  2. Click Goals in the left navigation bar. Then, click Settings.
  3. Click Customer data terms.
  4. Review and accept the terms, then click Save.
Google Ads Offline Conversions

See the Google Ads documentation for detailed information on enhanced conversions diagnosis.

Questions? Let's figure it out together.

Join the RudderStack Slack community to connect with other users, customers, and the RudderStack team — or reach out for direct support.