# Google Ads Transparency Scraper (`spectre_scrape/google-ads-transparency-scraper`) Actor

Scrape Google Ads Transparency Center ads by domain, advertiser ID, keyword or URL. Extract creatives, formats, first/last shown dates, regions and landing domains. No login.

- **URL**: https://apify.com/spectre_scrape/google-ads-transparency-scraper.md
- **Developed by:** [Spectre](https://apify.com/spectre_scrape) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 ads

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Ads Transparency Scraper

Scrape ads from the [Google Ads Transparency Center](https://adstransparency.google.com) by **domain**, **advertiser ID**, **keyword** or **URL**. Get every ad creative, its format, first and last shown dates, the regions where it ran, and the landing domain. No login, no API key, and no browser required.

This is a Google Ads Transparency Center **API alternative**: it talks directly to the public Transparency Center endpoints over HTTP, so runs are fast and cheap.

### What does Google Ads Transparency Scraper do?

Given a website (for example `nike.com`), an advertiser ID (`AR...`), a brand keyword, or a Transparency Center URL, the Actor queries Google's public ad transparency service and returns one structured record per ad creative. It handles pagination, region selection, request pacing, proxy rotation and Google's rate-limit ("sorry") pages automatically.

It does **not** touch Google Ads accounts, does not require OAuth, and does not access private campaign data. It only reads what Google already publishes publicly in the Transparency Center.

### Why use Google Ads Transparency Scraper?

- **Competitor ad research** — see the actual creatives a brand is running, which formats they use, and how long each ad has been live.
- **Ad monitoring** — schedule daily or weekly runs and only keep new creatives with the *Only new ads* option.
- **Market and creative analysis** — build datasets of image, video and text ads across countries for dashboards or LLM pipelines.
- **Agency and media-buying workflows** — export to CSV/JSON/Excel, or push straight into n8n, Make, Zapier, Google Sheets or your own API.
- **Reliable by design** — direct HTTP calls, a 242-country region map, automatic proxy rotation, and retry on blocks or timeouts.

### What data can Google Ads Transparency Scraper extract?

| Field | Type | Description |
| --- | --- | --- |
| `advertiserId` | string | Transparency Center advertiser ID (`AR...`) |
| `advertiserName` | string | Advertiser or agency name |
| `creativeId` | string | Unique creative ID (`CR...`) |
| `adFormat` | string | `Image`, `Video` or `Text` |
| `firstShown` | string | First date the ad was shown (ISO 8601) |
| `lastShown` | string | Last date the ad was shown (ISO 8601) |
| `daysShown` | integer | Derived number of days between first and last shown |
| `landingDomain` | string | Landing domain (domain searches) |
| `adUrl` | string | Direct Transparency Center creative URL |
| `previewUrl` | string | Creative preview URL |
| `imageUrl` | string | Main image asset, when present |
| `mediaUrls` | array | All image and preview asset URLs |
| `regionsShown` | array | Regions and dates shown (when *Include creative details* is on) |
| `region` | string | Region requested for the run |
| `scrapedAt` | string | Scrape timestamp (ISO 8601) |

### How to scrape Google Ads Transparency Center

1. Open **Google Ads Transparency Scraper** on Apify.
2. Choose a **Search mode**: `domain`, `advertiserId`, `keyword` or `url`.
3. Fill the matching field, for example `nike.com`, `AR16735076323512287233`, `Nike`, or a full Transparency Center URL.
4. Pick a **Region** (2-letter ISO code such as `US`, `GB`, `DE`; 242 countries are mapped). A numeric region ID also works.
5. Optionally set **Ad format**, date bounds, and **Max ads per target**.
6. Keep **Proxy configuration** on Residential (strongly recommended — Google rate-limits by IP).
7. Click **Start**. When the run finishes, export the dataset as JSON, CSV or Excel, or read it through the API.

### How much will it cost to scrape Google Ads Transparency Center?

Pricing is pay-per-event: **$1.50 per 1,000 ads** ($0.0015 per ad written to the dataset). You are not charged for requests that return no ads. Enabling **Include creative details** adds one request per ad but does not change the per-ad price. Because requests are paced and rotated, a run is slower than a raw loop but far less likely to be blocked. Use **Max ads per target** to control spend.

### Input

See the input tab for all options. The most important fields:

| Field | Description | Default |
| --- | --- | --- |
| **Search mode** | `domain`, `advertiserId`, `keyword` or `url` | `domain` |
| **Domains** | Websites to find ads for, e.g. `nike.com` | `nike.com` |
| **Advertiser IDs** | Transparency Center `AR...` IDs | — |
| **Keywords** | Brand names resolved to advertisers | `Nike` |
| **Transparency Center URLs** | Advertiser, creative or `?domain=` URLs | — |
| **Region** | ISO country code or numeric region ID | `US` |
| **Ad format** | `ALL`, `IMAGE`, `VIDEO` or `TEXT` | `ALL` |
| **Shown on or after / before** | Client-side date bounds (`YYYY-MM-DD`) | — |
| **Max ads per target** | Cap per domain, advertiser or URL | `50` |
| **Max advertisers per keyword** | How many matching advertisers to scrape | `5` |
| **Include creative details** | Adds variations and `regionsShown` | `false` |
| **Only new ads** | Skip creatives seen in a previous run | `false` |
| **Proxy configuration** | Apify Residential recommended | Residential |

#### Search modes

- **Domain** — all ads whose landing domain matches, across advertisers. `landingDomain` is populated.
- **Advertiser ID** — every creative for one advertiser, with pagination.
- **Keyword** — Google's suggestion endpoint resolves the brand to advertisers (ranked by ad volume and region), then scrapes them.
- **URL** — paste an advertiser, creative, or `?domain=` URL. A creative URL returns exactly that one ad.

### Output

You can download the dataset in JSON, HTML, CSV or Excel. A simplified example:

```json
[
  {
    "advertiserId": "AR16735076323512287233",
    "advertiserName": "Nike, Inc.",
    "creativeId": "CR03009499845053382657",
    "adFormat": "Image",
    "firstShown": "2022-12-09T16:49:59.000Z",
    "lastShown": "2026-12-02T14:17:27.000Z",
    "daysShown": 1454,
    "landingDomain": "nike.com",
    "adUrl": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR03009499845053382657?region=US",
    "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?...",
    "imageUrl": "https://tpc.googlesyndication.com/archive/simgad/7125488679310871928",
    "mediaUrls": ["https://tpc.googlesyndication.com/archive/simgad/7125488679310871928"],
    "regionsShown": [{ "regionId": 2840, "region": "United States", "date": "2026-12-02" }],
    "region": "US",
    "scrapedAt": "2026-12-02T14:20:00.000Z"
  }
]
```

### Tips and advanced options

- **Always use Residential proxy.** Google blocks a single IP after roughly 20 requests; the Actor rotates proxies and retries, but Residential is what makes it reliable.
- **Start small.** Set *Max ads per target* to 20–50 while testing, then raise it.
- **Details are optional.** Leave *Include creative details* off for cheap, fast creative metadata; turn it on when you need every variation and the regions shown.
- **Scheduled monitoring.** Enable *Only new ads* to skip creatives already saved by earlier runs.
- **Text ads.** The Transparency Center renders text-ad copy client-side; this Actor returns the creative preview URL and metadata but does not extract the copy as structured text.
- **Platform (Search/YouTube/etc.)** is not exposed by the Transparency Center listing endpoint, so it is not part of the output.

### API access

Trigger runs programmatically and read the dataset through the Apify API:

```bash
curl --request POST \
  --url "https://api.apify.com/v2/acts/spectre_scrape~google-ads-transparency-scraper/runs?token=YOUR_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "searchMode": "domain",
    "domains": ["nike.com"],
    "region": "US",
    "maxAdsPerTarget": 100,
    "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
  }'
```

```bash
curl --request GET \
  --url "https://api.apify.com/v2/acts/spectre_scrape~google-ads-transparency-scraper/runs/last/dataset/items?token=YOUR_TOKEN"
```

### FAQ

#### Is there a Google Ads Transparency Center API?

Google does not publish an official public API for the Transparency Center. This Actor provides an API-like interface on top of the same public endpoints the website uses, returning clean JSON.

#### Do I need a Google account or API key?

No. No login, cookies or API key are required.

#### Why do some runs get blocked?

Google rate-limits by IP. Use Apify Residential proxy and keep the default pacing. The Actor rotates the proxy and retries automatically on a block or timeout.

#### Can I scrape any country?

Yes. 242 ISO country codes are mapped to Google's numeric region IDs, and you can also pass a numeric region ID directly.

### Legal

This Actor reads publicly available advertising transparency data. It does not extract private user data. Some advertisers are individuals or small businesses whose names appear in the public Transparency Center; treat names strictly as advertiser entities and do not use the data to build personal profiles. You are responsible for complying with applicable laws (including GDPR) and Google's terms when using the data.

### Feedback

Found a bug, a new block, or a missing feature? Open an issue on the Actor's Issues tab in Apify Console. We read every report.

# Actor input Schema

## `searchMode` (type: `string`):

How to find advertisers. domain: ads served on a website's domain. advertiserId: a specific Transparency Center advertiser ID (AR...). keyword: resolve a brand name to advertisers/domains. url: paste Transparency Center URLs.

## `domains` (type: `array`):

Websites to find ads for, e.g. nike.com. Used when search mode is domain.

## `advertiserIds` (type: `array`):

Transparency Center advertiser IDs (AR...). Used when search mode is advertiserId.

## `keywords` (type: `array`):

Brand or company names to resolve to advertisers. Used when search mode is keyword.

## `startUrls` (type: `array`):

Advertiser, creative or domain URLs from adstransparency.google.com. Used when search mode is url.

## `region` (type: `string`):

2-letter ISO country code (US, GB, DE, FR, ...) or a numeric region id. Controls which region's ad data is returned.

## `adFormat` (type: `string`):

Only keep ads of this creative format.

## `startDate` (type: `string`):

Optional YYYY-MM-DD lower bound, applied client-side to the last-shown date.

## `endDate` (type: `string`):

Optional YYYY-MM-DD upper bound, applied client-side to the first-shown date.

## `maxAdsPerTarget` (type: `integer`):

Maximum number of ads to save for each domain, advertiser or URL.

## `maxAdvertisersPerQuery` (type: `integer`):

When using keyword mode, how many matching advertisers to scrape per keyword.

## `includeDetails` (type: `boolean`):

Fetch each creative's detail record for all variations and the regions where it was shown. One extra request per ad (slower, more proxy usage).

## `onlyNewAds` (type: `boolean`):

Skip creatives seen in a previous run of this Actor. Useful for scheduled monitoring.

## `proxyConfiguration` (type: `object`):

Google rate-limits by IP. Residential Apify Proxy is strongly recommended; requests are paced and rotated automatically.

## Actor input object example

```json
{
  "searchMode": "domain",
  "domains": [
    "nike.com"
  ],
  "keywords": [
    "Nike"
  ],
  "region": "US",
  "adFormat": "ALL",
  "maxAdsPerTarget": 50,
  "maxAdvertisersPerQuery": 5,
  "includeDetails": false,
  "onlyNewAds": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

One item per ad creative with advertiser, format, dates, regions, creative URLs and landing domain.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "nike.com"
    ],
    "keywords": [
        "Nike"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("spectre_scrape/google-ads-transparency-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "domains": ["nike.com"],
    "keywords": ["Nike"],
}

# Run the Actor and wait for it to finish
run = client.actor("spectre_scrape/google-ads-transparency-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "nike.com"
  ],
  "keywords": [
    "Nike"
  ]
}' |
apify call spectre_scrape/google-ads-transparency-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,spectre_scrape/google-ads-transparency-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1D6Mt8S5h9fN5fcYW/builds/q5qR6b5h2j9tHdaJ6/openapi.json
