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

Scrape ads from the Google Ads Transparency Center (ad library) by brand, website, advertiser ID or URL: creatives, first/last shown dates, platforms, countries, EU reach and audience targeting. No login.

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

## Pricing

from $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/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 Center Scraper

Scrape the **Google Ads Transparency Center** (Google's public ad library) for any brand, website or advertiser. See the Search, YouTube, Shopping, Maps and Play ads a competitor runs, with first and last shown dates, how long each ad has been live, image and video previews, every country it ran in and, for ads shown in the EU, how many times it was shown and which audience targeting the advertiser used.

No login, no cookies, no Google account. Pay only for the ads you get: **$1.50 per 1,000 ads**.

> Independent tool, not affiliated with or endorsed by Google. It reads the same public pages anyone can open at adstransparency.google.com.

#### What you can do with it

- **Competitor ad research:** pull every ad a rival is running right now, by format and platform, and see which ones have run longest (`shownForDays`). Long-running ads are usually the winners.
- **Creative swipe files:** collect image ads, YouTube video links and rendered previews at scale.
- **Lead generation and ad checks:** feed a list of company names or websites in `advertisers` mode to find out who actively advertises on Google, under which accounts, and roughly how many ads they run.
- **New-ad monitoring:** schedule it with `onlyNewAds` and get only ads launched since the last run.
- **EU reach and targeting research:** with full details on, see times-shown ranges per country and platform, and the audience criteria the advertiser selected (published by Google under the EU Digital Services Act).
- **Brand protection:** see every advertiser account running ads that point to your domain.

#### Why this scraper

- **One input box for everything.** Brand names, websites, advertiser IDs (`AR...`) and Transparency Center URLs (advertiser, single ad or domain search). Each one is detected automatically.
- **Smart brand matching.** A brand name is matched to the right advertiser accounts (largest first), so "Nike" finds *Nike, Inc.* and not *Nikesh*. If no account carries the name, it falls back to the brand's website. Every decision is written to the run summary.
- **Complete detail when you need it.** Variations, per-country dates, platforms, times shown, audience targeting, topic or Shopping category, and YouTube video IDs for video ads.
- **Built to keep working.** Blocked sessions are rotated automatically, with retries, backoff and an automatic residential-proxy fallback. If Google stops answering for one target, every ad already collected is kept and the run summary says where it stopped.
- **Fast and light.** It calls the Transparency Center's own JSON endpoints with no browser. 100 ads take a few seconds on 512 MB.
- **Filters that work.** Region (any country), platform, format and date window are applied on Google's side, so you only pay for what you asked for.

#### Input

```json
{
  "queries": ["nike.com", "HubSpot", "AR16735076323512287233"],
  "resultType": "ads",
  "region": "US",
  "platforms": ["YOUTUBE"],
  "adFormat": "VIDEO",
  "startDate": "90 days",
  "maxAdsPerTarget": 200,
  "includeDetails": true
}
```

| Field | What it does |
| --- | --- |
| `queries` | Brand names, websites, advertiser IDs or Transparency Center URLs, mixed freely. |
| `resultType` | `ads` (one row per creative, default) or `advertisers` (one summary row per advertiser account). |
| `region` | Two-letter country code, or `anywhere` (default). Pick an EU country to get reach and audience data. |
| `platforms` | Any of `SEARCH`, `YOUTUBE`, `SHOPPING`, `MAPS`, `PLAY`. Empty means all. Google applies platform filters to ads shown since September 2023. |
| `adFormat` | `ALL`, `TEXT`, `IMAGE` or `VIDEO`. |
| `startDate` / `endDate` | Ads shown at some point in this window. Use `YYYY-MM-DD` or relative values like `30 days`. Google keeps about 12 months of ad dates. |
| `maxAdsPerTarget` | Maximum ads per advertiser account, website or URL (default 100). |
| `maxResults` | Hard cap for the whole run (0 = no cap). |
| `maxAdvertisersPerQuery` | How many matching advertiser accounts to use per brand name (default 3). |
| `includeDetails` | Full creative detail, one extra lookup per ad. Billed as *Ad with full details*. |
| `onlyNewAds` / `monitorKey` | Return only ads not seen in earlier runs with the same key. |

#### Output

Each ad row looks like this:

```json
{
  "advertiserId": "AR16735076323512287233",
  "advertiserName": "Nike, Inc.",
  "creativeId": "CR09915361542495272961",
  "format": "VIDEO",
  "firstShown": "2026-11-04",
  "lastShown": "2026-11-23",
  "shownForDays": 20,
  "imageUrl": null,
  "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?...",
  "adUrl": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR09915361542495272961?region=US",
  "advertiserUrl": "https://adstransparency.google.com/advertiser/AR16735076323512287233?region=US",
  "advertiserCountry": "US",
  "query": "nike.com",
  "matchedVia": "website",
  "targetDomain": "nike.com",
  "region": "US",
  "scrapedAt": "2026-11-23T14:30:16Z"
}
```

With `includeDetails` on, each ad also carries (example: a HubSpot video ad shown in Germany):

```json
{
  "variationCount": 7,
  "variations": [{ "imageUrl": null, "previewUrl": "https://displayads-formats.googleusercontent.com/...", "width": null, "height": null }],
  "regions": [{
    "countryCode": "DE", "countryName": "Germany", "firstShown": "2026-04-10", "lastShown": "2026-11-23",
    "impressionsMin": 3000000, "impressionsMax": 3500000,
    "platforms": [{ "platform": "YOUTUBE", "impressionsMin": 3000000, "impressionsMax": 3500000 }]
  }],
  "impressionsMin": 3000000,
  "impressionsMax": 3500000,
  "platforms": ["YOUTUBE"],
  "audienceSelection": {
    "demographicInfo": "included",
    "geographicLocations": "included",
    "contextualSignals": "included and excluded",
    "topicsOfInterest": "included",
    "customerLists": "excluded"
  },
  "youtubeVideoId": "5ucTGnWDCuc",
  "youtubeUrl": "https://www.youtube.com/watch?v=5ucTGnWDCuc",
  "productCategory": null,
  "advertiserLegalName": "Hubspot, Inc.",
  "euReachAvailable": true
}
```

In `advertisers` mode each row is an advertiser account:

```json
{
  "advertiserId": "AR17410177287600472065",
  "name": "HelloFresh SE",
  "countryCode": "DE",
  "approxAdCountLow": 10000,
  "approxAdCountHigh": 20000,
  "adsSeenForDomain": 11,
  "latestAdShown": "2026-11-23",
  "isActiveAdvertiser": true,
  "advertiserUrl": "https://adstransparency.google.com/advertiser/AR17410177287600472065?region=US",
  "query": "hellofresh.com",
  "matchedVia": "website",
  "matchedDomain": "hellofresh.com"
}
```

The dataset has three ready-made views (Ads, Ads with reach & targeting, Advertisers) and exports to JSON, CSV, Excel and more. The `RUN_SUMMARY` record in the key-value store shows how each input was resolved and how many ads each target returned.

#### Good to know

- **Text ads come as images.** Google archives most search text ads as rendered images (`imageUrl`), so the ad copy is inside the picture.
- **Reach and audience data exist only for ads shown in the EU.** Google publishes them under the Digital Services Act. Choose an EU region (DE, FR, NL...) to get them on most ads. "Times shown" values are Google's own ranges.
- **Brand names vs. websites.** Many brands advertise under a parent company, regional entity or agency. If a name search looks thin, add the brand's website too. A website returns every ad pointing to it, from any account.
- **Approximate counts.** Ad counts are Google's own ranges (for example 8,000 to 9,000).

#### Pricing

Pay per result. Apify platform usage and proxies are included.

| Event | Price |
| --- | --- |
| Ad | $1.50 per 1,000 ads |
| Ad with full details (replaces *Ad* when details are on) | $3.00 per 1,000 ads |
| Advertiser row (advertiser mode) | $1.50 per 1,000 advertisers |
| Actor start | $0.00005 per run |

Example: the 200 most recent YouTube ads of five competitors cost $1.50. Set a maximum total charge on the run for a hard spending cap.

#### Schedules, API and integrations

- Run it on a schedule with `onlyNewAds` for a weekly "new competitor ads" feed.
- Call it from the Apify API or the Python and JavaScript clients, or use it as a tool for AI agents through the Apify MCP server.
- Send results to Google Sheets, Slack, Zapier, Make or webhooks with Apify integrations.

#### FAQ

**Is it legal to scrape the Google Ads Transparency Center?** The Transparency Center is a public library that Google publishes so anyone can see who is advertising. This Actor reads only that public data, with no login, and does not collect personal data beyond the advertiser names Google shows. Use the data in line with the laws that apply to you.

**Do I need a proxy?** No setup is needed. The Actor uses Apify residential proxy by default and rotates blocked sessions automatically. Proxy cost is included in the price.

**Something looks off?** Open an issue on the Issues tab with the run link. The Actor is monitored daily.

# Actor input Schema

## `queries` (type: `array`):

One per line. Mix freely: a brand name (Nike), a website (nike.com - all ads pointing to it, from any advertiser account), an advertiser ID (AR16735076323512287233), or any Google Ads Transparency Center URL (advertiser, single ad, or domain search).

## `resultType` (type: `string`):

'ads' returns every creative. 'advertisers' returns one row per advertiser account with approximate ad counts, country and verification - a cheap way to check which companies run Google Ads.

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

Only ads shown in this country. EU countries also unlock Google's reach (times shown) and audience data when details are on.

## `platforms` (type: `array`):

Only ads shown on these Google surfaces. Leave empty for all. Google applies platform filters to ads shown since September 2023.

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

Only ads of this format. Text search ads are archived by Google as images.

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

Only ads shown at some point on or after this date (YYYY-MM-DD or relative, e.g. 30 days).

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

Only ads shown at some point on or before this date.

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

Cap per advertiser / website / ad. Each brand-name match counts as its own target.

## `maxResults` (type: `integer`):

Hard cap on rows for the whole run (0 = no cap). You also control spend with the run's maximum charge.

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

A brand name can match several advertiser accounts (regional entities, agencies). The biggest matching accounts are used.

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

One extra lookup per ad: every variation (all image/preview URLs), every country it ran in with first/last shown dates, platforms, YouTube video ID for video ads, topic / Shopping category, and - for ads shown in the EU - times shown (reach) per country and platform plus the advertiser's audience targeting. Billed as 'Ad with full details' instead of 'Ad'.

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

Return only ads not delivered by previous runs with the same monitor key. Schedule the Actor daily or weekly to get new-ad alerts; you only pay for new ads.

## `monitorKey` (type: `string`):

Name of the memory used by 'Only new ads'. Use a different key per watch list so histories don't mix. Default: 'default'.

## `maxConcurrency` (type: `integer`):

Parallel targets. The default is safe; higher values finish big lists faster.

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

Apify residential proxy is the default and is included in the price. Blocked sessions are rotated automatically.

## `allowResidentialFallback` (type: `boolean`):

If you pick datacenter proxy and Google keeps blocking it, switch to Apify residential proxy automatically. Included in the price.

## Actor input object example

```json
{
  "queries": [
    "nike.com"
  ],
  "resultType": "ads",
  "region": "anywhere",
  "adFormat": "ALL",
  "maxAdsPerTarget": 100,
  "maxResults": 0,
  "maxAdvertisersPerQuery": 3,
  "includeDetails": false,
  "onlyNewAds": false,
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "allowResidentialFallback": true
}
```

# Actor output Schema

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

One row per ad creative: advertiser, format, first/last shown, image or preview link, ad page link.

## `adsDetails` (type: `string`):

Full-detail view: platforms, times shown (EU), countries, variations, YouTube link, audience targeting.

## `advertisers` (type: `string`):

Advertiser summary rows (when 'What to return' = advertisers).

## `runSummary` (type: `string`):

How each input was resolved, per-target counts, request and block stats.

# 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 = {
    "queries": [
        "nike.com"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("shinyobject/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 = {
    "queries": ["nike.com"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

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

```

## MCP server setup

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