# Google Ads Transparency Scraper - Advertiser Ads Library (`pink_comic/google-ads-transparency-scraper`) Actor

Scrape Google Ads Transparency Center: every ad by advertiser or domain with format, first/last shown dates, images, video/text previews and regions. No login.

- **URL**: https://apify.com/pink_comic/google-ads-transparency-scraper.md
- **Developed by:** [Ava Torres](https://apify.com/pink_comic) (community)
- **Categories:** Marketing, SEO tools, 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 ads

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 Scraper - Advertiser Ads Library

Scrape the **Google Ads Transparency Center** (adstransparency.google.com): every Search, Display, YouTube and Shopping ad an advertiser runs, with **format, first and last shown dates, ad image or preview URL, landing domain and the regions it served in**. Search by **advertiser name, website domain, advertiser ID or Transparency Center URL**. No login, no browser, no Google account.

### What you get

- **Search any way**: by domain (`nike.com`, every ad pointing to that site), by advertiser name (`Shopify`, matched to the verified advertiser with the most ads), by advertiser ID (`AR...`) or by pasting Transparency Center URLs.
- **Filters**: region (US, GB, DE, FR, IN, BR, JP... or `anywhere`), format (text, image, video) and "last shown on or after" date.
- **Ad rows**: advertiser ID and verified name, creative ID, format, image URL or Google preview URL, first shown, last shown, Transparency Center link.
- **Optional details**: all ad variations and every region the ad served in with its last-shown date.
- **Fast and cheap**: pure API requests, hundreds of ads per minute. **$0.001 per ad + $0.002 per run**, details included at no extra charge.

### Use cases

- **Competitor ad research**: see every creative a competitor is running on Google right now and how long each has been live.
- **Agencies and media buyers**: build swipe files of long-running (= profitable) Google ads by niche.
- **Lead generation**: find businesses that actively spend on Google Ads, by domain list.
- **Brand protection and compliance**: monitor who advertises on your brand domain or in which regions.
- **AI agents and market intelligence**: feed live ad data into dashboards and LLM workflows.

### Input examples

Default (all US ads that point to nike.com):

```json
{ "searchQueries": ["nike.com"], "region": "US", "maxResults": 100 }
```

Video ads for Shopify in any region, with variations and regions served:

```json
{ "searchQueries": ["Shopify"], "region": "anywhere", "format": "video", "includeDetails": true, "maxResults": 200 }
```

Several competitors, ads still running since 1 November, UK:

```json
{ "searchQueries": ["hubspot.com", "salesforce.com", "monday.com"], "region": "GB", "lastShownAfter": "2026-11-01", "maxAdsPerAdvertiser": 100, "maxResults": 300 }
```

Known advertiser ID:

```json
{ "advertiserIds": ["AR16735076323512287233"], "maxResults": 50 }
```

### Sample output

```json
{
  "adUrl": "https://adstransparency.google.com/advertiser/AR01625195283841286145/creative/CR13715038604399476737?region=anywhere",
  "advertiserAdsEstimate": "70000-80000",
  "advertiserCountry": "CA",
  "advertiserId": "AR01625195283841286145",
  "advertiserName": "Shopify Inc.",
  "advertiserUrl": "https://adstransparency.google.com/advertiser/AR01625195283841286145",
  "creativeId": "CR13715038604399476737",
  "domain": "",
  "firstShown": "2026-09-08T21:04:48Z",
  "format": "VIDEO",
  "imageUrl": "",
  "lastShown": "2026-11-18T17:37:49Z",
  "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&obfuscatedCustomerId=5580012615&creativeId=823244738043&uiFeatures=12,54&adGroupId=19912163515…",
  "region": "anywhere",
  "regionsServed": [
    {
      "lastShown": "2026-11-18",
      "region": "2498"
    },
    {
      "lastShown": "2026-11-18",
      "region": "EE"
    }
  ],
  "scrapedAt": "2026-11-18T18:00:07Z",
  "searchQuery": "Shopify",
  "searchType": "advertiser",
  "searchValue": "AR01625195283841286145",
  "variationCount": 6,
  "variations": [
    {
      "imageUrl": "",
      "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&obfuscatedCustomerId=5580012615&creativeId=823244738043&uiFeatures=12&adGroupId=199121635159&a…"
    },
    {
      "imageUrl": "",
      "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&obfuscatedCustomerId=5580012615&creativeId=823244738043&uiFeatures=12&adGroupId=199121635159&a…"
    }
  ]
}
```

### FAQ

**Which ads are included?** Everything Google publishes in the Ads Transparency Center for verified advertisers: Search (text), Display/Discover (image), YouTube (video) and Shopping ads.

**Domain or advertiser name - which should I use?** Domain searches return ads whose landing page is that domain, across all advertisers (resellers and agencies included). Name searches return all ads of the verified advertiser account with the best match. Increase *Advertisers per name* to include more matching accounts.

**Why is there a preview URL instead of ad text?** Google renders text and video ads with a preview script; open the `previewUrl` (or `adUrl`) to see the rendered ad. Image ads include a direct `imageUrl`.

**How far back does it go?** Google keeps ads from the last several years; `firstShown` and `lastShown` tell you each ad's active window.

**Do I need a proxy or login?** No.

# Actor input Schema

## `searchQueries` (type: `array`):

Advertiser names (e.g. 'Nike', 'Shopify') or website domains (e.g. 'nike.com', 'hubspot.com'). Domains return ads that point to that site; names are matched to the best advertiser.

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

Optional Transparency Center advertiser IDs (AR...), e.g. AR16735076323512287233.

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

Optional adstransparency.google.com advertiser or ?domain= URLs.

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

Two-letter country code where the ads were shown (US, GB, DE, FR, CA, AU, IN, BR, JP...) or 'anywhere' for all regions.

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

Only return ads of this format.

## `lastShownAfter` (type: `string`):

Optional YYYY-MM-DD. Keep only ads that were still running on or after this date.

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

For advertiser-name queries: how many matching advertisers to scrape (sorted by ad volume).

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

Cap per target. 0 = share Max results.

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

Also fetch every ad's variations (all image / preview URLs) and the list of regions it served in with last-shown dates. Same price, slower.

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

Maximum ads in total. Default 100 = about $0.10.

## Actor input object example

```json
{
  "searchQueries": [
    "nike.com"
  ],
  "region": "US",
  "format": "any",
  "maxAdvertisersPerQuery": 1,
  "maxAdsPerAdvertiser": 0,
  "includeDetails": false,
  "maxResults": 100
}
```

# Actor output Schema

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

All records from this run in the default dataset, shown with the Overview table view.

# 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 = {
    "searchQueries": [
        "nike.com"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("pink_comic/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 = {
    "searchQueries": ["nike.com"],
    "maxResults": 100,
}

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

```

## MCP server setup

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