# Google Ads Transparency Scraper: Ads Library by Domain (`lavidarossi.bv/google-ads-transparency-scraper`) Actor

Google Ads Transparency Center scraper: get the ads an advertiser runs on Google Search, YouTube, Display and Shopping. Search by domain or advertiser ID, filter by country and format. One row per ad with first and last shown date and a preview link.

- **URL**: https://apify.com/lavidarossi.bv/google-ads-transparency-scraper.md
- **Developed by:** [Lavida Data](https://apify.com/lavidarossi.bv) (community)
- **Categories:** Marketing, SEO tools, Lead generation
- **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 ad results

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: Ads Library by Domain

This Actor reads the public Google Ads Transparency Center (adstransparency.google.com) and returns one row per ad creative: who runs it, the ad format, when it was first and last shown, and a link to the ad. Give it advertiser domains such as nike.com or advertiser IDs (AR followed by 20 digits), and optionally a country.

### What it does

- Search by advertiser domain, by advertiser ID, or both in one run.
- Filter by country, or search all countries.
- Filter by ad format: text, image or video.
- Returns the first and last date each ad was shown, so you can see which ads are new and which have run for months.
- Pages through all results until it reaches your maximum.

### Use cases

- Track which ads a competitor started this week and which ones they keep running.
- Check whether a brand advertises in a given country before you pitch them.
- Collect ad examples for a niche to study formats and messages.
- Feed a weekly report: run it on a schedule and compare the creative IDs with the last run.

### How to use it

1. Fill in the input (or keep the example).
2. Click Start.
3. Download the results from the Output tab, or connect them to your tools with the Apify API or integrations.

The prefilled input is a small test: it stops after 10 results, so the first run costs at most $0.02.

### Input

| Field | Type | Required | Default | Example | Description |
| --- | --- | --- | --- | --- | --- |
| `domains` | array | no |  | \["nike.com"] | Domains the ads point to, without https:// (for example nike.com). One per line. |
| `advertiserIds` | array | no |  | \["AR16735076323512287233"] | Advertiser IDs from the Transparency Center URL: AR followed by 20 digits. One per line. |
| `region` | string | no | "anywhere" | anywhere | Only ads shown in this country. Leave on Anywhere to search all countries. |
| `format` | string | no | "all" | all | Only ads of this format. |
| `proxyConfiguration` | object | no | {"useApifyProxy":true} | {"useApifyProxy":true} | Google limits how many searches one IP address can make. Apify Proxy rotates addresses when Google slows the run down. |
| `maxResults` | integer | no | 100 | 10 | The run stops after this many results. You pay per result. |

Example input:

```json
{
  "domains": [
    "nike.com"
  ],
  "region": "NL",
  "format": "all",
  "maxResults": 100
}
```

### Output

Each result is one row in the dataset. Download it as JSON, CSV, Excel or HTML, or read it through the Apify API.

| Field | Type | Description |
| --- | --- | --- |
| `query` | string | The domain or advertiser ID this row was found with |
| `queryType` | string | domain or advertiserId |
| `region` | string | Country filter used (ISO code) or anywhere |
| `advertiserId` | string | Google advertiser ID (AR...) |
| `advertiserName` | string | Verified advertiser name as shown by Google |
| `creativeId` | string | Google creative ID (CR...) |
| `format` | string | TEXT, IMAGE or VIDEO |
| `targetDomain` | string | Domain shown with the ad, when Google lists one |
| `firstShownAt` | string | First date the ad was shown (ISO 8601, UTC) |
| `lastShownAt` | string | Last date the ad was shown (ISO 8601, UTC) |
| `daysRunning` | integer | Days between first and last shown |
| `imageUrl` | string | Archived image of the ad, when Google provides one |
| `previewUrl` | string | Google's preview script URL for text and video ads, when there is no archived image |
| `adUrl` | string | Link to the ad in the Transparency Center |
| `scrapedAt` | string | When this row was collected (ISO 8601) |

#### Example output

| Advertiser | Format | First shown | Last shown | Days running | Ad page |
| --- | --- | --- | --- | --- | --- |
| Nike, Inc. | TEXT | 2026-11-22T13:04:46.000Z | 2026-11-26T17:16:15.000Z | 4 | https://adstransparency.google.com/advertiser/AR167350763... |

Example result:

```json
{
  "query": "AR16735076323512287233",
  "queryType": "advertiserId",
  "region": "anywhere",
  "advertiserId": "AR16735076323512287233",
  "advertiserName": "Nike, Inc.",
  "creativeId": "CR14361306490956939265",
  "format": "TEXT",
  "targetDomain": null,
  "firstShownAt": "2026-11-22T13:04:46.000Z",
  "lastShownAt": "2026-11-26T17:16:15.000Z",
  "daysRunning": 4,
  "imageUrl": null,
  "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&obfuscatedCustomerId=3997131519&creativeId=832053613902&uiFeatures=12,54&adGroupId=199846864234&overlay=%3DH4sIAAAAAAAAAN2Sz2sTQRiGGbLGZWzruIgOKcggtRXBXS21pULUqBEMkkvw6GGYmWSHTHe2M5PE3EJBRPCQixKFQr15Ek_ipVCliN4EPXkWCh49eRLZ2h9I9y_w-j28z_d-8NWq0I8F5UomIliEC3XZFuS6oqxNbhnJaZ80HDXOkrrukfOkQbuC3E2J0-TShTNEJyQLvH9VewngES4sMzJ1UifBCMAn4KBMWhILI8K_os6-qNnMZFYowdyOk1jXV8KGpHo_VdqI3bFuNoWx_4ZDcnBXTG2GJJNUqT6x2R2Ch7XjsNiVtmNUAKGfyLYImV6qfffgCcq5zNpT1RDUsLjCb1JHg0_e6Q_ez8MWLo___jq8hqqlO7Fzqb0cRb1eL2xp3VLbksjGOk1l0ooMdTJp2YgypjuJi5aEM5LZq8vl3YXTrHyjMt0tX1w8t1diBIpr4NRrwN8C_hFc-QwKz_13Bfim4A8Gg-GLxz-2bqONMbwxdhasAAyPbo8fPPzyawugKTwVHPJn0bCwAk7CiR20ujmLSriUQ549vYcCHOSRzQk0g2fyyKMFNIkn98h-hdX1IUDzeD4ntD6qoDk8l0fWuqiO6zm6_-OioAi97C2_jfvQQ8ewh8AfRttTqm8DAAA&sig=ACiVB_w1xoHMct9qR0X0TA-6ZXUw6Wt9-Q&htmlParentId=fletch-render-11833516538942233183&responseCallback=fletchCallback11833516538942233183",
  "adUrl": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR14361306490956939265",
  "scrapedAt": "2026-11-27T09:00:00.000Z"
}
```

### Pricing

This Actor uses pay-per-event pricing. You pay for results, not for compute time or proxies.

| Event | When it is charged | Price | Per 1,000 |
| --- | --- | --- | --- |
| Ad result | One ad creative written to the dataset | $0.0015 | $1.50 |
| Actor start | Charged by Apify once per run, plus once per GB of memory above 1 GB | $0.00005 | $0.05 |

Example: 1,000 results cost $1.50 in total for one run.
Set "Maximum cost per run" in the run options to cap spending; the Actor stops cleanly when the cap is reached.

### Use it from an AI agent or the API

**MCP (Claude, Cursor, ChatGPT and other MCP clients):** add the Apify MCP server with this Actor as a tool: `https://mcp.apify.com?tools=lavidarossi.bv/google-ads-transparency-scraper`. The agent sees it as the tool `lavidarossi-dot-bv--google-ads-transparency-scraper` with the input fields above. Without the parameter, agents can still find it with the `search-actors` tool.

**API:** run it and get the rows in one call (replace `<APIFY_TOKEN>` with your token):

```bash
curl -X POST "https://api.apify.com/v2/acts/lavidarossi.bv~google-ads-transparency-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer <APIFY_TOKEN>" -H "Content-Type: application/json" \
  -d '{"domains":["nike.com"],"region":"anywhere","format":"all","proxyConfiguration":{"useApifyProxy":true},"maxResults":10}'
```

### FAQ

**Where does the data come from?**

From the public Google Ads Transparency Center at adstransparency.google.com. The Actor reads the same data the website shows. It does not log in.

**Does it show ad spend or impressions?**

No. Google shows spend and impression ranges only for political ads in some regions. This Actor returns ad creatives, formats and dates.

**How do I find an advertiser ID?**

Open the advertiser on adstransparency.google.com. The ID is the part of the URL that starts with AR.

**Why do I get fewer ads than the website count?**

Google shows an estimated total (for example 6,000 to 7,000). The run stops at your maximum results, and Google may hide some ads from the list.

**What happens when a request fails?**

Each request is retried up to 4 times. If a request still fails, the run ends with status Failed and the RUN_SUMMARY record in the key-value store lists the failed URLs. Results saved before that stay in the dataset.

**Can I run it on a schedule?**

Yes. Create a task with your input and add a schedule in Apify Console. Each run is charged per result.

### Limits

- Google pages results 40 at a time; large advertisers can have tens of thousands of ads, so set a maximum.
- Google can change the Transparency Center at any time. The Actor fails the run with a clear error when the response shape changes, and we fix it.
- Ad text and landing pages are not included; open the ad page link for the full preview.

### Related Actors

- [TikTok Top Ads Scraper](https://apify.com/lavidarossi.bv/tiktok-top-ads-scraper): top ads from the TikTok Creative Center by country and industry.
- [Website Tech Stack Detector](https://apify.com/lavidarossi.bv/website-tech-stack-detector): the CMS, shop platform, analytics and hosting of a list of websites.
- [Keyword Suggestions Scraper](https://apify.com/lavidarossi.bv/keyword-suggestions-scraper): autocomplete keyword ideas from Google, YouTube, Bing and Amazon.

### Data

- The Actor collects ad data that Google publishes for transparency. Input is a domain or advertiser ID; it does not search people by name.
- Advertiser names are the verified names Google shows. Most are companies.

# Actor input Schema

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

Domains the ads point to, without https:// (for example nike.com). One per line.

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

Advertiser IDs from the Transparency Center URL: AR followed by 20 digits. One per line.

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

Only ads shown in this country. Leave on Anywhere to search all countries.

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

Only ads of this format.

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

Google limits how many searches one IP address can make. Apify Proxy rotates addresses when Google slows the run down.

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

The run stops after this many results. You pay per result.

## Actor input object example

```json
{
  "domains": [
    "nike.com"
  ],
  "advertiserIds": [
    "AR16735076323512287233"
  ],
  "region": "anywhere",
  "format": "all",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxResults": 10
}
```

# Actor output Schema

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

One dataset item per result, with every field described in the dataset schema.

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

Counts of results, finished, failed and skipped requests, and whether the charge limit was reached.

# 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",
    "format": "all",
    "proxyConfiguration": {
        "useApifyProxy": true
    },
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("lavidarossi.bv/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"],
    "region": "anywhere",
    "format": "all",
    "proxyConfiguration": { "useApifyProxy": True },
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("lavidarossi.bv/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"
  ],
  "region": "anywhere",
  "format": "all",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxResults": 10
}' |
apify call lavidarossi.bv/google-ads-transparency-scraper --silent --output-dataset

```

## MCP server setup

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