# Google Ads Transparency Center Scraper - Search, YouTube Ads (`nexuscortex/google-ads-transparency-scraper`) Actor

Google Ads Transparency Center scraper and unofficial API. Get Google Search, YouTube, Display and Shopping ads by advertiser, domain or URL without login: images, ad text, landing pages, YouTube video IDs, dates, regions and EU impressions. Export to JSON, CSV, Excel.

- **URL**: https://apify.com/nexuscortex/google-ads-transparency-scraper.md
- **Developed by:** [Nexus Cortex](https://apify.com/nexuscortex) (community)
- **Categories:** Marketing, SEO tools, Social media
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 results

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/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 & Unofficial API (No Login)

Scrape ads from the public **Google Ads Transparency Center** (adstransparency.google.com) by **advertiser name**, **advertiser ID**, **website domain** or **Transparency Center URL**. Get clean rows ready for spreadsheets: ad format, image, headline and description, display URL and landing page, YouTube video ID, first and last shown dates, number of days shown, advertiser legal name and country, and, optionally, every region the ad ran in, all variations, and the impression ranges and audience selection Google publishes for EU and political ads.

No Google account, cookies or API key needed. The Actor calls the same public endpoints the Transparency Center website uses for logged-out visitors, over plain HTTP (no browser).

Use it as a **Google ads spy tool**, a **competitor ad monitor**, a **YouTube ads scraper** or an **unofficial Google Ads Transparency API** from your code, Make, Zapier, n8n or Google Sheets.

### How to scrape the Google Ads Transparency Center

1. Click **Try for free** (or **Start**) on this page.
2. Enter advertiser names or IDs, website domains, or paste URLs copied from adstransparency.google.com.
3. Pick a region and, if you like, a platform (Search, YouTube, Shopping, Maps, Play), a format (text, image, video) and a date range.
4. Set **Maximum results** to cap the size and cost of the run, then run the Actor and download the ads as JSON, CSV or Excel, or read them through the Apify API.

### What you can do with it

- **Competitor research**: every ad a brand runs on Google, with how long each one has been running (`firstShown`, `lastShown`, `daysShown`).
- **Domain research**: `domains: ["nike.com"]` returns the ads of every advertiser account that sends traffic to that site, including agencies and resellers.
- **YouTube ads**: video ads come with their YouTube video ID and link, so you can watch or download the creative.
- **Search ad copy**: headlines, descriptions, display URLs and landing pages of text and responsive display ads that have an interactive preview.
- **EU and political ads**: impression ranges per country and per platform, and which audience criteria (demographics, locations, contextual signals) the advertiser used.

### Input

| Field | Description |
|---|---|
| `advertisers` | Advertiser names (`Nike`), advertiser IDs (`AR16735076323512287233`) or advertiser page URLs |
| `domains` | Website domains, e.g. `nike.com` |
| `startUrls` | adstransparency.google.com URLs: advertiser page, domain search or a single ad. Filters in the URL are kept |
| `region` | Two-letter country code, or `ALL` (anywhere) |
| `platform` | `ALL`, `SEARCH`, `YOUTUBE`, `SHOPPING`, `MAPS` or `PLAY` |
| `format` | `ALL`, `TEXT`, `IMAGE` or `VIDEO` |
| `dateFrom`, `dateTo` | Only ads shown in this date range (`2026-10-01` or `30 days`) |
| `includeAdText` | Read ad text, landing pages and YouTube video IDs from ad previews (default on) |
| `includeDetails` | Also load each ad's detail page: variations, regions, impressions, audience selection (default off) |
| `maxAdvertisersPerName` | How many advertiser accounts a name may match (default 3) |
| `maxItems` | Total cap on ads for the run (default 50). This is also your maximum spend |
| `maxItemsPerSource` | Cap per advertiser account or domain (default 200) |
| `proxyConfiguration` | Apify Proxy settings |

Example:

```json
{
    "advertisers": ["Gymshark"],
    "domains": ["hubspot.com"],
    "region": "US",
    "platform": "ALL",
    "format": "ALL",
    "includeAdText": true,
    "includeDetails": false,
    "maxItems": 200
}
```

### Output

One row per ad. Example (shortened):

```json
{
    "type": "ad",
    "creativeId": "CR02768666425877856257",
    "advertiserId": "AR13611357312189988865",
    "advertiserName": "HubSpot, Inc.",
    "advertiserLegalName": "HubSpot, Inc.",
    "advertiserCountry": "US",
    "domain": "hubspot.com",
    "format": "IMAGE",
    "firstShown": "2026-09-30T16:02:11.000Z",
    "lastShown": "2026-11-07T21:14:52.000Z",
    "daysShown": 38,
    "imageUrl": null,
    "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?...",
    "headline": "Free Marketing Framework Course",
    "description": "Learn the fundamentals of Loop Marketing with a free course from HubSpot.",
    "displayUrl": "academy.hubspot.com",
    "landingUrl": "https://academy.hubspot.com/lessons/loop-marketing-fundamentals-en",
    "youtubeVideoId": null,
    "adUrl": "https://adstransparency.google.com/advertiser/AR13611357312189988865/creative/CR02768666425877856257?region=US",
    "source": { "type": "domain", "value": "hubspot.com" }
}
```

Other fields: `imageWidth`, `imageHeight`, `advertiserDisplayName`, `logoUrl`, `textLines` (visible text of Shopping, local and other rendered previews), `youtubeUrl`, `searchRegion`. With `includeDetails`: `variationsCount`, `variations`, `regions` (region, first and last shown dates, impression range and per-platform impressions where published), `impressionsMin`, `impressionsMax`, `platformImpressions`, `audienceSelection`. A real sample is in `samples/output.json`.

A run summary (ads per source, the Transparency Center's estimated total for each search, failed sources) is saved to the key-value store under `SUMMARY`.

Notes:

- `format` is the Transparency Center's own format: `TEXT`, `IMAGE` or `VIDEO`. Many text ads are archived by Google only as an image of the ad; for those you get `imageUrl` but no separate headline text.
- `daysShown` is the number of days Google reports the ad as shown; `firstShown` and `lastShown` are timestamps.
- Impression ranges and audience selection are published by Google only for some regions (for example the EU) and for political ads; elsewhere they are `null`.
- Image URLs point to Google's ad archive and stay valid; preview URLs are signed and may expire.

### Pricing

Pay per result: you pay for each ad saved to the dataset; ad text and details are included. Set *Maximum results* (or your Apify max-charge limit) to cap spend; the Actor stops cleanly when the limit is reached. Ads found by several sources are returned and charged once. Each run also has Apify's standard start fee of $0.00005 ($0.05 per 1,000 runs), which covers the first seconds of compute. Apify subscribers pay less per result: 10% off on Bronze, 15% on Silver and 20% on Gold and higher plans.

### FAQ

**Do I need a Google account?** No. The Actor never logs in.

**Is there an official Google Ads Transparency API?** Google publishes political ads data through its transparency report and BigQuery, but there is no public API for commercial ads in the Transparency Center. This Actor reads the same pages any visitor can open.

**Why does a name return ads from several advertisers?** Brands often run several Google Ads accounts (per country or through agencies). The Actor uses the matching advertiser accounts the Transparency Center suggests, up to `maxAdvertisersPerName`, and logs which ones it used. Use advertiser IDs for exact control.

**Can I get the actual video file?** For YouTube video ads you get the YouTube video ID and link. Other video formats only have a preview URL.

### Limitations

- Only public data from the Transparency Center. Nothing behind a login is accessed.
- Text extraction works only for ads with an interactive preview; image-only text ads keep just their image.
- Google changes its website from time to time. If the Actor stops working, it fails with a clear error message; please report it in the Issues tab.

### Legal note

This Actor collects only information Google publishes in its public Ads Transparency Center, without logging in, and does not collect personal contact data. Independent tool, not affiliated with Google. You are responsible for using the data in line with Google's terms, copyright law (ad creatives belong to their owners) and privacy regulations.

### Feedback

Found a bug or need a field? Open an issue in the Issues tab and we will look at it. If this Actor saved you time, a short review on this page helps other users find it.

### More scrapers from NexusCortex

- [Facebook Ads Library Scraper](https://apify.com/nexuscortex/facebook-ads-library-scraper): Facebook and Instagram ads from the Meta Ad Library
- [Google Trends Scraper](https://apify.com/nexuscortex/google-trends-scraper): interest over time, by region and related queries
- [Google News Scraper](https://apify.com/nexuscortex/google-news-scraper): news articles by keyword or topic with publisher URLs
- [Threads Search Scraper](https://apify.com/nexuscortex/threads-search-scraper): Threads posts and profiles by keyword, back in time

# Actor input Schema

## `advertisers` (type: `array`):

Advertiser names (`Nike`), advertiser IDs (`AR16735076323512287233`) or advertiser page URLs. A name is matched with the Transparency Center's own advertiser search.

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

Get all ads that lead to a website, from every advertiser account, e.g. `nike.com`.

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

URLs copied from adstransparency.google.com: an advertiser page, a domain search or a single ad. Filters in the URL (region, format, platform, dates) are kept.

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

Country where the ads were shown. `Anywhere` searches all regions.

## `platform` (type: `string`):

Only ads shown on this Google platform.

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

Only text, image or video ads.

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

Only ads shown on or after this date: `2026-10-01` or a relative age such as `30 days`.

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

Only ads shown on or before this date, e.g. `2026-11-01`.

## `includeAdText` (type: `boolean`):

For ads with an interactive preview, read the headline, description, display URL and landing page, the visible text of Shopping and local ads, and the YouTube video ID of video ads. Text ads that Google stores only as an image keep just their image.

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

Also load each ad's detail page: all variations, every region it ran in with first and last shown dates, and, where Google publishes them (EU and political ads), impression ranges per region and platform and the audience selection. Makes the run slower.

## `maxAdvertisersPerName` (type: `integer`):

A name can match several advertiser accounts (for example a brand's US and UK accounts). Use up to this many matches per name.

## `maxItems` (type: `integer`):

Hard cap on the number of ads saved and charged in this run.

## `maxItemsPerSource` (type: `integer`):

Stop paging an advertiser account or domain after this many ads.

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

Apify Proxy is recommended. If you see blocking errors in the log, switch to the Residential proxy group.

## Actor input object example

```json
{
  "domains": [
    "nike.com"
  ],
  "region": "US",
  "platform": "ALL",
  "format": "ALL",
  "includeAdText": true,
  "includeDetails": false,
  "maxAdvertisersPerName": 3,
  "maxItems": 50,
  "maxItemsPerSource": 200,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped ads in the default dataset.

# 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": "US",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nexuscortex/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": "US",
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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