# Google Ads Transparency Scraper (ads, advertisers, regions) (`tamnt67/google-ads-transparency-scraper`) Actor

Google Ads Transparency Center scraper for Google ads: advertiser name and ID, creative ID, ad format, first and last shown dates, image or preview link and ad URL. Takes advertiser names, AR IDs or website domains, with country, format and date filters. Use it to research competitor ads.

- **URL**: https://apify.com/tamnt67/google-ads-transparency-scraper.md
- **Developed by:** [Tam Ng.](https://apify.com/tamnt67) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-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 (ads, advertisers, regions)

Collect the ads a brand or website runs on Google from the public Google Ads Transparency Center, with no login and no API key, for $1 per 1,000 ads on the Free plan, down to $0.60 on higher plans.

Search by advertiser name, advertiser ID (AR...) or website domain, filter by country, ad format and date, and export ads as JSON, CSV or Excel. Turn on region details to see each country where an ad ran, with dates and an impression range where Google publishes one.

### What you can do with it

- **Research competitor ads.** List every ad a competitor shows on Google, with format and first and last shown dates.
- **Find creative inspiration.** Collect image, text and video ads in a niche and open each one through `adUrl`.
- **Protect your brand.** Search your own domain to find every advertiser promoting your website, including agencies and resellers.
- **Prepare agency pitches.** Show a prospect how many ads they and their competitors run, in which formats and countries.
- **Track campaigns over time.** Run the same advertisers every week and compare `lastShown` dates to see which ads are still live.
- **Compare reach by country.** With region details on, see where each ad ran and, mostly in Europe, its impression range.

### Output fields

Each ad is one record in the dataset. Example values come from a real run with the advertiser "Nike" and region details on.

| Field | Example |
|-------|---------|
| `advertiserId` / `advertiserName` | AR16735076323512287233 / Nike, Inc. |
| `creativeId` | CR04967699671523786753 |
| `format` | image (text, image or video) |
| `domain` | null in this run (the promoted website when Google lists one) |
| `firstShown` / `lastShown` | "2021-10-25T07:00:00.000Z" / "2026-11-08T11:15:25.000Z" |
| `imageUrl` | rendered image of the ad when Google provides one, otherwise null |
| `previewScriptUrl` | Google's script that renders the ad preview, for ads without a static image |
| `adUrl` | https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR04967699671523786753 |
| `query` / `scrapedAt` | "Nike" / ISO timestamp |
| `variantCount` | 3 (number of versions of the ad; only with **Add region details** on, otherwise the field is not in the output) |
| `regions` | \[{ "region": "DE", "firstShown": null, "lastShown": "2024-08-26", "impressionsMin": null, "impressionsMax": 1000 }, ...] (only with **Add region details** on) |

Download results as JSON, CSV, Excel or XML, or read them through the Apify API.

### Example output

One real record from a run with the advertiser "Nike" and region details on (the preview URL is shortened, and the regions list is shortened from 27 countries to 4). It was collected before version 1.0, which is why per-region `firstShown` is null here; the region that run showed as Google's raw ID `2044` is shown as `BS` (Bahamas), as version 1.0 returns it:

```json
{
  "advertiserId": "AR16735076323512287233",
  "advertiserName": "Nike, Inc.",
  "creativeId": "CR04967699671523786753",
  "format": "image",
  "domain": null,
  "firstShown": "2021-10-25T07:00:00.000Z",
  "lastShown": "2026-11-08T11:15:25.000Z",
  "imageUrl": null,
  "previewScriptUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&...",
  "adUrl": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR04967699671523786753",
  "query": "Nike",
  "scrapedAt": "2026-11-09T04:38:58.945Z",
  "variantCount": 3,
  "regions": [
    { "region": "DE", "firstShown": null, "lastShown": "2024-08-26", "impressionsMin": null, "impressionsMax": 1000 },
    { "region": "VN", "firstShown": null, "lastShown": "2026-03-03", "impressionsMin": null, "impressionsMax": null },
    { "region": "US", "firstShown": null, "lastShown": "2026-11-08", "impressionsMin": null, "impressionsMax": null },
    { "region": "BS", "firstShown": null, "lastShown": "2026-02-15", "impressionsMin": null, "impressionsMax": null },
    "..."
  ]
}
```

### How to use

1. Add **Advertisers** (names, AR IDs such as `AR06641858037806006273`, or Transparency Center advertiser URLs) and/or **Website domains** such as `nike.com`. For an advertiser, prefer the advertiser link or AR ID: open the advertiser on adstransparency.google.com and copy the URL, which contains the AR ID. A name is looked up in Google's suggestions and can pick the wrong advertiser.
2. Optionally pick **Countries** (two-letter codes such as US, GB, DE, VN), an **Ad format**, and **Shown from** / **Shown until** dates in YYYY-MM-DD. Set **Max ads per advertiser or domain**, and turn on **Add region details** if you need reach by country.
3. Click **Start**. Ads are saved page by page, 40 per page. Export the dataset or read it through the API.

#### Example input

```json
{
  "advertisers": ["Nike"],
  "domains": ["adidas.com"],
  "regions": ["US", "DE"],
  "format": "video",
  "dateFrom": "2026-01-01",
  "dateTo": "2026-11-01",
  "includeDetails": true,
  "maxAdsPerQuery": 500,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

Tips:

- A domain search finds ads from every advertiser promoting that website, including agencies and resellers.
- A name is matched against Google's advertiser suggestions. If several advertisers share a name, the one with the most ads is used and the log shows which, so it can be a different company than you meant (a reseller, a local branch, a namesake). Use the advertiser link or AR ID to get exactly the advertiser you want, and check `advertiserName` in the results.
- Through the API, only the sources you send are searched: send only `advertisers` and only those advertisers run. An input with no advertisers and no domains runs the example domain `nike.com` and says so in the log.
- Region details cost no extra per ad, but they make one extra request per ad, so runs take longer.

### Pricing and cost examples

You pay per ad saved to the dataset ("Ad" event). Platform usage and proxy traffic are included in the per-ad price. Each run also has a one-time start charge of $0.00005.

| Apify plan | Price per 1,000 ads |
|------------|---------------------|
| Free (default price) | $1.00 |
| Bronze | $0.80 |
| Silver | $0.70 |
| Gold, Platinum, Diamond | $0.60 |

Cost examples on the Free plan:

- 100 ads ≈ $0.10
- 1,000 ads ≈ $1.00
- 10,000 ads ≈ $10.00 (≈ $6.00 on Gold and higher plans)

The Apify Free plan includes $5 of platform credit every month. Spent only on this Actor, that covers about 5,000 ads per month.

You are charged only for ads saved to the dataset. An advertiser name that matches nothing, a failed advertiser lookup, a search with no ads, or a page that still fails after 4 attempts saves nothing, so none of these is charged. Duplicate ads inside one search are skipped before saving. If the region details request fails for an ad, the ad is still saved and charged, just without `variantCount` and `regions`. To set a hard cap, enter a maximum total charge per run in the run options. The Actor stops as soon as that limit is reached.

### Use it via API, on a schedule, or from an AI agent

**JavaScript** (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('tamnt67/google-ads-transparency-scraper').call({
    advertisers: ['AR16735076323512287233'],
    regions: ['US'],
    maxAdsPerQuery: 200,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("tamnt67/google-ads-transparency-scraper").call(run_input={
    "advertisers": ["AR16735076323512287233"],
    "regions": ["US"],
    "maxAdsPerQuery": 200,
})

items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)
```

**cURL** (runs the Actor and returns the ads in one call):

```bash
curl -X POST "https://api.apify.com/v2/acts/tamnt67~google-ads-transparency-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domains": ["nike.com"], "maxAdsPerQuery": 50}'
```

The sync endpoint waits for the run to finish, so use it for small runs and the client libraries for large ones.

**Schedules:** create an Apify Schedule for this Actor or a saved task to collect a competitor's ads every week.

**AI agents:** the Apify MCP server at https://mcp.apify.com lets AI assistants such as Claude or Cursor run this Actor and read its results.

### FAQ

#### How much does Google Ads Transparency Scraper cost?

Google Ads Transparency Scraper costs $1 per 1,000 ads on the Free plan and $0.80, $0.70 or $0.60 per 1,000 on higher Apify plans. 100 ads cost about $0.10 on the Free plan. Region details add no per-ad charge. The Free plan's $5 monthly credit covers about 5,000 ads.

#### How many results do I get per advertiser or domain?

Google Ads Transparency Scraper returns up to `maxAdsPerQuery` ads for each advertiser or domain, from 1 to 10,000 (default 50). The Transparency Center returns 40 ads per page, and the Actor keeps paging until Google has no more ads or your limit is reached.

#### How can I get more results?

Raise `maxAdsPerQuery`, remove the country, format or date filters, or add more advertisers and domains. A domain search often returns more ads than an advertiser search because Google Ads Transparency Scraper then includes every advertiser promoting that website.

#### Can I run it on a schedule or through the API?

Yes. Google Ads Transparency Scraper works with Apify Schedules for daily or weekly runs, and with the Apify API through the JavaScript and Python clients or a single cURL call. See the API section above for working examples.

#### How fresh is the data?

Google Ads Transparency Scraper reads the Transparency Center live at the time of each run. Nothing is cached. Each ad has Google's `firstShown` and `lastShown` dates and a `scrapedAt` timestamp for when it was collected.

#### Is it legal to scrape the Google Ads Transparency Center?

Google Ads Transparency Scraper collects only publicly visible data from Google's public transparency tool, without logging in. You are responsible for how you use the data, including complying with Google's terms of service and with data protection laws such as GDPR. This is not legal advice. If you are unsure, ask a lawyer.

### Limitations

- Google publishes impression ranges only for some regions, mostly the EU and UK. Elsewhere the fields are empty.
- Text and video ads often have no static image. Open `adUrl` to view them. In the sample run, image ads also had `imageUrl` empty and only `previewScriptUrl`.
- This data comes from Google's public transparency tool. Targeting and spend are not included.
- In region details, every ISO 3166-1 country and territory is shown as its two-letter code (for example `BS`, `IS`, `PR`). A region Google reports that is not an ISO 3166-1 country is shown as Google's numeric region ID. Per-region `firstShown` is empty when Google does not publish it for that region.
- The **Countries** filter accepts any ISO 3166-1 two-letter code (use `GB`, not `UK`). Unknown codes are skipped with a warning in the log.
- `domain` is often null, because Google does not list a website for every ad.
- An advertiser name resolves to one advertiser only, chosen from Google's name suggestions, and it can be the wrong one. To get a specific advertiser, or several advertisers with the same name, add each advertiser link or AR ID.
- Duplicates are removed within each advertiser or domain, not across them. An ad found by both an advertiser and a domain search is saved and charged twice.
- If a page still fails after 4 attempts, that search stops and the run moves on. Ads saved before the error are kept.

### Changelog

- 1.0 update (2026-11-19): the field table now says clearly that `variantCount` and `regions` appear only with **Add region details** on.
- 1.0 (2026-11-19): API runs with only advertisers no longer also collect the default nike.com ads; region details return two-letter codes for all ISO 3166-1 countries (for example `BS` instead of `2044`) and fill per-region `firstShown`; the Countries filter accepts all ISO 3166-1 codes.

### Integrations

Works with every Apify integration: API, webhooks, Zapier, Make, Google Sheets, Slack, n8n, LangChain and the Apify MCP server.

### Support

Found a problem or missing field? Report problems in the Issues tab of this Actor.

# Actor input Schema

## `advertisers` (type: `array`):

Advertiser names, AR ids (AR06641858037806006273) or Transparency Center advertiser URLs, one per line. An AR id or advertiser URL is exact; a name picks the best-matching suggestion, which can be the wrong advertiser.

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

Find every ad that promotes these websites, for example nike.com. If you give no advertisers and no domains, the Actor runs the example domain nike.com.

## `regions` (type: `array`):

Optional two-letter country codes where the ad was shown: US, GB, DE, VN... Empty means all countries.

## `format` (type: `string`):

Keep one format only.

## `dateFrom` (type: `string`):

Optional, YYYY-MM-DD.

## `dateTo` (type: `string`):

Optional, YYYY-MM-DD.

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

Adds each country where the ad ran, with dates and impression ranges where Google publishes them. One extra request per ad.

## `maxAdsPerQuery` (type: `integer`):

The Transparency Center returns 40 ads per page.

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

Apify datacenter proxy is enough.

## Actor input object example

```json
{
  "advertisers": [
    "Nike"
  ],
  "domains": [
    "nike.com"
  ],
  "regions": [],
  "format": "any",
  "includeDetails": false,
  "maxAdsPerQuery": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `ads` (type: `string`):

Dataset with one record per result.

## `adsCsv` (type: `string`):

The same dataset exported as CSV.

# 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 = {
    "advertisers": [
        "Nike"
    ],
    "domains": [
        "nike.com"
    ],
    "maxAdsPerQuery": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tamnt67/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 = {
    "advertisers": ["Nike"],
    "domains": ["nike.com"],
    "maxAdsPerQuery": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("tamnt67/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 '{
  "advertisers": [
    "Nike"
  ],
  "domains": [
    "nike.com"
  ],
  "maxAdsPerQuery": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call tamnt67/google-ads-transparency-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tamnt67/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/d2hfOpNtHC7cgeAgK/builds/CpU9hs8pG0QCakNWj/openapi.json
