# Google Ads Transparency Scraper: Ads by Domain or Advertiser (`badr_xba/google-ads-transparency`) Actor

Get every ad an advertiser runs on Google (Search, YouTube, Display) from the public Ads Transparency Center: by domain or advertiser ID, country, format and dates. Optional per-country impressions. Pay per ad.

- **URL**: https://apify.com/badr_xba/google-ads-transparency.md
- **Developed by:** [Badr Bouargan](https://apify.com/badr_xba) (community)
- **Categories:** Lead generation
- **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 scraped 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/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

### What is Google Ads Transparency Scraper?

**Google Ads Transparency Scraper** extracts every ad a company runs on Google from the public Ads Transparency Center, by domain or advertiser ID, so you can see a competitor's ads, formats and dates in minutes. You get one clean row per ad, with the first and last day it was shown and a link to its public page.

- **Search by domain** (`nike.com`), by **advertiser ID** (`AR…`), or paste **Ads Transparency Center links**.
- **Filter** by country (any 2-letter code, or anywhere), format (text, image, video) and dates shown.
- **Get one row per ad**: advertiser name and ID, creative ID, format, first and last time shown, domain, ad page link and preview script link.
- **Add per-country details** (option): countries where the ad ran, impression range and dates in each country.
- **Open a visual report** of every run, with Google's archived picture of the ad when Google provides one.
- **Pay only for ads delivered**: duplicates, errors and refused searches are never charged.

Who uses it: marketers and media buyers watching competitors, agencies auditing a prospect before a pitch, and analysts doing market or compliance research.

The Ads Transparency Center lists ads from verified advertisers shown on Google Search, YouTube, Display, Shopping, Maps and Play. Data is read politely, without any Google account.

> Not affiliated with, endorsed by or sponsored by Google. "Google" and "Ads Transparency Center" are trademarks of Google LLC. Only public data is collected.

### What data can you extract from the Google Ads Transparency Center?

One row per ad. `details` is filled only with *Include per-country details*.

| Field | Description | Example |
| --- | --- | --- |
| 🏢 `advertiserName`, `advertiserId` | The verified advertiser | `Nike Retail BV`, `AR18378488041124659201` |
| 🆔 `creativeId` | Google's ID of the ad | `CR16797034886069223425` |
| 🎞️ `format` | Text, image or video | `TEXT` |
| 📅 `firstShown`, `lastShown` | First and last time the ad was shown | `2025-10-22T17:14:07Z` |
| 🌐 `domain` | The domain searched | `nike.com` |
| 🔗 `adUrl` | The ad's public page on the Ads Transparency Center | `https://adstransparency.google.com/advertiser/…` |
| 🖼️ `imageUrl`, `imageWidth`, `imageHeight` | Google's archived picture of the ad, when Google provides one | `https://tpc.googlesyndication.com/archive/…` |
| 🔎 `search` | The search that found the ad (type, value, country, format, dates) | `{"type": "domain", "value": "nike.com"}` |
| 🌍 `details.countries` | Per country: impression range, first and last day (option) | `FR, 45,000 to 50,000` |

Impressions are ranges, exactly as Google shows them; Google does not publish exact numbers.

### How to scrape Google Ads Transparency

1. Click Try for free on this page, or create a free Apify account.
2. Type one domain per line in *Advertiser domains* (`nike.com`), or add *Advertiser IDs* or *Ads Transparency Center links*.
3. Set *Country*, *Format*, *Shown from* and *Shown until* if you need them, and *Max ads per search* (100 by default).
4. Run the Actor with *Start*.
5. Download your data as JSON, CSV, Excel or HTML, or open the visual report.

Try it free: run it once with the default input. The prefill reads 20 ads of `nike.com` in every country and format. On Nov 25, 2026 it returned 20 ads from 2 advertisers in 5 seconds; Google showed about 50,000 to 60,000 ads in total for that domain.

To track new ads, schedule a daily run with *Shown from* set to a recent date and compare the `creativeId` values.

### How much does it cost to scrape Google Ads Transparency?

You pay per ad delivered. Platform usage is included, and there is no start fee.

| Event (per 1,000) | Free | Starter | Scale | Business and above |
| --- | --- | --- | --- | --- |
| Scraped ad | $1.60 | $1.40 | $1.20 | $1.00 |
| Ad detail, per-country option (only when really read) | $2.00 | $1.80 | $1.60 | $1.40 |

The Apify Free plan gives you $5 of platform credit each month. That covers about 3,100 ads a month at Free plan prices.

Examples on the Free plan:

- The prefill (20 ads) costs about $0.03.
- 1,000 ads of a brand cost $1.60.
- 200 ads with per-country details cost $0.72.

Never charged: duplicates, failed inputs and searches refused by Google (`BLOCKED`).

Set *Maximum cost per run* in the run options. The run stops cleanly at that amount and keeps every ad already delivered.

### ⬇️ Input

The prefill:

```json
{
  "domains": ["nike.com"],
  "region": "anywhere",
  "maxAdsPerSearch": 20
}
```

Video ads of a brand in the US since November 1:

```json
{
  "domains": ["nike.com"],
  "region": "US",
  "format": "VIDEO",
  "dateFrom": "2026-11-01",
  "maxAdsPerSearch": 200,
  "includeDetails": false
}
```

| Field | What it does |
| --- | --- |
| Advertiser domains | One domain per line, such as `nike.com`. |
| Advertiser IDs | `AR` followed by digits, from the advertiser page link. |
| Ads Transparency Center links | Advertiser or domain links; their own country and format are kept. |
| Country | `US`, `GB`, `FR`, `DE`… or `anywhere`. |
| Format | All, Text, Image or Video. |
| Shown from, Shown until | Dates `YYYY-MM-DD` (optional). |
| Max ads per search | 1 to 10,000 (100 by default). |
| Include per-country details | One extra request per ad, charged as a separate event. |
| Proxy | Residential Apify Proxy by default. |
| Fail the run on any error | Off by default. |

The input form of the run shown below:

![Google Ads Transparency Scraper input form in Apify Console: advertiser domain nike.com, country anywhere, all formats](https://api.apify.com/v2/key-value-stores/R1P4OnWyoV0LnGBin/records/google-ads-transparency-top200-1-input.png)

*Real run IMMN2VwtioIA6epzg · Nov 25, 2026 · prefill: nike.com, anywhere, all formats, 20 ads*

### ⬆️ Output

Each run saves a dataset. You can download your data as JSON, CSV, Excel, XML or HTML, or read it through the API. A row from the run below, shortened:

```json
{
  "creativeId": "CR16797034886069223425",
  "advertiserId": "AR18378488041124659201",
  "advertiserName": "Nike Retail BV",
  "domain": "nike.com",
  "format": "TEXT",
  "firstShown": "2025-10-22T17:14:07Z",
  "lastShown": "2026-11-25T17:32:33Z",
  "adUrl": "https://adstransparency.google.com/advertiser/AR18378488041124659201/creative/CR16797034886069223425?region=anywhere",
  "previewScriptUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?…",
  "imageUrl": null,
  "search": { "type": "domain", "value": "nike.com", "region": null, "format": null },
  "details": null
}
```

With *Include per-country details*, `details` holds, for example:

```json
{
  "countries": [
    { "country": "FR", "countryName": "France", "impressionsMin": 45000, "impressionsMax": 50000,
      "firstShown": "2025-11-03", "lastShown": "2026-11-24" }
  ],
  "countryCount": 7,
  "totalImpressionsMin": 45000,
  "totalImpressionsMax": 50000
}
```

The table view of the run's visual report:

![Google Ads Transparency Scraper output table: 12 nike.com ads from Nike Retail BV and Nike, Inc. with format, first shown and last shown dates](https://api.apify.com/v2/key-value-stores/R1P4OnWyoV0LnGBin/records/google-ads-transparency-top200-2-output.jpg)

*Real run IMMN2VwtioIA6epzg · Nov 25, 2026 · prefill: 20 ads of nike.com, first 12 rows*

The top of the same visual report, with key figures and charts by format, advertiser and first-shown year:

![Google Ads Transparency Scraper visual report: 20 ads, 2 advertisers, 2 formats, charts by format, top advertisers and first-shown year](https://api.apify.com/v2/key-value-stores/R1P4OnWyoV0LnGBin/records/google-ads-transparency-top200-3-report.jpg)

*Real run IMMN2VwtioIA6epzg · Nov 25, 2026 · prefill: visual report, key figures*

The visual report (Output tab, then *Visual report*, or the `REPORT` record) also has one card per ad with Google's archived picture when there is one, search, filters, sorting and a table view. Your browser loads the pictures when you open the report; the Actor downloads nothing. The key-value store also holds `RUN_SUMMARY` (status, ads, approximate total per search, requests, refusals) and `FAILED_INPUTS` (every input or search that gave nothing, with a reason, never charged).

### Integrations and API

You can start runs and read results from code with the `apify-client` package ([npm](https://www.npmjs.com/package/apify-client), [PyPI](https://pypi.org/project/apify-client/)). The full reference is in the [Apify API docs](https://docs.apify.com/api/v2).

**Python:**

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("badr_xba/google-ads-transparency").call(run_input={
    "domains": ["nike.com"],
    "region": "US",
    "maxAdsPerSearch": 100,
})
for ad in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(ad["advertiserName"], ad["format"], ad["firstShown"], ad["adUrl"])
```

**JavaScript:**

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('badr_xba/google-ads-transparency').call({
    domains: ['nike.com'],
    region: 'US',
    maxAdsPerSearch: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((ad) => console.log(ad.advertiserName, ad.format, ad.firstShown));
```

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

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

Other ways to connect it:

- **Make, n8n and Zapier**: send new ads of your competitors to Google Sheets or Slack.
- **Webhooks**: trigger an action when a run ends ([docs](https://docs.apify.com/platform/integrations/webhooks)).
- **Schedules**: check a competitor's new ads every day ([docs](https://docs.apify.com/platform/schedules)).
- **MCP**: add `https://mcp.apify.com/?actors=badr_xba/google-ads-transparency` to Claude, ChatGPT or Cursor ([docs](https://docs.apify.com/platform/integrations/mcp)).

### Other ad and marketing scrapers

More Actors by the same developer:

- [Competitor Ads Spy](https://apify.com/badr_xba/competitor-ads-spy): a competitor's ads on Meta and Google in one run.
- [Facebook Ads Library Scraper](https://apify.com/badr_xba/facebook-ads-library-scraper): ads from Meta's Ad Library.
- [Website Technology Detector](https://apify.com/badr_xba/website-technology-detector): the analytics, ad pixels and tech stack of a website.
- [Ultimate SEO Audit & Website Analyzer](https://apify.com/badr_xba/ultimate-seo-audit): an SEO audit of any website.
- [Shopify Trending Products Scraper](https://apify.com/badr_xba/shopify-trending-products-scraper): trending products of Shopify stores.
- [Google Maps Leads Scraper](https://apify.com/badr_xba/google-maps-scraper): local businesses with websites, phones and e-mails.

### ❓ FAQ

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

The Actor reads only public pages of the Ads Transparency Center, the same answers its own search page gets, one request at a time, without login or account cookie, and never solves a CAPTCHA. The `robots.txt` of adstransparency.google.com returned "not found" when checked on Nov 24, 2026, so it sets no rule for this site. You are responsible for using the data in line with Google's terms and the law that applies to you. The Apify blog explains the general rules in [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/). This is not legal advice.

#### Can I use Google Ads Transparency Scraper through an MCP server?

Yes. Add `https://mcp.apify.com/?actors=badr_xba/google-ads-transparency` to your MCP client (Claude, ChatGPT, Cursor). You can then ask, for example, "list the video ads adidas.com ran in Germany this month".

#### Can I integrate Google Ads Transparency Scraper with other apps?

Yes. It works with Make, n8n, Zapier, Google Sheets, Slack and any tool that accepts webhooks.

#### Can I use Google Ads Transparency Scraper with the Apify API or in Python?

Yes. Use `apify-client` for Python or JavaScript, or call the REST API directly. The examples above show all three.

#### How much does it cost to scrape Google Ads Transparency?

$1.60 per 1,000 ads on the Free plan, down to $1.00 on Business, with no start fee. Per-country details are an option at $2.00 per 1,000 on the Free plan, charged only when really read.

#### Do I need proxies to scrape Google Ads Transparency?

The residential Apify Proxy is used by default, because Google refuses datacenter addresses more often. When Google answers with its verification page or refuses a request, the Actor pauses and tries once more from a new address. If that is refused too, the run stops cleanly: ads already delivered are kept, and what was not read is listed in `FAILED_INPUTS` as `BLOCKED` and never charged. Running again later usually works.

#### Is there an official Google Ads Transparency API?

Google does not offer a REST API for the Ads Transparency Center search, and Google's Ads API only covers your own ad accounts. This Actor reads the public Ads Transparency Center answers instead and returns one structured row per ad.

#### Can I find ads by keyword?

Not in this version: search by domain or advertiser. Tip: open adstransparency.google.com, search the brand, and paste the advertiser link in *Ads Transparency Center links*.

#### What can't it do?

- Impressions are ranges, and Google publishes them only for some countries (in our tests, about 1 detailed ad in 4 had impression ranges; countries and dates are there for almost all ads). `detailsStatus` says when details could not be read.
- Details need one extra request per ad, read politely: count about 3 seconds per ad.
- The Actor does not download images or videos. Open `adUrl` to see an ad on Google.
- Only ads from verified advertisers are listed, and totals are what Google shows on the day of the run.

#### Google Ads Transparency Scraper not working?

- **Few or no ads**: check the domain or advertiser ID on adstransparency.google.com, and widen *Country*, *Format* or dates.
- **`BLOCKED` in `FAILED_INPUTS`**: Google refused the requests. Nothing was charged; run it again later.
- **The total is approximate**: Google shows totals as ranges ("50K-60K ads"), in `RUN_SUMMARY.searches[].approxTotal`.
- **Run status**: input mistakes and Google refusals never make the run fail; it ends SUCCEEDED with a clear message. Turn on *Fail the run on any error* for monitoring.

### Your feedback

Found a bug, a missing field or an idea? Open an issue on the [Issues tab](https://apify.com/badr_xba/google-ads-transparency/issues) with your run ID. A short review on the [Store page](https://apify.com/badr_xba/google-ads-transparency/reviews) also helps other users find the Actor.

# Actor input Schema

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

Websites whose ads you want, like nike.com (one per line). The Ads Transparency Center finds the ads that lead to this domain.

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

Verified advertiser IDs (AR followed by digits), as in the advertiser page link on adstransparency.google.com.

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

Advertiser or domain links copied from adstransparency.google.com. Their own region and format are kept.

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

Where the ads were shown: a 2-letter country code (US, GB, FR, DE...) or "anywhere".

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

Only one ad format, or all of them.

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

Only ads shown on or after this day (YYYY-MM-DD). Empty = no limit.

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

Only ads shown on or before this day (YYYY-MM-DD). Empty = no limit.

## `maxAdsPerSearch` (type: `integer`):

Stop each domain / advertiser after this many ads (1 to 10,000). You pay only for ads delivered.

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

Also read each ad's details: countries where it ran, impression ranges and dates per country. One extra request per ad, charged as a separate event.

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

Residential Apify Proxy is used by default (Google refuses datacenter addresses more often). A refused request is tried once more from a new address after a pause.

## `failRunOnError` (type: `boolean`):

Off by default: input errors and Google refusals end the run SUCCEEDED with a clear message (details in FAILED_INPUTS). Turn on if your automation must stop on any error.

## Actor input object example

```json
{
  "domains": [
    "nike.com"
  ],
  "region": "anywhere",
  "format": "ALL",
  "maxAdsPerSearch": 20,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "failRunOnError": false
}
```

# Actor output Schema

## `report` (type: `string`):

No description

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

No description

## `summary` (type: `string`):

No description

## `failedInputs` (type: `string`):

No description

# 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"
    ],
    "region": "anywhere",
    "maxAdsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("badr_xba/google-ads-transparency").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"],
    "region": "anywhere",
    "maxAdsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

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

```

## MCP server setup

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

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/HLXF5KtQ9e13Q0gld/builds/k9nNp3vvDzuVI18pL/openapi.json
