Set up Google Ads in Metorial for Claude, ChatGPT and Cursor
Share Google Ads with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 11 tools (3 read-only).
To give your team Google Ads in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Google Ads integration in a Metorial portal, and each person signs in to Google Ads with their own account. Agents can create, manage, and optimize advertising campaigns across Google Search, Display Network, YouTube, and Shopping. The integration has 11 tools, 3 read-only and 8 write, plus 1 trigger.
What you'll learn
- How an admin shares Google Ads in a portal and how each person connects
- The 1 OAuth scope Google Ads can request, and what each one allows
- How to keep the 3 read-only tools and reject the other 8
Before you start
- A portal with at least one access group
- An account with Google Ads for each person who connects
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| Google OAuth | OAuth | Signs in to Google Ads after entering developerToken |
Google OAuth
Before the sign-in, setup asks for:
developerToken: Your Google Ads API developer token (22-character alphanumeric string from the API Center in your manager account)
People sign in to Google Ads and approve the scopes you allow. The integration can request:
| Scope | Name | What it allows |
|---|---|---|
https://www.googleapis.com/auth/adwords | Google Ads | Full access to manage Google Ads accounts, campaigns, ads, and reporting |
The read-only tools need only https://www.googleapis.com/auth/adwords. Allow just that scope in the Scopes picker when you create your own auth credentials, and the connection cannot change anything.
Setup settings
Setup also asks for:
loginCustomerId(optional): The Google Ads manager account ID (without hyphens) used when making API calls on behalf of a client account. Required when using a manager account.
Use your own Google Ads OAuth app
With your own OAuth app, people see your company's name on the Google Ads consent screen, and the client ID and secret belong to you.
Start the credentials in Metorial
In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Google Ads and copy the Redirect URI.
Register the app
In the Google Cloud console, enable the API behind Google Ads under APIs & Services, Library. Then go to Google Auth platform, Clients, click Create Client, choose Web application, and paste the redirect URI from Metorial under Authorized redirect URIs. Google shows the client secret only when you create the client.
The Google Workspace guide covers the consent screen and the OAuth client in Google Cloud step by step.
Finish in Metorial
Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Google Ads integration.
Admin: share Google Ads in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Google Ads. For how members connect, choose Each person connects, so everyone signs in to Google Ads as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Google Ads.
Choose who gets it
Add the access groups that should see Google Ads. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Google Ads integration. Once it exists, check which groups have it:
Employee: connect Google Ads
In the portal
Open Google Ads in the catalog
Sign in to your portal and open Google Ads. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A Google Ads sign-in tab opens. Sign in and approve the permissions listed.
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your Google Ads connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 3 read-only tools, such as list_accounts and search_reports, and lose the 8 write tools, such as manage_ads or manage_keywords.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 11 tools, minus any you rejected. list_accounts takes no input.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (3)
list_accounts: Lists all Google Ads customer accounts accessible to the authenticated user.generate_keyword_ideas: Generates keyword suggestions based on seed keywords, a URL, or both. NeedscustomerId.search_reports: Executes a Google Ads Query Language (GAQL) query to retrieve reporting data, resource details, or metrics from a Google Ads account. NeedscustomerIdandquery.
Write tools (8)
manage_conversion_actions: Create, update, or remove conversion actions for tracking valuable customer actions. NeedscustomerIdandoperation.manage_ad_groups: Create, update, or remove ad groups within a Google Ads campaign. NeedscustomerIdandoperation.manage_campaigns: Create, update, or remove Google Ads campaigns. NeedscustomerIdandoperation.manage_ads: Create, update, or remove ads within an ad group. NeedscustomerIdandoperation.manage_audience_lists: Create, update, or remove user lists (audience segments) for targeting. NeedscustomerIdandoperation.manage_bidding_strategies: Create, update, or remove portfolio bidding strategies that can be shared across multiple campaigns. NeedscustomerIdandoperation.manage_keywords: Add, update, or remove keywords in an ad group. NeedscustomerIdandoperation.upload_offline_conversions: Upload offline click conversions to Google Ads. NeedscustomerIdandconversions.
Triggers
Google Ads has 1 trigger, which fire on events in Google Ads:
lead_received: Triggered when someone submits a Google Ads lead form.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Google Ads there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Google Workspace guide: the consent screen and the OAuth client in Google Cloud
- Google Ads on metorial.com: the integration overview