Top-Rated Team
English

Report on a Google Ads account's search terms

One call that asks an account what people actually searched for, what it cost, and what came of it — and changes nothing.

Search terms are the words people actually typed, as opposed to the keywords you bought. The gap between the two is where most wasted spend lives, and reading it is one call that cannot change anything.

The call

curl -sG https://top-rated.team/google-ads/v1/accounts/1234567890/report \
  -H "X-API-KEY: $MAKEHYBRID_KEY" \
  --data-urlencode 'query=SELECT search_term_view.search_term, metrics.impressions, metrics.clicks, metrics.cost_micros, metrics.conversions FROM search_term_view WHERE segments.date DURING LAST_30_DAYS ORDER BY metrics.cost_micros DESC' \
  --data-urlencode 'max_rows=200'

The query is Google Ads Query Language, and everything Google will report can be asked for this way: campaigns, ad groups, keywords, ads, assets, budgets, conversions, audiences, the change history. Up to 200 rows an answer.

Reading what comes back

Nothing in this recipe can alter the account. A report is a read, and the call that changes something is a different one, with a person on the end of it.

Questions people ask

Do I need to know GAQL?

To write a query by hand, yes, and it is close enough to SQL to read without learning it. In practice an AI agent on this key writes the query from what you asked for in words, runs it, and reads you the rows.

Why micros?

It is how Google reports money, so it is how this answers: an integer of millionths, which avoids the rounding you would get passing fractions of a currency around. Divide by a million to get the amount a person would say.

Can a report touch the account?

No. The report call refuses anything that is not a SELECT, so there is no query you can put through it that alters an account — a mistake here costs you a confusing answer and nothing else.

Turn this into something that runs itself

Say what your business does and it becomes your own service and product in one: the work runs on its own, under your name, on your accounts and your AI key. The first 30 days are free, and nothing here needs an engineer.

Start the trial