google-ads-transparency
by pipeworx-io
README.md
# @pipeworx/google-ads-transparency
Ads from Google's Ads Transparency Center for an advertiser: format, the ad's Transparency Center page URL, first and last shown, advertiser identity and per-country impression ranges, with pagination.
Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 2098+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
## Tools
- `gads_transparency_ads(domain | advertiser_id, region?, date_from?, date_to?, page_size?, page_token?, project_id?, max_bytes_billed?)` — one page of ads for an advertiser. Answers "what ads is this company running on Google". The dataset has no domain column, so a domain is matched as a name fragment against the advertiser's disclosed and legal names (`match_basis` says so); pass `advertiser_id` for an exact match.
## Auth
BYO only. Pass your own Google Cloud credential as `_apiKey`: the full service-account JSON key text, or an OAuth 2 access token with the BigQuery scope. The query runs in your Google Cloud project (`project_id`, taken from a service-account key when omitted) and BigQuery bills that project. Pipeworx holds no Google credential and pays for nothing. Without `_apiKey` the call is refused with `auth_required`; it never returns an empty result.
Every query carries a bytes-billed cap (`max_bytes_billed`, default 10 GB, ceiling 100 GB). BigQuery refuses a query that would bill more and bills nothing. The table is not documented as partitioned, so filters and `page_size` do not shrink the scan; the cap is the cost guard. Later pages (`page_token`) read the finished job and bill no new scan.
## Limits
- Covers ads served in the European Economic Area and Turkey only (Google's published scope for the dataset). An advertiser that ran ads elsewhere only will return nothing.
- No headline, description, landing page or image bytes. `preview_url` is the link to the ad on the Transparency Center.
- Updated daily by Google; may lag the Transparency Center website.
## Data sources
- Google, Ads Transparency Center public dataset (creative_stats) — advertiser identity, ad format, ad page link, per-region first and last shown and impression ranges.
## Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
```json
{
"mcpServers": {
"google-ads-transparency": {
"url": "https://gateway.pipeworx.io/google-ads-transparency/mcp"
}
}
}
```
### What this endpoint actually serves
`tools/list` at `https://gateway.pipeworx.io/google-ads-transparency/mcp` returns the tools in the table
above **plus five Pipeworx tools**: `ask_pipeworx`, `discover_tools`, `ask_pipeworx_grounded`, `company_register_search` and `company_facts`.
`ask_pipeworx` answers a question this pack does not cover by routing across the
whole catalog, without adding a second MCP server.
Add an option to the same URL:
- `https://gateway.pipeworx.io/google-ads-transparency/mcp?meta=1` lists this pack's tools plus **up to 48 shared Pipeworx tools** (48 when this README was
generated; a connection without an account lists fewer, and its own `tools/list` is the
exact answer on any given day).
- `https://gateway.pipeworx.io/google-ads-transparency/mcp?meta=0` lists this pack's tools alone.
Or connect to the full Pipeworx gateway to get every pack's tools listed
directly, instead of just this one's:
```json
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
```
Both URLs reach the same gateway and the same 2098+ data sources. The
only difference is which pack's tools are listed **directly**; `ask_pipeworx`
reaches all of them from either one (it is not listed on a `?meta=0` connection).
## No MCP client? Call it over HTTP
This pack takes your own API key (`_apiKey`) — we don't front one for it, so there's no curl here that would run without it. Inspect any tool: `GET https://gateway.pipeworx.io/v1/tools/gads_transparency_ads`. Find one: `POST https://gateway.pipeworx.io/v1/tools/search_packs` with `{"query":"..."}`.
## Run it from npm
`@pipeworx/mcp-google-ads-transparency` is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with `npx`, and it forwards every call to the same
`https://gateway.pipeworx.io/google-ads-transparency/mcp` endpoint shown above. It needs network access;
there is no offline mode.
```json
{
"mcpServers": {
"google-ads-transparency": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-google-ads-transparency"]
}
}
}
```
Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
`"env": { "PIPEWORX_API_KEY": "<your key>" }` to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.
It lists **only** this pack's tools by default. Set `PIPEWORX_META_TOOLS=1` to
also list `ask_pipeworx` and the other gateway-wide tools.
Behind an HTTPS proxy: Node's built-in `fetch` does not read `HTTPS_PROXY` by
default. Newer Node releases honour it when `NODE_USE_ENV_PROXY=1` is set; check
your Node version's documentation.
## Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English —
this works on the pack endpoint above as well as on the full gateway:
```
ask_pipeworx({ question: "your question about Google Ads Transparency data" })
```
The gateway picks the right tool and fills the arguments automatically.
## More
- [Docs and guides](https://pipeworx.io/docs)
- [pipeworx.io](https://pipeworx.io)
## License
MIT
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues