Google Open-Sources an MCP Server for the Google Adverts API, Bringing LLM-Native Entry to Adverts Knowledge


Google has open-sourced a Model Context Protocol (MCP) server that exposes read-only entry to the Google Adverts API for agentic and LLM functions. The repository googleads/google-ads-mcp implements an MCP server in Python that surfaces two instruments immediately: search (GAQL queries over Adverts accounts) and list_accessible_customers (enumeration of buyer sources). It contains setup by way of pipx, Google Adverts developer tokens, OAuth2 scopes (https://www.googleapis.com/auth/adwords), and Gemini CLI / Code Help integration via an ordinary MCP consumer configuration. The undertaking is labeled “Experimental.”

So, why it issues?

MCP is rising as a typical interface for wiring fashions to exterior programs. By transport a reference server for the Adverts API, Google lowers the mixing price for LLM brokers that want marketing campaign telemetry, funds pacing, and efficiency diagnostics with out bespoke SDK glue.

The way it works? (developer view)

  • Protocol: MCP standardizes “instruments” that fashions can invoke with typed parameters and responses. The Adverts MCP server advertises instruments mapped to Google Adverts API operations; MCP shoppers (Gemini CLI/Code Help, others) uncover and name them throughout a session.
  • Auth & scopes: You allow the Google Adverts API in a Cloud undertaking, receive a developer token, and configure Software Default Credentials or the Adverts Python consumer. Required scope is adwords. For manager-account hierarchies, set a login buyer 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 move credentials by way of env vars. Then question by way of /mcp in Gemini or by prompting for campaigns, efficiency, and so forth.

Ecosystem sign

Google’s server arrives amid broader MCP adoption throughout distributors and open-source shoppers, reinforcing MCP as a realistic path to agent-to-SaaS interoperability. For PPC and progress groups experimenting with agentic workflows, the reference server is a low-friction approach to validate LLM-assisted QA, anomaly triage, and weekly reporting with out granting write privileges.

Key Takeaways

  • Google open-sourced a read-only Google Adverts API MCP server, showcasing two instruments: search (GAQL) and list_accessible_customers.
  • Implementation particulars: Python undertaking on GitHub (googleads/google-ads-mcp), Apache-2.0 license, marked Experimental; set up/run by way of pipx and configure OAuth2 with the https://www.googleapis.com/auth/adwords scope (dev token + optionally available login-customer ID).
  • Works with MCP-compatible shoppers (e.g., Gemini CLI / Code Help) so brokers can concern GAQL queries and analyze Adverts accounts via natural-language prompts.

Conclusion

In sensible phrases, Google’s open-sourced Google Adverts API MCP server provides groups a standards-based, read-only path for LLM brokers to run GAQL queries towards Adverts accounts with out bespoke SDK wiring. The Apache-licensed repo is marked experimental, exposes search and list_accessible_customers, and integrates with MCP shoppers like Gemini CLI/Code Help; manufacturing use ought to account for OAuth scope (adwords), developer token administration, and the data-exposure caveat famous within the README.


Take a look at the GitHub Page and technical blog. Be happy to take a look at our GitHub Page for Tutorials, Codes and Notebooks. Additionally, be at liberty to observe us on Twitter and don’t neglect to hitch our 100k+ ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.


Michal Sutter is a knowledge science skilled with a Grasp of Science in Knowledge Science from the College of Padova. With a strong basis in statistical evaluation, machine studying, and information engineering, Michal excels at remodeling advanced datasets into actionable insights.



Source link

Leave a Comment