Skip to main content
Glama

TikTok Ad Library Scraper: Ads & Targeting · $0.30/1K

Google Ads Transparency Center

search_google_ads
Read-onlyIdempotent

Ads of any advertiser from the Google Ads Transparency Center, by domain, name or AR id, per country: ad id, format (text, image, video), first and last shown, days shown, preview, image and video links. Advertiser search, political ads with spend and impressions, ad details (regions, platforms, variations), ad text, words written on image ads, video transcript, AI marketing analysis and a new-ads monitor. Use for the ads an advertiser runs on Google; for search interest use get_google_trends. Returns {items: [...]} with one object per result, for example: {"advertiserName":"Nike, Inc.","adId":"CR03243835622955155457","format":"text","firstShown":"2022-11-30T14:48:56Z","lastShown":"2026-12-04T05:15:13Z","daysShown":1417} Large requests return nextCursor: call again with only cursor to get the next page. Cost: pay per result (prices on the store page where you subscribed), or US$ 0.05 per call with x402 (up to 100 ads). Read-only: it only reads public data.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_google_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoMaximum ads per advertiser (1-5000, default 40). When one call cannot carry them all, send nextCursor for the rest.
topicNopolitical: election ads with spend, impressions and targeted places (region must be a country). Default all.
cursorNoNext page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.
formatNoall, text, image or video. Default all.
regionNoCountry code (ISO 2 letters) or "anywhere". Default BR.
ad_textNoHeadline, description, call to action and destination of each ad, when the preview carries them (adText).
date_toNoOnly ads shown on or before this date (YYYY-MM-DD).
detailsNoRegions shown with dates, platforms and every variation of each ad.
min_daysNoOnly ads shown for at least this many days.
only_newNoOnly ads this API key has not received before under the same stateKey.
platformNoOnly ads shown on this Google platform.
stateKeyNoWith only_new: name of your monitor (letters, numbers, - and _).
date_fromNoOnly ads shown on or after this date (YYYY-MM-DD).
advertiserNoDomains, advertiser names or AR... ids. Comma-separate several (max 5).
image_textNoThe words written on image ads (imageText). Fewer ads per call; send nextCursor for the rest.
skip_emptyNoDrop empty fields from each item (default false).
transcribeNoSpeech of each video ad as text: transcript, language, first 3 seconds (hook3s), timed segments. Fewer ads per call; send nextCursor for the rest.
active_onlyNoOnly ads still being shown.
ai_analysisNoMarketing reading of each ad (analysis): hook, offer, offer type, angle, emotional trigger, target persona, call to action, summary.
include_rawNoAdd rawData, the record exactly as the Transparency Center returns it (default false).
result_typeNoadvertisers: list the advertisers behind a name or domain instead of their ads. Default ads.
exclude_domainsNoWebsite domains to drop, comma-separated.
max_advertisersNoHow many advertisers to take per name or domain (1-50). Default 1 for ads, 20 for result_type=advertisers.
exclude_keywordsNoDrop ads whose words contain any of these, comma-separated.
include_keywordsNoKeep only ads whose words (advertiser, domain, headline, description, button, links) contain one of these, comma-separated. Filtered ads are not delivered.
exclude_advertisersNoAdvertiser ids (AR...) to drop, comma-separated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior: a pay-per-result or US$0.05-per-call (x402) cost model, that large requests paginate via nextCursor, and that a cursor must be sent alone because the first call's parameters are kept. It repeats the read-only claim, which is redundant but not contradictory.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose, scope and the get_google_trends routing come first, followed by output shape, pagination and cost — a sensible front-loaded order. The middle feature enumeration is a dense run-on list, and the closing 'Read-only: it only reads public data' duplicates the annotations, but no sentence is truly wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 26 optional parameters and no output schema, the description carries real weight and delivers: it specifies the return envelope ({items: [...]}), shows a concrete item example with real field names, explains nextCursor pagination and cursor lifetime, and states the pricing model. An agent has everything needed to call it correctly on the first try.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents every one of the 26 parameters. The description adds a little meaning beyond that — the cursor round-trip pattern and the shape of a returned item — but its parameter discussion mostly restates features the schema already explains, so the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (ads in the Google Ads Transparency Center), the lookup keys (domain, name or AR id), the country scope, and the fields returned (ad id, format, shown dates, preview links). It also explicitly separates the tool from get_google_trends, so an agent can pick between them without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit routing rule: "Use for the ads an advertiser runs on Google; for search interest use get_google_trends." That is clear when-to-use guidance plus one named alternative. It does not, however, say when to prefer this over sibling tools such as search_meta_ads for cross-platform ad research, nor does it define prerequisites for modes like political ads or only_new monitoring.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.