Validates Google Ads Query Language (GAQL) queries via 4-step static analysis and live API dry-runs.

Apache-2.0Auto-check passedMarketing & SEO

Install Validate Gaql

skills CLI
$ npx skills add googleads/google-ads-api-developer-assistant --skill validate-gaql -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install googleads/google-ads-api-developer-assistant validate-gaql --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/googleads/google-ads-api-developer-assistant.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/google-ads-api-developer-assistant/skills/validate-gaql .claude/skills/validate-gaql && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
validate-gaql
GitHub stars
100
Token cost
~225 tokens
SKILL.md length
97 words
Files
2 (incl. scripts)
Skills in repo
9
Repo updated
First seen
Licence
Apache-2.0

At a glance

Validates Google Ads Query Language (GAQL) queries via 4-step static analysis and live API dry-runs.

  • Works in 4 steps: Schema Discovery: Verify field… → Compatibility Check: Verify all selected… → Static Analysis → …
  • Tasks that involve Paid advertising
  • Runs Python scripts from its folder
  • Tasks that involve Static analysis and SAST

What it does

Validate Gaql is an agent skill from googleads/google-ads-api-developer-assistant. Validates Google Ads Query Language (GAQL) queries via 4-step static analysis and live API dry-runs.

Its SKILL.md is about 230 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/validate_gaql.py`).

It sits in Marketing & SEO, covering Paid advertising and Static analysis and SAST. It works with Google Ads. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Paid advertising
  • Tasks that involve Static analysis and SAST

Example prompts

  • “Use the validate-gaql skill to validate Google Ads Query Language (GAQL) queries via 4-step static analysis and live API dry-runs”
  • “/validate-gaql”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Schema Discovery: Verify field existence, selectability, and filterability using search_google_ads_fields.
  2. Compatibility Check: Verify all selected fields are compatible with the primary resource.
  3. Static Analysis
  4. Runtime Dry Run: Execute API dry-run search request against target customer ID.

What it can do on your machine

Read from SKILL.md and the folder at commit dbb730a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Validate Gaql loads about 225 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 97 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~225

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from googleads/google-ads-api-developer-assistant at commit dbb730a, republished under its Apache-2.0 licence (© googleads). 97 words, ~225 tokens.

Download SKILL.mdSave it as .claude/skills/validate-gaql/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
validate-gaql
description
Validates Google Ads Query Language (GAQL) queries via 4-step static analysis and live API dry-runs.

Validate GAQL Skill

Before presenting or running any GAQL query, pass this 4-step sequence:

  1. Schema Discovery: Verify field existence, selectability, and filterability using search_google_ads_fields.
  2. Compatibility Check: Verify all selected fields are compatible with the primary resource.
  3. Static Analysis:
    • WHERE fields MUST be in SELECT (unless date segments).
    • NO OR operator: Replace OR with IN or split into multiple queries.
    • NO FROM in Metadata: Queries to GoogleAdsFieldService MUST NOT contain a FROM clause.
    • Segment Renames: In v23+, segments.hour was renamed to segments.hour_of_day.
  4. Runtime Dry Run: Execute API dry-run search request against target customer ID.

© googleads, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in plugins/google-ads-api-developer-assistant/skills/validate-gaql of googleads/google-ads-api-developer-assistant.

  • SKILL.md
  • scripts/validate_gaql.py

Open the folder on GitHubat commit dbb730a

Compare with similar skills

Validate Gaql next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Validate Gaql compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Validate Gaql this skillgoogleads/google-ads-api-developer-assistant100—~225Automated safety check: PassApache-2.0
Blog GoogleAgriciDaniel/claude-blog2.3k1 repos~3.3kAutomated safety check: NotesMIT
Paid Adsfreekmurze/dotfiles1k13 repos~2.4kAutomated safety check: PassNone
Google Adszapier/connectors1761 repos~3.7kAutomated safety check: PassElastic-2.0
Money Adsiamzifei/show-me-the-money1k—~2.4kAutomated safety check: PassCustom licence
AdsCesarjoquin/Marketing-Skills1991 repos~3.5kAutomated safety check: PassMIT

Similar skills

  • Blog Google

    AgriciDaniel/claude-blog

    Google API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity…

    2.3k GitHub starsUsed in 1 repo~3.3k tokens
    Marketing & SEOAuto-check: notes
  • Paid Ads

    freekmurze/dotfiles

    When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms.

    1k GitHub starsUsed in 13 repos~2.4k tokens
    Marketing & SEOAuto-check passed
  • Google Ads

    zapier/connectors

    Official

    Agent-callable Google Ads tools — search campaigns, ad groups, and ads via GAQL, build performance reports, manage campaign status and budgets, and set up conversion tracking.

    176 GitHub starsUsed in 1 repo~3.7k tokens
    Marketing & SEOAuto-check passed
  • Money Ads

    iamzifei/show-me-the-money

    Paid advertising automation for Google Ads, Meta Ads, and other ad platforms.

    1k GitHub stars~2.4k tokensUpdated 1 mo ago
    Marketing & SEOAuto-check passed
  • Ads

    Cesarjoquin/Marketing-Skills

    When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms.

    199 GitHub starsUsed in 1 repo~3.5k tokens
    Marketing & SEOAuto-check passed
  • Google Ads

    superdesigndev/treg

    Traps when running Google Ads through treg — the API requirements and cleanup semantics that cost round-trips or money.

    4.5k GitHub stars~1.9k tokensUpdated today
    Marketing & SEOAuto-check passed

More from googleads/google-ads-api-developer-assistant

All 9 skills in this repo
  • Sync Client Libs

    googleads/google-ads-api-developer-assistant

    Discovers Google Ads client libraries under clientlibs, verifies installed versions against GitHub latest releases, and automatically updates outdated codebases.

    100 GitHub stars~537 tokensUpdated 21 days ago
    Auto-check passed
  • Ext Version

    googleads/google-ads-api-developer-assistant

    Retrieves the current version of the Google Ads API Developer Assistant from plugin.json.

    100 GitHub stars~246 tokensUpdated 21 days ago
    Auto-check passed
  • Troubleshoot Conversions

    googleads/google-ads-api-developer-assistant

    Investigates conversion upload issues, generates structured diagnostic reports, and validates conversion CSVs.

    100 GitHub stars~310 tokensUpdated 21 days ago
    Auto-check passed
  • Explain

    googleads/google-ads-api-developer-assistant

    Explains Google Ads API concepts, code snippets, or queries using plain language and analogies.

    100 GitHub stars~507 tokensUpdated 21 days ago
    Auto-check passed
  • Get Cids Under Mcc

    googleads/google-ads-api-developer-assistant

    Retrieves a list of all child customer account IDs (CIDs) under a given Manager Account (MCC).

    100 GitHub stars~379 tokensUpdated 21 days ago
    Auto-check passed
  • Assistant Tutorial

    googleads/google-ads-api-developer-assistant

    An interactive tutorial on how to use the Google Ads API Developer Assistant.

    100 GitHub stars~1.1k tokensUpdated 21 days ago
    Auto-check passed

Works with

Categories

Questions about Validate Gaql

What does Validate Gaql do?

Validates Google Ads Query Language (GAQL) queries via 4-step static analysis and live API dry-runs. Validate Gaql is an agent skill from googleads/google-ads-api-developer-assistant. Validates Google Ads Query Language (GAQL) queries via 4-step static analysis and live API dry-runs.

When should I use Validate Gaql?

Validate Gaql fits situations like: tasks that involve Paid advertising; tasks that involve Static analysis and SAST.

How do I install Validate Gaql in Claude Code?

Run `npx skills add googleads/google-ads-api-developer-assistant --skill validate-gaql -a claude-code`. Or copy the skill folder (plugins/google-ads-api-developer-assistant/skills/validate-gaql in googleads/google-ads-api-developer-assistant) into .claude/skills/validate-gaql in your project. Claude Code loads it when a task matches its description.

How do I install Validate Gaql in Codex?

Run `npx skills add googleads/google-ads-api-developer-assistant --skill validate-gaql -a codex`. Or copy the skill folder (plugins/google-ads-api-developer-assistant/skills/validate-gaql in googleads/google-ads-api-developer-assistant) into .agents/skills/validate-gaql in your project. Codex loads it when a task matches its description.

Can I use Validate Gaql in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add googleads/google-ads-api-developer-assistant --skill validate-gaql -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/validate-gaql, .gemini/skills/validate-gaql, .github/skills/validate-gaql and .opencode/skills/validate-gaql in your project.

What does Validate Gaql need to run?

Going by SKILL.md and its folder, Validate Gaql needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Validate Gaql access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Validate Gaql safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Validate Gaql use?

Validate Gaql is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Validate Gaql use?

About 225 tokens (SKILL.md is roughly 900 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Validate Gaql?

Skills that share tags, products or a category with Validate Gaql: Blog Google (AgriciDaniel/claude-blog, 2.3k stars), Paid Ads (freekmurze/dotfiles, 1k stars), Google Ads (zapier/connectors, 176 stars) and Money Ads (iamzifei/show-me-the-money, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Validate Gaql?

googleads (a GitHub organization) maintains it in googleads/google-ads-api-developer-assistant, which has 100 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 16, 2026.

Source: googleads/google-ads-api-developer-assistant on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.