Skip to main content
skill CX Codex

gaql-reference — Claude Code skill for GAQL: features and setup

This skill helps draft Google Ads GAQL queries and understand their resources, fields, and filters. Use it when building a report query or checking its structure.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cognyai/claude-code-marketing-skills --skill gaql-reference -a claude-code
Open on GitHub

What gaql-reference does

The skill covers GAQL query structure, including selected fields, the resource being queried, filters, sorting, row limits, and parameters. Its reference includes resources for campaigns, ad groups, search terms, geographic performance, and change records. Ask for a query pattern on a specific subject, such as search-term reporting or Quality Score analysis.

With Cogny MCP tools connected, the skill can submit a Google Ads query and look up API documentation. The reference still works without that connection, but it cannot run queries. Microsoft Ads uses a separate reporting tool rather than GAQL, so Google Ads query syntax does not apply there.

What it helps with

  • draft a GAQL report for triggered search queries
  • choose a resource for geographic performance reporting
  • filter campaigns by status and date range
  • check a query's structure before running it
  • find a query pattern for auditing account changes

Example prompts for the agent

  • Write a GAQL query for a Google Ads search-term report covering the last 30 days.
  • Show me a query pattern for Quality Score analysis.
  • Which resource should I use for a geographic performance report?

How to install gaql-reference

1Skills CLI (Vercel)

npx skills add cognyai/claude-code-marketing-skills --skill gaql-reference -a claude-code

2Manually: put the files in place

~/.claude/skills/gaql-reference/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/gaql-reference/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about gaql-reference

How do I install gaql-reference in Claude Code?

Run npx skills add cognyai/claude-code-marketing-skills --skill gaql-reference -a claude-code. The skill file is at ~/.claude/skills/gaql-reference/SKILL.md.

What does gaql-reference do?

It helps you compose and understand Google Ads GAQL queries, with guidance on resources, fields, filters, and report patterns.

Can gaql-reference run Google Ads queries?

Yes, when Cogny MCP tools are connected and a Google Ads account is accessible. Without that connection, it provides query guidance but does not execute queries.

Similar skills

All skills for Marketing and content →

From the same set38

gtm-setup A reference for Google Tag Manager events and GA4 setup. Use it to shape a dataLayer event, choose a trigger, or troubleshoot tracking. CX Codex +1 ★ 111repo stars gtm-monitor Diffs a Google Tag Manager container against last week: tags added, edited or removed, plus draft changes still sitting unpublished. CX Codex +1 ★ 111repo stars google-ads-scripts A reference for writing and debugging Google Ads Scripts in JavaScript, from GAQL queries to Sheets workflows. Use it to automate account tasks and reporting. CX Codex +1 ★ 111repo stars google-ads-monitor Runs a weekly pass over your ad accounts and shows what moved: spend, conversions, CPA and ROAS against the previous week. CX Codex +1 ★ 111repo stars ga4-monitor Runs a weekly pass over your analytics: sessions, conversions, revenue and channels against last week. Flags a key event that quietly stopped firing. CX Codex +1 ★ 111repo stars ga4-events A GA4 event reference for choosing parameters, wiring implementations, and checking incoming data. Use it when building or auditing analytics tracking. CX Codex +1 ★ 111repo stars ga4-bigquery-schema A reference for the GA4 BigQuery export schema: nested fields, ready-to-use SQL patterns and performance notes. Handy when you need to unpack event_params or build a funnel query. CX Codex +1 ★ 111repo stars email-report Turns email platform data into weekly or monthly reports for Slack, a CEO email, or a board-deck section. Choose one format or request all three. CX Codex +1 ★ 111repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor