Google has open-sourced a Model Context Protocol (MCP) server that exposes read-only entry to the Google Commercials API for agentic and LLM functions. The repository googleads/google-ads-mcp
implements an MCP server in Python that surfaces two devices proper this second: search
(GAQL queries over Commercials accounts) and list_accessible_customers
(enumeration of purchaser belongings). It consists of setup by the use of pipx
, Google Commercials developer tokens, OAuth2 scopes (https://www.googleapis.com/auth/adwords
), and Gemini CLI / Code Assist integration via a traditional MCP client configuration. The enterprise is labeled “Experimental.”
So, why it points?
MCP is rising as a typical interface for wiring fashions to exterior applications. By transport a reference server for the Commercials API, Google lowers the mix worth for LLM brokers that need advertising and marketing marketing campaign telemetry, funds pacing, and effectivity diagnostics with out bespoke SDK glue.
The best way it really works? (developer view)
- Protocol: MCP standardizes “devices” that fashions can invoke with typed parameters and responses. The Commercials MCP server advertises devices mapped to Google Commercials API operations; MCP consumers (Gemini CLI/Code Assist, others) uncover and identify them all through a session.
- Auth & scopes: You enable the Google Commercials API in a Cloud enterprise, purchase a developer token, and configure Software program Default Credentials or the Commercials Python client. Required scope is
adwords
. For manager-account hierarchies, set a login purchaser ID. - Shopper wiring: Add a
~/.gemini/settings.json
entry pointing to the MCP server invocation (pipx run git+https://github.com/googleads/google-ads-mcp.git google-ads-mcp
) and cross credentials by the use of env vars. Then query by the use of/mcp
in Gemini or by prompting for campaigns, effectivity, and so forth.
Ecosystem signal
Google’s server arrives amid broader MCP adoption all through distributors and open-source consumers, reinforcing MCP as a sensible path to agent-to-SaaS interoperability. For PPC and progress teams experimenting with agentic workflows, the reference server is a low-friction technique to validate LLM-assisted QA, anomaly triage, and weekly reporting with out granting write privileges.
Key Takeaways
- Google open-sourced a read-only Google Commercials API MCP server, showcasing two devices:
search
(GAQL) andlist_accessible_customers
. - Implementation particulars: Python enterprise on GitHub (
googleads/google-ads-mcp
), Apache-2.0 license, marked Experimental; arrange/run by the use ofpipx
and configure OAuth2 with thehttps://www.googleapis.com/auth/adwords
scope (dev token + elective login-customer ID). - Works with MCP-compatible consumers (e.g., Gemini CLI / Code Assist) so brokers can drawback GAQL queries and analyze Commercials accounts via natural-language prompts.
Conclusion
In smart phrases, Google’s open-sourced Google Commercials API MCP server gives teams a standards-based, read-only path for LLM brokers to run GAQL queries in opposition to Commercials accounts with out bespoke SDK wiring. The Apache-licensed repo is marked experimental, exposes search
and list_accessible_customers
, and integrates with MCP consumers like Gemini CLI/Code Assist; manufacturing use should account for OAuth scope (adwords
), developer token administration, and the data-exposure caveat well-known throughout the README.
Check out the GitHub Internet web page and technical weblog. Be at liberty to check out our GitHub Internet web page for Tutorials, Codes and Notebooks. Moreover, be pleased to look at us on Twitter and don’t neglect to affix our 100k+ ML SubReddit and Subscribe to our Publication. Wait! are you on telegram? now you’ll be capable of be part of us on telegram as properly.
Michal Sutter is a data science expert with a Grasp of Science in Information Science from the School of Padova. With a steady foundation in statistical analysis, machine finding out, and data engineering, Michal excels at transforming superior datasets into actionable insights.
🙌 Observe MARKTECHPOST: Add us as a preferred provide on Google.
Elevate your perspective with NextTech Data, the place innovation meets notion.
Uncover the newest breakthroughs, get distinctive updates, and be part of with a world group of future-focused thinkers.
Unlock tomorrow’s traits proper this second: study further, subscribe to our e-newsletter, and transform part of the NextTech neighborhood at NextTech-news.com
Keep forward of the curve with NextBusiness 24. Discover extra tales, subscribe to our e-newsletter, and be part of our rising group at nextbusiness24.com