TrustData
Connectors

Google Ads

Connect Google Ads and add tracking parameters.

Connect your Google Ads account to sync campaign data and enable attribution.

URL parameters setup

Do this first. Add the URL parameters in Google Ads before you connect in TrustData.

Set a tracking template at the account level so it applies to all campaigns:

  1. In Google Ads, click the Admin icon in the left sidebar
  2. Click Account settings
  3. Expand the Tracking section and enter the following in the Tracking template field:
{lpurl}?trdt_cpid={campaignid}&trdt_agid={adgroupid}&trdt_kwid={targetid}&trdt_ctid={creative}
  1. Click Test to verify the tracking template is valid
  2. Click Save

Available ValueTrack parameters

Use these Google Ads dynamic parameters:

ParameterDescriptionExample Value
{gclid}Google Click IDCjwKCAiA...
{campaignid}Campaign ID12345678
{_campaign}Campaign name (custom)summer_sale
{adgroupid}Ad group ID98765432
{_adgroup}Ad group name (custom)blue_widgets
{creative}Ad ID11223344
{keyword}Keyword that triggered adbuy widgets
{matchtype}Keyword match typeb, p, e
{device}Device typem, t, c
{network}Network typeg, s, d

Setting up custom parameters

To use {_campaign} and {_adgroup}:

  1. Go to your campaign Settings
  2. Click Additional settings → Custom parameters
  3. Add:
    • _campaign = your-campaign-name
    • _adgroup = (set at ad group level)

Verify your setup

Test a URL using Google's preview:

  1. Go to Ads & assets → select an ad
  2. Click the three dots → Preview
  3. Check the final URL includes your parameters

Expected URL:

https://example.com/landing?trdt_cpid=12345678&trdt_agid=98765432&trdt_ctid=11223344&gclid=CjwKCAiA...

Connecting in TrustData

After you add the URL parameters:

  1. Go to Settings → Data Sources
  2. Click the Google Ads card
  3. Click Sign-in with Google
  4. Select your Google account
  5. Grant access to Google Ads data
  6. Select the Google Ads accounts to sync. If you access them through a manager account, enter the Manager Customer ID
  7. Click Connect

Required permissions

The OAuth flow requests these scopes:

  • https://www.googleapis.com/auth/adwords - Read Google Ads data

TrustData only reads data. We never modify your campaigns or settings.

Synced data

Data typeDescription
Campaign performanceDaily rows per campaign: name, status, channel type, bidding strategy and targets, budget, optimization score, network and location settings, impressions, clicks, cost, conversions and conversion value, view-through conversions, conversions under Google's current attribution model, invalid clicks, CTR, average CPC and CPM, and search and display impression share, including the share lost to budget and rank
Campaign auction insightsDaily rows per campaign and competing domain: impression share, overlap rate, position above rate, top and absolute top impression percentage, outranking share
Conversion lagConversions per campaign, conversion action, attribution event type and days-to-conversion bucket
Conversion action windowsThe click-through lookback window of each conversion action
Ad performanceDaily rows per ad: ad group, ad type, final URLs, responsive search ad headlines and descriptions, status, impressions, clicks, cost, conversions, CTR, average CPC and CPM, video views and video completion rate
Keyword performanceDaily rows per keyword: text, match type, negative flag, status, quality score and its components, CPC bid, effective CPC bid, impressions, clicks, cost, conversions, CTR, average CPC, search impression share, historical quality score and historical landing page quality score
Search termsDaily rows per search term, campaign and ad group: status, impressions, clicks, cost, conversions, CTR
Campaign networkDaily performance per campaign and ad network type
Change historyEdits made in the account over the last 28 days: time, resource type and name, operation, user email, client type, changed fields and the old and new values
Webpage criteriaThe webpage targeting criteria of each ad group
RecommendationsGoogle's budget, target CPA and target ROAS recommendations for each campaign

Date range

  • Historical: The first sync starts from the Start Date field (under the advanced settings), which is prefilled with 2025-01-01. Change it before you connect to sync more or less history
  • Ongoing: Incremental syncs every 3 hours
  • Conversion window: Google Ads is the only connector with a Conversion Window (days) field (default 30, 1–90). Each incremental sync re-reads that many days, so late conversions are picked up

Attribution matching

TrustData matches Google Ads clicks to conversions:

Loading diagram…

TrustData captures gclid only to forward conversions to Google Ads when the visitor consents. Consent masking drops it. It is never the attribution key.

Conversion forwarding

TrustData can upload offline conversions to Google Ads via the Conversion Upload API. This returns your first-party conversion data to Google's bidding algorithms.

How it works

Google Ads OAuth tokens expire every hour. TrustData resolves a fresh access token from your connected Google Ads data source. You do not enter a token manually.

Finding your customer ID

Your customer ID is the 10-digit number shown in the top right of Google Ads (e.g., 123-456-7890). Enter it without dashes: 1234567890.

Finding your conversion action ID

  1. In Google Ads, go to Goals → Conversions → Summary
  2. Click on the conversion action you want to use
  3. Look at the URL in your browser. It contains a ctid parameter, e.g.:
    ...ctid=7175926768...
    
  4. Copy the numeric ID (e.g., 7175926768)

Configuring in TrustData

  1. Go to Settings → Attribution IDs → select your ID
  2. Open the Forwarding tab
  3. Expand the Google Ads CAPI destination:
    • Turn on Forward to Google Ads
    • Enter your Customer ID (without dashes, e.g., 1234567890)
    • Enter the Conversion action ID (numeric, e.g., 7175926768)
  4. Click Save forwarding
Connect a Google Ads data source first. TrustData uses its OAuth credentials to authenticate conversion uploads.

Troubleshooting

"No data for this account"

  1. Verify the Google Ads account has active campaigns
  2. Check that campaigns had spend since the Start Date you set when connecting
  3. Check that you selected the correct MCC sub-account

"gclid not captured"

  1. Verify auto-tagging is enabled:
    • Settings → Account settings → Auto-tagging → On
  2. Check that the tracking template is formatted correctly
  3. Test with Google's URL preview tool

"Attribution not working"

  1. Verify that the trdt_ URL parameters are in your tracking template
  2. Check that the SDK is installed on your landing pages
  3. Confirm that conversions appear in Live Events (Settings → Attribution IDs → select your ID → Live Events)

Manager account (MCC) access

If you use a manager account:

  1. Connect with the MCC login
  2. Select the client accounts to sync
  3. Each client account syncs independently