# Query the Ads Transparency Center by advertiser domain and get JSON back

POST capability ads.search with a domain and platform google to the RouterGrowth run endpoint and parse result.ads: advertiser, headline, text, url, started_at, format and preview_url. RouterGrowth is independent of Google, this is not a Google API, and no scraper is yours to maintain.

HTML page: https://www.routergrowth.com/tools/ad-library/google-ads-transparency-api
Part of: [Ad libraries tools](https://www.routergrowth.com/tools/ad-library.md)

## The call

[`ads.search`](https://www.routergrowth.com/catalog/ads.search): Public ad creatives from the Meta Ad Library (advertiser or keyword) or the Google Ads Transparency Center (advertiser domain). On Meta a name is a keyword search: when some ads come from an advertiser named like the query, only those are returned and match is advertiser, otherwise match is keyword. For one advertiser's ads for certain, pass its Facebook page URL.

Price on this network: $0.0028 per search plus $0.000088 per call, $0.002 minimum a call. The exact quote is shown before every run.

## What a real run returned

Run on 2026-11-02: 6 records in 37.3 s for $0.0193. Personal fields are masked. Six records for squarespace.com across three formats and three advertiser names, among them a media company and an ad with a 2022 start date; the image ad came back with empty headline and text.

| advertiser | headline | text | format | started |
|---|---|---|---|---|
| SQUARESPACE, INC. | Get started today. | Get a domain and start a website at squarespace.com today. | VIDEO | 2026-05-27 |
| High Five Media |  |  | IMAGE | 2026-09-05 |
| Squarespace Ireland Limited | Free Website Builder | % Squarespace Squarespace® Is the All-In-One Platform To Build a Beautiful Online Presence In No Time. | TEXT | 2022-11-30 |

## How to do it

1. **Send the request.** POST to /v1/run with your RouterGrowth key, capability ads.search and an input of query, platform and limit.
2. **Allow for the wait.** These runs took more than 30 seconds, so give your client a long timeout or poll the run.
3. **Handle empty fields.** Image and video creatives can have an empty headline or text. Fall back to url and preview_url.
4. **Key on url.** Each creative has its own url, which works as a stable key if you store the ads.

## Ask it like this

- Call ads.search on squarespace.com with platform google and return the ads as JSON with advertiser, format and started_at. (`ads.search`)
- Group these Google ads by advertiser name and look up which of those names are the company itself. (`ads.search`, `company.enrich`)

## Connect

MCP server: `https://api.routergrowth.com/mcp`

```bash
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
```

```bash
npm install -g routergrowth && routergrowth setup
routergrowth run -c ads.search -i '{"query": "squarespace.com", "platform": "google", "limit": 6}'
```

```bash
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "ads.search", "input": {"query": "squarespace.com", "platform": "google", "limit": 6}}'
```

## Worth knowing

- **More than one advertiser per domain.** A domain can return regional entities and third parties. In the example a media company appears next to two Squarespace entities, so filter on advertiser if you want one.
- **Old ads can appear.** One record started in 2022 and another is in Portuguese. Filter on started_at and on the text.
- **No delivery figures.** The record has no impressions, regions or spend.

## Questions

### Is this an official Google API?

No. It is a RouterGrowth call on public Transparency Center data. You need a RouterGrowth key, not a Google Cloud project.

### What input is accepted?

An advertiser domain such as example.com, or an Ads Transparency Center URL, as query.

### How is pagination handled?

There is no page input. Set limit to how many ads you want, and the quote scales with it.

### Can the same call read Meta?

Yes. Set platform to meta and pass a keyword, a name or a Facebook page URL. The record shape stays the same.

## Related

- [Search the Meta Ad Library for a keyword and read every ad that comes back](https://www.routergrowth.com/tools/ad-library/facebook-ads-library-search.md)
- [Give your agent a domain and read that advertiser's Google ads as a list](https://www.routergrowth.com/tools/ad-library/google-ads-transparency-tool.md)
- [See what a rival is running on Meta by pointing your agent at its Facebook page](https://www.routergrowth.com/tools/ad-library/competitor-ads.md)
- [Turn a rival's ads into a table of offers, angles and formats you can argue with](https://www.routergrowth.com/tools/ad-library/competitor-ads-analysis.md)
- [One request shape for the Meta Ad Library and the Google Ads Transparency Center](https://www.routergrowth.com/tools/ad-library/api.md)
- [Pull a brand's Facebook and Instagram ads without running a scraper](https://www.routergrowth.com/tools/ad-library/facebook-ads-library-scraper.md)
- [Query the Meta Ad Library from your code without a Meta developer app](https://www.routergrowth.com/tools/ad-library/facebook-ads-library-api.md)
