# Google Ads Transparency Scraper: ads by domain or advertiser (`solumdata/google-ads-transparency`) Actor

Every ad a domain or advertiser runs on Google, from the public Ads Transparency Center: advertiser, ad type, first and last shown, preview link. Retries so runs finish.

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

## Pricing

from $3.00 / 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.

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

Get the ads Google serves for a domain or advertiser as clean rows from the public Ads Transparency Center. Search by website, advertiser name, or advertiser ID. Filter by country and cap the number of ads returned.

Google can refuse a request. This Actor makes up to five attempts and opens a fresh session after each failed request before trying again.

### What you get

| Field | Meaning |
|---|---|
| `advertiserName`, `advertiserId` | The advertiser account Google publishes for the ad |
| `creativeId` | Google's ID for the ad |
| `domain` | The website the ad points to when you search by domain |
| `adType` | `image`, `display-ad`, or `unknown` |
| `firstShown`, `lastShown` | Dates in UTC when Google provides them |
| `url` | The ad's public Transparency Center page when IDs are available |
| `previewUrl` | The image or interactive preview link when Google provides one |
| `region` | The country filter used for the run, if any |

### Run it

Give at least one domain, advertiser name, or advertiser ID.

- **Domain:** Enter a website such as `nike.com`. Google may return ads from several advertiser accounts that point to that domain.
- **Advertiser name:** Enter a company name. The Actor uses the matching account with the largest approximate ad count and lists other matches in the run log.
- **Advertiser ID:** Enter the ID from a Transparency Center URL for an exact account match.
- **Country:** Leave blank for all countries, or use one supported two-letter code.
- **Max ads:** Stop after a fixed number of delivered rows and cap the result charge.

Supported country codes: `AE`, `AR`, `AT`, `AU`, `BE`, `BR`, `CA`, `CH`, `CL`, `CO`, `CZ`, `DE`, `DK`, `ES`, `FI`, `FR`, `GB`, `GR`, `HU`, `ID`, `IE`, `IL`, `IN`, `IT`, `JP`, `KR`, `MX`, `MY`, `NL`, `NO`, `NZ`, `PH`, `PL`, `PT`, `RO`, `SE`, `SG`, `TH`, `TR`, `UA`, `US`, `VN`, and `ZA`.

### Pricing

Each run costs USD 0.005 to start, plus USD 0.003 per delivered ad.

- 10 ads: USD 0.035
- 100 ads: USD 0.305
- 1,000 ads: USD 3.005

Rows that are not delivered carry no result fee. The run-start fee still applies.

### Limits

- The Actor returns only what the public Ads Transparency Center serves while logged out.
- It does not return spend, targeting, impressions, ad copy, or video files.
- A name search is fuzzy. Use an advertiser ID when you need one exact account.
- A domain search can include resellers or unrelated advertiser accounts that point ads to that domain.
- Some rows can lack a preview link or date when Google does not provide one.
- The Actor does not log in or solve CAPTCHAs.
- Solum Data is not affiliated with Google.

# Actor input Schema

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

Websites whose ads you want, for example nike.com. Includes ads from every advertiser account pointing to the domain.

## `advertiserNames` (type: `array`):

Company names. The best match is used and the next matches are listed in the run log. For exact results use advertiser IDs.

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

IDs that look like AR16735076323512287233, from an advertiser's Transparency Center URL.

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

Two-letter code (US, GB, DE). Leave empty for all countries.

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

Stop after this many ads in total. You pay per ad.

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

Apify Proxy rotates sessions if Google rate-limits a run.

## Actor input object example

```json
{
  "domains": [
    "nike.com"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Every row of the run, as JSON.

# 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"
    ]
};

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

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

```

## MCP server setup

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