Skip to content
Get MCP Ads, home

Build a custom Google Ads report with GAQL

A GAQL query built field-by-field, validated, then run: the escape hatch for every bespoke question.

Recipe, Google Ads

Intent The exact table nothing pre-built provides, validated before it runs.

Steps
3
Tools
3
Rules
1
Failure modes
1
skills/google-ads-custom-gaql-report.md

When to use it

Use it when

  • The question fits no packaged tool.
  • Recurring bespoke exports.

Do not use it when

  • When a dedicated tool already answers it: bespoke queries are a maintenance debt.

What it needs first

Required Google Ads

Preconditions

  • The account is among the chosen accounts, confirmed via list_accounts.

Evidence every conclusion must carry

  • Every figure carries its account, metric and window.
  • Anything below a readable sample size is reported as unjudged, not as zero.
Inputs
InputRequiredWhat it is
windowAnalysis window.Default: last 30 days.

Procedure

In order. Every tool named is one the gateway ships, and links to its reference.

Steps

  1. Find the right resources and fields.google_ads_search_fields
  2. Validate the query before running.google_ads_validate_query
  3. Run it.google_ads_run_gaql

Decision rules

The observable condition, what it lets you conclude, and what takes the conclusion back.

  • When The query mixes incompatible resourcesConclude Validation says so before the API does: fix the FROM, not the WHERE.

Where the agent stops

The readout changes nothing. Any change it motivates goes through Safe Writes: preview, human confirmation, then apply.

How it goes wrong quietly

The cases where the analysis is wrong and still looks right. Read them before trusting a number.

  • Metrics without their segment context read as totals when they are slices.

What the answer contains

What Custom GAQL report returns
SectionWhat it holds
ReadoutThe figures, with windows and accounts named.
FlagsWhat deserves a deeper skill or a human decision.

Manage your ads from your AI assistant

Start for free

Free with 1 ad account, no card. Pro is free for 7 days.