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

Look up any company's Google ads in seconds. Enter a website domain, brand name, or advertiser ID — or a bulk list — to export active and past Search, YouTube, Shopping, and Display ads with run dates, impressions, and targeting. No Google Ads account or API key needed.

- **URL**: https://apify.com/obicodes/google-ads-transparency.md
- **Developed by:** [Obicodes](https://apify.com/obicodes) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 2 monthly users, 96.3% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.80 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

See every Google ad your competitors are running — across Google Search, YouTube, Google Shopping, Google Maps, and the Display Network — in seconds.

Just enter a website domain (like `nike.com`), a brand name, or a Google advertiser ID, or paste a full list to check dozens of companies in one run. Export clean JSON, CSV, or Excel files with no Google Ads account, no login, and no API key required.

***

### Why use this Google Ads scraper?

- **Search by domain, brand, or ID**: You don't need to hunt down advertiser IDs first — type `nike.com` or `Nike` and the scraper finds the verified advertiser automatically.
- **Built for bulk competitor research**: Check one brand or pass a full list of competitor domains in `queries` in a single run.
- **No login or API key**: Pulls public Google Ads Transparency Center data directly without needing a Google Ads account or developer token.
- **Fast mode or full breakdown**: Keep `includeDetails` on for country impressions, platform splits, and ad variations, or turn it off for high-speed creative discovery.

***

### What data do you get?

For each ad creative, the scraper saves one structured record with:

- **Advertiser details**: Verified advertiser name (`advertiserName`), advertiser ID (`AR...`), and website `domain`.
- **Ad creative & links**: `creativeId` (`CR...`), direct `adUrl` to view the ad in Google Ads Transparency Center, `format` (`TEXT`, `IMAGE`, or `VIDEO`), `imageUrl`, interactive `previewUrl`, and `youtubeVideoId` (for video ads).
- **How long the ad has been running**: `firstShownAt`, `lastShownAt`, and `daysActive` so you can spot long-running, profitable ads immediately.
- **Impressions by country & platform** *(when `includeDetails` is enabled)*: Estimated `minImpressions` and `maxImpressions` per country and per platform (`YouTube`, `Google Shopping`, `Google Play`, `Google Search`, `Google Maps`).
- **Targeting & variations** *(when `includeDetails` is enabled)*: All creative `variations` plus `targeting` flags (`demographics`, `location`, `context`).

***

### Input options

Pass a single `query`, a bulk `queries` list, or both:

| Field | Type | Default | Description |
|---|---|---|---|
| `query` | string | `"nike.com"` | A single website domain (`nike.com`), brand name (`Nike`), advertiser ID (`AR18378488041124659201`), or Google Ads Transparency link. |
| `queries` | array of strings | `[]` | Bulk list of domains, brand names, advertiser IDs, or transparency links to run in one batch. |
| `maxAdsPerQuery` | integer | `40` | Maximum ads to collect per query. Set to `0` to collect all available ads (up to 5,000). |
| `region` | string | `"ALL"` | Filter ads shown in a specific country (`US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, `IT`, `NL`, `BR`, `IN`, `JP`, `MX`, `SE`, `PL`, or `ALL`). |
| `format` | string | `"ALL"` | Filter by ad type: `ALL`, `TEXT`, `IMAGE`, or `VIDEO`. |
| `startDate` | string | — | Optional earliest date the ad was shown (`YYYY-MM-DD`). |
| `endDate` | string | — | Optional latest date the ad was shown (`YYYY-MM-DD`). |
| `includeDetails` | boolean | `true` | Fetch country impression estimates, platform breakdown, targeting flags, and creative variations for each ad. |

#### Example input (bulk competitor batch)

```json
{
  "queries": [
    "nike.com",
    "adidas.com",
    "puma.com"
  ],
  "region": "US",
  "format": "ALL",
  "maxAdsPerQuery": 50,
  "includeDetails": true
}
```

***

### Sample output

```json
{
  "query": "nike.com",
  "advertiserId": "AR18378488041124659201",
  "advertiserName": "Nike Retail BV",
  "domain": "nike.com",
  "creativeId": "CR18181969888350830593",
  "adUrl": "https://adstransparency.google.com/advertiser/AR18378488041124659201/creative/CR18181969888350830593",
  "format": "IMAGE",
  "firstShownAt": "2022-06-29T07:00:00.000Z",
  "lastShownAt": "2026-11-12T14:52:32.000Z",
  "daysActive": 648,
  "imageUrl": null,
  "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&obfuscatedCustomerId=7767127106&creativeId=453128602235&uiFeatures=12,54&adGroupId=102223310101&itemIds=6677779766785588451&sig=ACiVB_wVn1qE2dLiZMyqFJSt7LgC6ZMDRQ&htmlParentId=fletch-render-17313191439444647491&responseCallback=fletchCallback17313191439444647491",
  "youtubeVideoId": null,
  "variations": [
    {
      "imageUrl": null,
      "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&obfuscatedCustomerId=7767127106&creativeId=453128602235&uiFeatures=12&adGroupId=102223310101&itemIds=6677779766785588451&sig=ACiVB_wVn1qE2dLiZMyqFJSt7LgC6ZMDRQ&htmlParentId=fletch-render-17883766897548677007&responseCallback=fletchCallback17883766897548677007",
      "youtubeVideoId": null
    }
  ],
  "regionStats": [
    {
      "regionCode": 2056,
      "region": "2056",
      "minImpressions": 50000,
      "maxImpressions": 60000,
      "firstShown": null,
      "lastShown": "2026-11-12",
      "platforms": [
        { "platform": "Google Play", "minImpressions": 0, "maxImpressions": 1000 },
        { "platform": "YouTube", "minImpressions": 25000, "maxImpressions": 30000 },
        { "platform": "Google Shopping", "minImpressions": 0, "maxImpressions": 1000 }
      ]
    }
  ],
  "targeting": {
    "demographics": true,
    "location": true,
    "context": true
  }
}
```

***

### Common use cases

- **Competitor ad spy**: See every Google Search, YouTube, Shopping, and Display ad your competitors are running right now.
- **Find winning ads fast**: Sort results by `daysActive` — ads that stay live for months are usually the highest-performing creatives.
- **Agency client pitches**: Pull a prospect's active ad formats, creative variations, and target platforms before a sales call.
- **Brand & compliance monitoring**: Track who is running ads on your brand or regulated keywords across countries.
- **AI & spreadsheet workflows**: Export directly to CSV, Excel, Google Sheets, Make, Zapier, or feed JSON into AI agents.

***

### How to run via API

#### cURL (bulk batch)

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/obicodes~google-ads-transparency/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "queries": ["nike.com", "adidas.com"],
    "region": "US",
    "maxAdsPerQuery": 25
  }'
```

#### JavaScript (`apify-client`)

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

const client = new ApifyClient({ token: 'YOUR_TOKEN' });

const run = await client.actor('obicodes~google-ads-transparency').call({
  queries: ['nike.com', 'adidas.com'],
  region: 'US',
  maxAdsPerQuery: 25,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")

run = client.actor("obicodes~google-ads-transparency").call(
    run_input={
        "queries": ["nike.com", "adidas.com"],
        "region": "US",
        "maxAdsPerQuery": 25,
    }
)

items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items)
```

***

### FAQ

**Do I need a Google Ads account or API key?**\
No. The scraper reads public Google Ads Transparency Center data directly — no login, cookies, or Google Ads API token is needed.

**How do I find an Advertiser ID (`AR...`)?**\
You don't have to. Just enter a website domain (like `nike.com`) or brand name (like `Nike`) and the scraper resolves the verified advertiser automatically. If you already have an `AR...` ID or a Google Ads Transparency URL, you can paste that too.

**Why is `imageUrl` or `youtubeVideoId` sometimes `null`?**\
Google serves some display and dynamic ads as interactive `previewUrl` renders rather than static image files, and only `VIDEO` ads include a `youtubeVideoId`. You can always open `adUrl` to view any ad directly in Google Ads Transparency Center.

**Are impression numbers exact?**\
Google publishes impression estimates as min/max ranges (for example, `25000` to `30000`) in regions where impression disclosure applies (such as the EEA). Exact ad spend for commercial ads is not disclosed by Google.

# Actor input Schema

## `query` (type: `string`):

A single website domain (e.g. nike.com), brand name (e.g. Nike), Google advertiser ID (e.g. AR18378488041124659201), or Google Ads Transparency link.

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

List of website domains, brand names, advertiser IDs, or Google Ads Transparency links to check all at once.

## `maxAdsPerQuery` (type: `integer`):

How many ads to collect for each company or query. Set to 0 to get every available ad (up to 5,000).

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

Filter ads shown in a specific country, or leave as ALL for worldwide ads.

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

Filter by ad format: All formats, Text, Image, or Video (YouTube).

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

Optional earliest date the ad was shown (e.g. 2026-01-01).

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

Optional latest date the ad was shown (e.g. 2026-12-31).

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

Fetch full ad details for each creative, including per-country impression estimates, platform breakdown, and all creative variations.

## Actor input object example

```json
{
  "query": "nike.com",
  "maxAdsPerQuery": 40,
  "region": "ALL",
  "format": "ALL",
  "includeDetails": 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 = {
    "query": "nike.com"
};

// Run the Actor and wait for it to finish
const run = await client.actor("obicodes/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 = { "query": "nike.com" }

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

```

## MCP server setup

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