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 settingsCustom 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 SettingsData Sources
  2. Click Add Data SourceGoogle Ads
  3. Click Connect with Google
  4. Select your Google account
  5. Grant access to Google Ads data
  6. Select the Google Ads accounts to sync
  7. Click Save

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
CampaignsName, status, budget, bidding strategy
Ad GroupsName, status, CPC bid
AdsHeadlines, descriptions, final URLs
KeywordsKeyword text, match type, bid
MetricsImpressions, clicks, cost, conversions

Date range

  • Historical: Last 90 days on first sync
  • Ongoing: Daily incremental sync

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 GoalsConversionsSummary
  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 SettingsAttribution IDs → select your ID → Edit Tracking Config
  2. Open the Forwarding tab
  3. Under Google Ads Conversion Upload:
    • Enable Google Ads
    • Enter your Customer ID (without dashes, e.g., 1234567890)
    • Enter the Conversion Action ID (numeric, e.g., 7175926768)
  4. Click Save Configuration
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 in the last 90 days
  3. Check that you selected the correct MCC sub-account

"gclid not captured"

  1. Verify auto-tagging is enabled:
    • SettingsAccount settingsAuto-taggingOn
  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 Events in TrustData

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