Google Ads Integration

Connect your AI agent to Google Ads. Automate campaign management, keyword research, ad creation, budget adjustments, and performance reporting with secure OAuth2 credentials.

OAuth2 + Developer Token*.googleapis.com

What your agent can do

Full Google Ads account management through the Ads API.

Campaign management

Create, pause, and optimize ad campaigns. Adjust targeting, bidding strategies, and scheduling. Your agent can manage Search, Display, and Performance Max campaigns.

Keyword research

Discover new keyword opportunities using the Keyword Planner API. Get search volume estimates, competition levels, and suggested bid ranges.

Ad creation

Draft and publish responsive search ads, display ads, and ad extensions. Your agent writes headlines, descriptions, and tests variations.

Budget adjustments

Monitor and adjust campaign budgets in real time. Set daily limits, reallocate spend across campaigns, and pause overspending campaigns.

Performance reporting

Generate detailed performance reports with metrics like CTR, CPC, conversions, and ROAS. Compare campaigns and identify optimization opportunities.

Secure credential storage

Your Google Ads credentials are encrypted with AES-256-GCM. OAuth2 refresh tokens are handled automatically so your agent stays connected.

Prerequisites

  • An active Google Ads account
  • A Google Cloud project with the Google Ads API enabled
  • A Google Ads Developer Token (from API Center in your Ads account)
  • OAuth2 client credentials (client ID + secret) and a refresh token

Test developer tokens work immediately but only on test accounts. Production tokens require Google review, which can take several business days. Apply for production access early if you plan to manage live campaigns.

Step-by-step setup

Connect your Google Ads account to ClawTrust in about 15 minutes.

1

Create a Google Cloud project

Go to console.cloud.google.com and create a new project (or use an existing one). Enable the Google Ads API from the API library.

2

Apply for a Google Ads Developer Token

In your Google Ads account, go to Tools, then API Center. Apply for a developer token. Test accounts get instant access; production access requires review.

3

Create OAuth2 credentials

In your Google Cloud project, go to APIs & Services, then Credentials. Create an OAuth 2.0 Client ID (Desktop app type). Download the client ID and client secret.

4

Generate a refresh token

Use Google's OAuth Playground or a local script to complete the OAuth consent flow and generate a refresh token with Google Ads API scope.

5

Add credentials in ClawTrust

Open your agent's dashboard, go to Credentials, and click Add Credential. Select "Google Ads" and enter your developer token, client ID, client secret, refresh token, and customer ID.

6

Your agent is live on Google Ads

Your agent can now manage campaigns, research keywords, and pull performance reports. Test it by asking your agent to show your active campaigns.

Credential details

Google Ads requires multiple credentials for full API access.

Developer Token

A token from your Google Ads API Center that identifies your application. Required for all API calls.

OAuth2 Client ID

The client ID from your Google Cloud OAuth 2.0 credentials. Used to authenticate your app with Google's OAuth service.

OAuth2 Client Secret

The client secret paired with your client ID. Kept encrypted and never exposed.

Refresh Token

A long-lived token that lets ClawTrust automatically generate new access tokens. Does not expire unless you revoke it.

Customer ID

Your Google Ads account number (formatted as XXX-XXX-XXXX). Identifies which account your agent manages.

All credentials are encrypted with AES-256-GCM and stored in ClawTrust's secrets vault. OAuth2 tokens are automatically refreshed so your agent stays connected.

Example actions

Once connected, try asking your agent any of these:

"Show me all active campaigns and their spend this month"

"Pause any campaigns with a CPA over $50"

"Research keywords related to [topic] and show search volumes"

"Create a new responsive search ad for our [product] campaign"

"Generate a weekly performance report comparing all campaigns"

Ready to automate your Google Ads?

Connect your Ads account in minutes. Secure OAuth2 on every plan.