Google Ads API Gets a Natural Language Developer Assistant

▼ Summary
– Google has released a new Gemini CLI extension called the Google Ads API Developer Assistant v1.0, which allows developers to use natural language to interact with the Ads API.
– The tool converts plain-English prompts into answers, code, and live API calls, generating accurate GAQL queries and Python scripts based on the user’s environment and project context.
– Key features include the ability to run generated scripts for read-only API calls directly from the terminal, view results in formatted tables, and export any tabular data to CSV files.
– This assistant is designed to reduce complexity and accelerate workflows, serving as both an educational tool for newcomers and a productivity booster for experienced users by automating repetitive tasks.
– To get started, developers need specific prerequisites like an API token and Python 3.10+, with Google encouraging early adopters to provide feedback for future enhancements.
Google has introduced a new tool designed to simplify working with its powerful advertising platform. The Google Ads API Developer Assistant v1.0 is a Gemini CLI extension that allows developers to use everyday language to interact with the Ads API. This innovative assistant transforms simple English prompts into actionable answers, functional code, and even direct API calls, streamlining the development process significantly.
The assistant operates within the Gemini CLI, leveraging project context from configuration files to produce precise code tailored to a user’s specific environment. A developer can pose a question like, “How do I filter by date in GAQL?” and receive immediate, accurate guidance. For more complex tasks, such as requesting to “Show me campaigns with the most conversions in the last 30 days,” the tool will generate both the correct GAQL query and a complete, best-practice Python script ready for use.
Key capabilities of the assistant include the direct execution of generated scripts from the terminal. These scripts can perform read-only API calls, with the results presented in clean, easy-to-read tables. For further analysis, the tool supports exporting any tabular data to CSV format with a simple command, automatically saving files to a designated folder. All code created by the assistant is systematically saved into an organized `saved_code/` directory, promoting good project management habits.
This release addresses a core challenge in digital advertising technology. The Google Ads API is powerful but complex, often presenting a steep learning curve. The new Developer Assistant aims to change that by making it substantially easier and faster for teams to build, test, and refine their API workflows. These workflows are essential for managing and reporting on large-scale advertising campaigns efficiently.
By converting natural language directly into GAQL queries and executable code, the tool helps remove technical barriers. This acceleration allows teams to gain insights and optimize campaigns more quickly. The convenience of one-command execution and seamless CSV exports means analysts and engineers can dedicate less time to coding mechanics and more time to enhancing campaign performance.
Google envisions this assistant serving a dual purpose: as an educational resource for those new to the API and a productivity enhancer for experienced users. Beginners can use plain language prompts to overcome initial hurdles, while seasoned developers benefit from automated code generation and file organization, which cuts down on repetitive tasks in daily operations.
To begin using the assistant, developers will need a few prerequisites: a valid Google Ads API token, a properly configured `google-ads.yaml` file, Python version 3.10 or higher, the Gemini CLI installed, and a local copy of the `google-ads-python` client library. A provided setup script can assist with cloning the library, and comprehensive setup instructions are available on the project’s GitHub repository.
Looking ahead, Google is actively seeking input from early users. The company encourages feedback, feature requests, and participation in a dedicated community Discord channel as it plans future improvements and explores additional AI-powered tools for developers.
In essence, this tool represents a meaningful shift toward greater accessibility. By enabling developers to query, code, and execute API functions through simple language commands, Google is making the formidable Ads API faster, more intuitive, and open to a broader range of users.
(Source: Search Engine Land)
