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

Get every ad an advertiser runs on Google (search, YouTube, display) from the Ads Transparency Center, by name, domain or ID. Filter by region, format and date; schedule for new-ad alerts.

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

## Pricing

Pay per event

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

Get the ads any advertiser runs on Google (Search, YouTube, Display) straight from Google's public **Ads Transparency Center**: no login, no cookies. Give it advertiser names, domains or IDs and get one clean row per ad creative.

**Step-by-step tutorial:** [Spy on your competitors' Google ads (Search, YouTube, Display) and get alerted when they launch new ones](https://dev.to/lindenbyte/spy-on-your-competitors-google-ads-search-youtube-display-and-get-alerted-when-they-launch-new-3b3h)

### Use cases

- **Competitor ad monitoring**: schedule it daily with `newAdsLastDays: 1` to get only the ads a competitor launched since yesterday.
- **Creative swipe file**: image URLs, preview links and a deep link to each ad on Google's own page.
- **Advertiser lead lists**: find which companies advertise in a region and how long they have been running ads.

### Input

| Field | What it does |
|---|---|
| `queries` | Advertiser names (`Nike`), domains (`nike.com`), advertiser IDs (`AR06641858037806006273`) or Transparency Center advertiser URLs |
| `region` | Country code (US, DE, BG ...) or `anywhere` |
| `format` | `all`, `text`, `image`, `video` (follows the filter in Google's UI) |
| `maxAdsPerAdvertiser` | Cost cap, default 200 |
| `maxAdvertisersPerQuery` | A name can match several legal entities (Nike, Inc. / Nike Retail BV ...). Default 1 = best match |
| `newAdsLastDays` | Only NEW ads: first shown in the last N days. Old ads that are still running are skipped and not charged. Use `1` with a daily schedule for new-ad alerts |
| `onlyNewSince` | ISO date: only ads *last shown* on/after it (still running or recently running, including old ones) |

A domain query returns ads that point to that domain, from all advertiser entities (including partners/agencies). Domain is usually more reliable than a name: brands often have several legal entities, and the log lists the matched entity plus alternatives with IDs.

### Output (one item per ad)

```json
{
  "advertiserId": "AR18378488041124659201",
  "advertiserName": "Nike Retail BV",
  "creativeId": "CR03064191829751627777",
  "format": "text",
  "firstShown": "2025-10-22T15:17:45.000Z",
  "lastShown": "2026-11-13T04:33:38.000Z",
  "daysActive": 388,
  "landingDomain": "nike.com",
  "imageUrl": "https://tpc.googlesyndication.com/archive/simgad/15557410114910154020",
  "previewUrl": null,
  "transparencyUrl": "https://adstransparency.google.com/advertiser/AR18378488041124659201/creative/CR03064191829751627777"
}
```

### Pricing

Pay per result: you are charged for each ad returned (plus a small start fee). Set a max cost on the run and the Actor stops when it is reached.

### Reliability

If a query resolves but returns nothing because Google blocked the request, the run **fails with a clear message** instead of silently succeeding with an empty dataset. Blocked requests are retried with backoff and then through an Apify proxy.

### Notes

- Data comes from Google's public transparency pages. It is advertiser business data; do not use it to profile private individuals.
- Not affiliated with Google.

# Actor input Schema

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

Advertiser names (Nike), domains (nike.com), advertiser IDs (AR06641858037806006273) or adstransparency.google.com/advertiser/AR... URLs.

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

Only ads shown in this country. 'anywhere' = all regions.

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

Ad format filter, same as Google's UI. Note Google's 'text' bucket also contains some image-rendered ads.

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

You are charged per ad returned, so this caps your cost.

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

A name like 'Nike' matches several legal entities. 1 = best match (exact name, then most ads).

## `newAdsLastDays` (type: `integer`):

0 = off. E.g. 1 with a daily schedule = alerts for ads launched since yesterday. You pay only for the new ads returned; older ads that are still running are skipped for free.

## `onlyNewSince` (type: `string`):

ISO date, e.g. 2026-11-01. Keeps ads LAST shown on/after this date (still running or recently running), including old ones. For newly launched ads use 'Only NEW ads' instead.

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

Requests go direct first; the proxy is used only for retries if Google rate-limits or blocks the request.

## Actor input object example

```json
{
  "queries": [
    "nike.com"
  ],
  "region": "anywhere",
  "format": "all",
  "maxAdsPerAdvertiser": 200,
  "maxAdvertisersPerQuery": 1,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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 = {
    "queries": [
        "nike.com"
    ]
};

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

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

```

## MCP server setup

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