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, 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 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

Conversion forwarding

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

How it works

Google Ads OAuth tokens expire every hour. TrustData automatically resolves a fresh access token from your connected Google Ads data source — no manual token entry is needed.

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
Make sure you have a Google Ads data source connected. TrustData uses its OAuth credentials to authenticate conversion uploads.

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