# Google Ads Transparency Scraper - Competitor Ads by Domain (`renzomacar/google-ads-transparency-scraper`) Actor

Scrape the Google Ads Transparency Center: every ad an advertiser runs on Google Search, YouTube and Display. Enter a domain, advertiser name or id and get one row per ad: format, first and last shown dates, creative image or preview, and optionally its countries. No browser, no login.

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

## Pricing

from $1.00 / 1,000 ad returneds

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/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

Get the ads Google lists for an advertiser in its [Ads Transparency Center](https://adstransparency.google.com): give a domain, an advertiser name or an advertiser id and receive one row per ad with its format, the first and last date it was shown, optionally the countries where it ran, a picture or preview of the creative and the link to the ad.

It reads the same public endpoints the Transparency Center website calls. There is no browser, no login and no cookies, so runs are short and light.

### What you can do with it

- See which ads a competitor runs on Google Search, YouTube and Display, and since when.
- Follow a brand over time: schedule a run and compare the `creativeId` values with the previous run to find new ads.
- Check in which countries an advertiser is active.
- Collect every ad that leads to a website, whoever paid for it (agencies and regional entities included).

### Input

| Field | What it does |
| --- | --- |
| `advertisers` | List of entries. Each one is a **domain** (`nike.com`), an **advertiser id** (`AR16735076323512287233`) or an **advertiser name** (`Adidas`). |
| `region` | Optional. Only ads shown in that country: a two-letter code (`US`, `GB`, `DE`, `BR`) or the English name. Empty means every region. |
| `maxAdsPerAdvertiser` | How many ads to read for each entry, in the order of the Transparency Center. Empty reads 50. |
| `format` | `all`, `text`, `image` or `video`. |
| `includeRegions` | Off by default. Adds the countries where each ad ran and its number of variants. It costs one more request per ad. |
| `startUrls` | Optional links copied from the Transparency Center: an advertiser page or a search by domain. |

Example:

```json
{
  "advertisers": ["nike.com", "Adidas", "AR16735076323512287233"],
  "region": "US",
  "maxAdsPerAdvertiser": 100
}
```

#### Which kind of entry to use

- **Domain** returns every ad whose destination is that site. One domain usually has several advertisers behind it (the brand, its regional companies, its agencies); each row says which one.
- **Advertiser id** returns the ads of exactly one advertiser. The id is the part that starts with `AR` in the address of an advertiser page.
- **Name** is matched against the suggestions of the Transparency Center. Among the advertisers whose name is the text you wrote or starts with it, the one with most ads is taken; the run log names it and lists up to five other candidates with their ids. Many advertisers share similar names ("Nike" returns 30 suggestions), so use the domain or the id when it matters.

### Output

One row per ad (this example has `includeRegions` on; when it is off, `regions`, `regionNames`, `regionCount` and `variantCount` are empty):

```json
{
  "creativeId": "CR04870637843040436225",
  "advertiserId": "AR16735076323512287233",
  "advertiserName": "Nike, Inc.",
  "domain": "nike.com",
  "format": "text",
  "firstShown": "2022-11-30",
  "lastShown": "2026-11-14",
  "imageUrl": "https://tpc.googlesyndication.com/archive/simgad/1404729411634211368",
  "imageWidth": 348,
  "imageHeight": 184,
  "previewUrl": null,
  "regions": ["US"],
  "regionNames": ["United States"],
  "regionCount": 1,
  "variantCount": 7,
  "creativeUrl": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR04870637843040436225?region=US",
  "advertiserUrl": "https://adstransparency.google.com/advertiser/AR16735076323512287233?region=US",
  "query": "nike.com",
  "regionFilter": "US",
  "scrapedAt": "2026-11-14T08:30:12.000Z"
}
```

| Field | Meaning | Filled in the tests |
| --- | --- | --- |
| `creativeId`, `advertiserId`, `advertiserName` | Ids and legal name as shown by Google | 100% |
| `format` | `text`, `image` or `video` | 100% |
| `firstShown`, `lastShown` | First and last day the ad was shown (UTC date) | 100% |
| `imageUrl`, `imageWidth`, `imageHeight` | Picture of the creative hosted by Google. For text ads it is a rendering of the ad. | Depends on the format. In the first 778 ads tested: 94% of text ads, 55% of image ads, 7% of video ads |
| `previewUrl` | Address of the script the Transparency Center uses to draw the ad when it gives no picture | The ads without `imageUrl` |
| `imageUrl` or `previewUrl` | Every ad has one of the two | 100% |
| `regions`, `regionNames`, `regionCount` | Countries where the ad was shown (ISO codes and English names) | 99.8% with `includeRegions` on in runs of up to 300 ads (629 of 630); in the 2,000-ad run only the first 1,141 ads got them (see the limits); empty when it is off |
| `variantCount` | Number of variants of the creative | same as regions |
| `domain` | Destination site | 100% for domain entries; empty for name and id entries, because Google does not send it there |
| `creativeUrl`, `advertiserUrl` | Links to the ad and to the advertiser in the Transparency Center | 100% |
| `query`, `regionFilter`, `scrapedAt` | The entry and region that produced the row, and when | 100% |

The key-value store record `SUMMARY` has, per entry, the advertiser that was chosen, the number of rows and Google's own estimate of how many ads exist (a range such as 50,000-60,000).

### Measured in the tests

Figures from 9 runs with 2,828 ads in total, 256 MB of memory, 14 November 2026:

| Run | Ads | Seconds |
| --- | --- | --- |
| 1 domain, 50 ads, with regions | 50 | 2.5 |
| 2 names in one region, 100 ads each, with regions | 200 | 4.3 |
| 1 domain, 300 ads, with regions | 300 | 6.6 |
| 1 advertiser id, video only, without regions | 198 | 1.8 |
| 1 Transparency Center link, 30 ads, with regions | 30 | 1.9 |
| 1 domain, 2,000 ads, regions asked (1,141 ads got them) | 2,000 | 83.5 |

No duplicated ad inside a run.

### Limits you should know

- **Google limits how many requests it accepts from one server.** Two things were seen in the tests. First, after seven runs in a few minutes (about 1,400 requests), the next three runs were refused with HTTP 429 on their first request; a run started two minutes later worked again. Second, inside one run of 2,000 ads, Google refused the per-ad detail requests after about 1,140 of them in 75 seconds, while the list kept working. When the list is refused, the actor waits (20, 45 and then 90 seconds, or what Google asks) and tries again, up to three times per run; that waiting was added after the tests and has not been measured yet. If Google still refuses, the actor stops asking: it keeps the ads already read, says so in the log and in the status message, and ends without failing. It never tries to get around the limit. Prefer a few larger runs to many small ones.
- With `includeRegions` on, every ad needs one more request, so a run of 1,000 ads makes about 1,010 requests instead of 10. Expect regions for roughly the first 1,100 ads of a run; when Google refuses the detail requests, the remaining ads are still delivered, with `regions`, `regionCount` and `variantCount` empty. For large runs turn it off, or set the `region` filter, which already tells you where the ads ran.
- **No ad text.** Headlines, descriptions and landing page addresses are not in the data Google sends for the list; they are drawn inside the picture or by the preview script. This actor does not read text out of images.
- **No video file.** For most video ads there is only `previewUrl`, the script that draws the player, not a link to the video.
- **No spend, no impressions, no targeting.** The Transparency Center shows those only for some political ads and for ads in the European Union, and this actor does not collect them.
- `firstShown` and `lastShown` describe the ad in all regions, also when a `region` filter is set.
- A name that the Transparency Center does not know, a domain without ads or an empty input ends the run with a clear message and no rows.
- A link to a single ad is read as its advertiser.
- The order is the one of the Transparency Center. Advertisers with very many ads (Google reports millions for some domains) were only tested up to 2,000 ads per entry.
- These are unofficial endpoints: Google can change them without notice.

### Is it allowed?

The Transparency Center is a public site that Google publishes so that anyone can see who advertises and what. This actor reads only what the site shows to a visitor who is not signed in. The data is about advertisers, which are mostly companies; some are individuals advertising under their own name, so handle those rows according to the privacy rules that apply to you.

# Actor input Schema

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

One entry per advertiser: a domain such as nike.com (every ad that leads to that site), an advertiser id that starts with AR (exactly one advertiser), or an advertiser name. A name is matched with the suggestions of the Transparency Center and the run log says which advertiser was chosen; a domain or an id is more exact.

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

Only ads shown in this country: a two-letter code such as US, GB, DE or BR, or the English name of the country. Empty reads the ads of every region.

## `maxAdsPerAdvertiser` (type: `integer`):

Stop after this many ads for each entry, in the order the Transparency Center lists them. Empty reads 50.

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

Keep only text, image or video ads.

## `includeRegions` (type: `boolean`):

Adds the list of countries where each ad was shown and its number of variants. It takes one more request per ad; off by default, because large runs with it on are slowed down by Google and the later ads come without regions.

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

Links copied from adstransparency.google.com: an advertiser page (/advertiser/AR...) or a search by domain (?domain=nike.com). A region in the link is used when the Region field is empty. A link to one ad is read as its advertiser.

## Actor input object example

```json
{
  "advertisers": [
    "nike.com"
  ],
  "maxAdsPerAdvertiser": 50,
  "format": "all",
  "includeRegions": false
}
```

# Actor output Schema

## `results` (type: `string`):

One item per ad in the default dataset.

# 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.com"
    ],
    "maxAdsPerAdvertiser": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("renzomacar/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.com"],
    "maxAdsPerAdvertiser": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("renzomacar/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.com"
  ],
  "maxAdsPerAdvertiser": 50
}' |
apify call renzomacar/google-ads-transparency-scraper --silent --output-dataset

```

## MCP server setup

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