Google Ads Conversions API Reference
Last updated
Last updated
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.
Supports Track calls
Supports HIPAA mode
Refer to this destination as Google Ads Conversion API in the Integrations object
Connection Modes:
Client-side | Server-side | |
---|---|---|
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.
Freshpaint .track()
events map to any Click Conversions you've already created in Google Ads.
When you send an event to Google Ads, you can track conversions from your ad campaigns based on those events.
You may provide the following additional event properties:
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.
Please refer to the Quick Start Guide for instructions on how to set up conversion actions.
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.
The workflow of importing GA4 events as conversion actions in Google Ads is considered non-compliant, primarily related to the handling of user identifiers like the GCLID (Google Click Identifier).
To remain compliant for both GA4 and Google Ads, Freshpaint recommends:
Not allowlisting the Google Click Identifier (GCLID) property for your Google Analytics destination.
Creation of net-new Website Conversion Actions in Google Ads: Instead of passing the GCLID directly to GA4, create specific Website conversion actions. The conversion action name can be used as the "ctname" property, along with a "conversion label" property which allows Freshpaint to map an event to a specific conversion action in Google Ads.
Unlinking your Google Analytics 4 property from your Google Ads account: The process for how these 2 tools are unlinked is documented here, under the "Unlinking Google Ads accounts from Analytics" section of the article.
Freshpaint supports using either a User Account or Service Account for accessing the Google Ads Conversion API.
A user who has access to both Freshpaint and Google Campaign Manager 360 may delegate access to Freshpaint using the user account. Freshpaint will be granted the limited permissions necessary to send conversion events to google CM360 and be directly tied to the account of the user who delegated access. If that user account is removed or reset, google may revoke the authentication credentials that have been delegated to Freshpaint under that user account.
The user delegating access to their User Account needs to have the "Insert offline conversions" permission as part of their role within Campaign Manager 360.
Navigate to the destination configuration page and click either Connect
or Reconnect
in the Access Permission
row of the destination configuration page. In the popup dialog select User Account and then Connect with Google CM360
which will redirect you to Google to complete setting up authentication between Freshpaint and Google services.
An account within google can be created only for Freshpaint that will provide Freshpaint with a set of credentials for Freshpaint to use when sending conversion events to Google. The creation of this account will require necessary permissions to the underlying google account.
Please follow the Google documentation on the creation and configuration of a service account available at: https://developers.google.com/google-ads/api/docs/oauth/service-accounts
The service account should be provided with the https://www.googleapis.com/auth/adwordsscope which will allow access to send conversion events to Google.
Once the service account has been created within Google, the credentials file can be uploaded to the Freshpaint application.
Navigate to the destination configuration page and click either Connect
or Reconnect
in the Access Permission
row. In the popup dialog select Service Account
and upload the json file that google provided with the credentials for Freshpaint.
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.
Web
Mobile
Server
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. When using the Conversion Id, the name of the Freshpaint Event must exactly match the name of the Google Ads Conversion name.
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