Google Ads Conversions API Reference

The Google Ads Conversion API requires setting up new Conversion Actions within Google Ads. If you want to re-use your existing Google Ads configuration, take a look at the Google Ads Proxy Destination.

Optimize your Google Ads spend by attributing ad clicks to conversion and other key behaviors.

Destination Info

Client-sideServer-side

Web

Mobile

Server

This is a reference document for the Google Ads Conversions API destination. For information on how to set up this integration, see the Quick Start guide.

Events

Freshpaint .track() events map to any Click Conversions you've already created in Google Ads.

Track Events

When you send an event to Google Ads, you can track conversions from your ad campaigns based on those events.

Server-side

Freshpaint's servers use the same API as the client-side Google Tag. You may provide the following additional event properties:

Freshpaint property

Google Ads parameter

Type

Required?

Description

$gclid or $gbraid or $wbraid

gclid or wbraid or gbraid

string

Required

gclid (Google Click ID) is generated at ad click time and appended to the landing page URL. Freshpaint will automatically capture gclid for events from your website. If you wish, you may provide $gclid as an event property to override the automatically captured value. wbraid or gbraid can be used instead of gclid.

ctname or ctid

ctid

string

Required

The Conversion Name or Conversion Id of the conversion action in Google Ads. When using the Conversion Name, the Freshpaint integration will lookup the conversion id before sending the event to google.

time

conversionDateTime

number

Optional

The time the event occurred as a unix epoch. The time needs to be after the ad is clicked or it won't be accepted by google.

cart_data

cartData

object

Optional

The cart data associated with this conversion. Google Docs

external_attribution_data

externalAttributionData

list

Optional

Additional data about externally attributed conversions. This field is required for conversions with an externally attributed conversion action, but should not be set otherwise. Google Docs

custom_variables

customVariables

list

Optional

The custom variables associated with this conversion. Google Docs

conversion_environment

conversionEnvironment

enum

Optional

The environment this conversion was recorded on, for example, App or Web. Google Docs

value or total or revenue

value

number

Optional

Value of the conversion. See About conversion values for more information

currency

currency_code

string

Optional

Currency of the conversion value, "USD" by default. See the list of supported currency codes.

email

email

string

Optional

The email address of the user

phone or phone_number

phone

string

Optional

The phone number of the user

mobile_id

mobileID

string

Optional

Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match.

third_party_user_id

thirdPartyUserID

string

Optional

Advertiser-assigned user ID for Customer Match upload, or third-party-assigned user ID for Store Sales. Accepted only for Customer Match and Store Sales.

address_info

offlineAddressInfo

object

Optional

Address information. Accepted only for Customer Match, Store Sales, and ConversionAdjustmentUploadService. Google Docs

Freshpaint will only deliver events to Google when a user arrives on your site by clicking on a Google Ad, thus generating an gclid. Without gclid, Google will not be able to attribute conversions.

Setup Conversion Actions

When using the conversion API to send converisons to Google Ads, you will need to create new import conversion actions.

  1. Get your google conversion label. In your Google Ads account go to Tools > Conversions.

  2. Click + New Conversion Action to create a new conversion action.

Considerations

  • Conversions may take up to 24 hours to appear in your Google Ads Conversion Goals.

  • Google Ads API v15 introduces a consent object to indicate whether users within the European Economic Area have consented to the event being shared with Google. If the event is enabled and consented to within Freshpaint using the Freshpaint consent management features, Freshpaint will automatically mark the event as consented to when sending the event to Google's servers. See Consent Management for more information.

View-Through Conversions and Retargeting

View-through conversions and retargeting are possible for users when an identifier such as email or phone number is shared with Google.

Note that retargeting of anonymous users is not possible, due to the absence of an identifier that can be used to retarget that user.

Last updated