Google Ads MCP
Read-only MCP server for the Google Ads API. Eleven tools cover discovery, GAQL reporting, resource schema, recommendations, keyword planning and forecasts, and change history for any account reachable under a manager account (MCC). We run this server in production for every ads client. Read-only is enforced at three layers: no mutate or apply service imports, an SDK method allowlist, and a GAQL-starts-with-SELECT guard.
Install
Claude Code:
claude mcp add google-ads \
-e GOOGLE_ADS_DEVELOPER_TOKEN=your-token \
-e GOOGLE_ADS_CLIENT_ID=your-client-id \
-e GOOGLE_ADS_CLIENT_SECRET=your-client-secret \
-e GOOGLE_ADS_REFRESH_TOKEN=your-refresh-token \
-e GOOGLE_ADS_LOGIN_CUSTOMER_ID=1234567890 \
-- uvx scalably-google-ads-mcp
Codex:
codex mcp add google-ads \
--env GOOGLE_ADS_DEVELOPER_TOKEN=your-token \
--env GOOGLE_ADS_CLIENT_ID=your-client-id \
--env GOOGLE_ADS_CLIENT_SECRET=your-client-secret \
--env GOOGLE_ADS_REFRESH_TOKEN=your-refresh-token \
--env GOOGLE_ADS_LOGIN_CUSTOMER_ID=1234567890 \
-- uvx scalably-google-ads-mcp
Claude Desktop: download google-ads-mcp.mcpb from the latest GitHub release and open it.
Setup
This is the heaviest setup in the gallery: expect up to two days waiting on developer token approval. One set of credentials, rooted at a manager account (MCC), can read any customer account linked under it, so there is no per-client configuration beyond linking an account to the MCC.
- Google Ads developer token. Sign in at ads.google.com under your manager account, go to Tools and Settings, API Center, and apply for a developer token. A new token starts on the Explorer access level, which Google grants after a review that can take a few days; discovery, query and recommendation tools work there. Basic access (a separate application) is needed for higher quotas and may be needed for the keyword-planning tools.
- Google Cloud OAuth client. In a Google Cloud project, enable the Google Ads API, then create an OAuth client ID of type Desktop app under APIs and Services, Credentials. Note the client ID and client secret, and add the
https://www.googleapis.com/auth/adwordsscope to the OAuth consent screen. - Refresh token. Generate a refresh token once, as an admin user of the manager account, using Google's
oauth2ltool or thegenerate_user_credentials.pyexample shipped with thegoogle-adsPython library. Save the refresh token; it does not expire from normal use. - Login customer ID. Use the 10-digit customer ID of the manager account itself (no hyphens) as
GOOGLE_ADS_LOGIN_CUSTOMER_ID. Any client account accepts an invite to link under this manager account in its own Google Ads UI, after whichgoogle_ads_list_customer_clientssees it.
Tools (11)
| Tool | What it does |
|---|---|
google_ads_list_accessible_customers |
List every customer_id the OAuth user has direct access to |
google_ads_list_customer_clients |
Walk the MCC hierarchy and return every child account |
google_ads_query |
Run a GAQL query against a specific customer account |
google_ads_describe_resource |
Schema (fields, metrics, segments) for a GAQL resource |
google_ads_list_resources |
Return the full catalog of GAQL resources |
google_ads_recommendations |
Read Google's optimization recommendations for a customer account |
google_ads_keyword_ideas |
Generate keyword ideas with search volume, competition and CPC estimates |
google_ads_keyword_historical_metrics |
Historical monthly search-volume and competition metrics for specific keywords |
google_ads_keyword_forecast_metrics |
Forecast KPIs for a proposed keyword plan |
google_ads_change_events |
Audit trail of who changed what, last 30 days |
google_ads_change_status |
Lightweight last-modified change tracker per resource |
Configuration
| Variable | Required | Purpose |
|---|---|---|
GOOGLE_ADS_DEVELOPER_TOKEN |
yes | Google Ads API developer token from the Ads API Center |
GOOGLE_ADS_CLIENT_ID |
yes | OAuth2 client_id for a Desktop-app credential |
GOOGLE_ADS_CLIENT_SECRET |
yes | OAuth2 client_secret paired with the client_id |
GOOGLE_ADS_REFRESH_TOKEN |
yes | Long-lived OAuth2 refresh_token for the adwords scope |
GOOGLE_ADS_LOGIN_CUSTOMER_ID |
yes | 10-digit customer ID of the manager account (MCC), no hyphens |
GOOGLE_ADS_API_VERSION |
no | Google Ads API version to target, default v25 |
GOOGLE_ADS_USE_PROTO_PLUS |
no | Use proto-plus message types, default true |
GOOGLE_ADS_LOG_LEVEL |
no | Python log level, default WARNING |
Reply shape
Every tool returns JSON with status (succeeded, partial, no_op), summary, result, proof, warnings, recovery. proof.apiVersion names the Google Ads API version used. proof.microsConverted is set on google_ads_query. A partial status means the result hit its configured bound (max_rows, page_size or limit); recovery.nextAction says how to continue.
Limits
google_ads_query responses are capped at 64 MB per call by the Google Ads API; split large date ranges across calls. KeywordPlanIdeaService (keyword ideas, historical metrics, forecasts) is rate-limited to 1 query per second and may require Basic Access if you get a permission error on the Explorer tier. google_ads_change_events covers up to 30 days back; google_ads_change_status covers up to 14 days back. metrics.cost_micros and other *_micros fields are 1 unit = $0.000001; google_ads_query emits a matching *_units field alongside when convert_micros is true (the default).
Verify
Each release lists the package version, the .mcpb sha256 and the production commit it was derived from in CHANGELOG.md. CI runs the tests and a clean install of the built wheel on every push.
Privacy Policy
This server runs locally, on your machine, under your own credentials. It collects no personal data, contains no telemetry, stores nothing persistently, and talks only to the vendor API it wraps. No third party, including Scalably, receives your data. Contact: hello@scalably.io. Canonical copy: https://scalably.io/connector-privacy.html
License
MIT. Copyright Scalably.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scalably_google_ads_mcp-1.0.0.tar.gz.
File metadata
- Download URL: scalably_google_ads_mcp-1.0.0.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95aebf20c90885bb2398424a2766fed294672a06e67817c81539f693e5de97fa
|
|
| MD5 |
47f0d641107e1d370837c2bfc36057d3
|
|
| BLAKE2b-256 |
8d9cac9c89c5c0119dba1d58724aec14d7bee4effdfd260f218c8be4a3fefb24
|
Provenance
The following attestation bundles were made for scalably_google_ads_mcp-1.0.0.tar.gz:
Publisher:
release.yml on scalably-io/google-ads-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scalably_google_ads_mcp-1.0.0.tar.gz -
Subject digest:
95aebf20c90885bb2398424a2766fed294672a06e67817c81539f693e5de97fa - Sigstore transparency entry: 2765457468
- Sigstore integration time:
-
Permalink:
scalably-io/google-ads-mcp@bc87cb4962562f519f7751650d05ddccbbd8cac6 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/scalably-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bc87cb4962562f519f7751650d05ddccbbd8cac6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scalably_google_ads_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: scalably_google_ads_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adf665a2990d37777525c061af259315bd22383bea6d1f07e09526c2bd742d80
|
|
| MD5 |
c7f8c7fac36faac58bd18c38b7de3505
|
|
| BLAKE2b-256 |
85345b15fd9e824bceabb910674fb1d3d4cf95206a8f2ded151843c5b1757983
|
Provenance
The following attestation bundles were made for scalably_google_ads_mcp-1.0.0-py3-none-any.whl:
Publisher:
release.yml on scalably-io/google-ads-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scalably_google_ads_mcp-1.0.0-py3-none-any.whl -
Subject digest:
adf665a2990d37777525c061af259315bd22383bea6d1f07e09526c2bd742d80 - Sigstore transparency entry: 2765457532
- Sigstore integration time:
-
Permalink:
scalably-io/google-ads-mcp@bc87cb4962562f519f7751650d05ddccbbd8cac6 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/scalably-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bc87cb4962562f519f7751650d05ddccbbd8cac6 -
Trigger Event:
push
-
Statement type: