TrustData
Connectors

Google Ads

Connect Google Ads and configure tracking parameters.

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

URL parameters setup

Do this first! Configure URL parameters in Google Ads before connecting in TrustData.

Set a tracking template at the account level to apply to all campaigns:

  1. In Google Ads, go to SettingsAccount settings
  2. Expand Tracking
  3. In Tracking template, enter:
{lpurl}?trdt_cpid={campaignid}&trdt_agid={adgroupid}&trdt_kwid={targetid}&trdt_ctid={creative}
  1. In Final URL suffix, you can optionally add:
utm_source=google&utm_medium=cpc&utm_campaign={_campaign}
  1. Click Save

Option 2: Campaign-level tracking template

For more control, set templates per campaign:

  1. Go to Campaigns → select a campaign
  2. Click SettingsAdditional settingsCampaign URL options
  3. Enter the tracking template:
{lpurl}?trdt_cpid={campaignid}&trdt_agid={adgroupid}&trdt_kwid={targetid}&trdt_ctid={creative}

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 configuring 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:

User clicks ad → gclid captured → stored as trdt_cid
        ↓
User converts → conversion event sent
        ↓
TrustData matches conversion to click via trdt_cid
        ↓
Attribution credit assigned to campaign/ad group/ad

Troubleshooting

"No data for this account"

  1. Verify the account has active campaigns
  2. Check that campaigns have had spend in the last 90 days
  3. Ensure you selected the correct MCC sub-account

"gclid not captured"

  1. Verify auto-tagging is enabled:
    • SettingsAccount settingsAuto-taggingOn
  2. Check tracking template is correctly formatted
  3. Test with Google's URL preview tool

"Attribution not working"

  1. Verify if trdt_ URL params are in your tracking template
  2. Check the SDK is installed on your landing pages
  3. Confirm conversions are being tracked (check Events in TrustData)

Manager account (MCC) access

If using a manager account:

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