# Google Ads Scraper (`icoe-man/google-ads-scraper`) Actor

A google ads transparency scraper: collect the public ads of an advertiser from the Google Ads Transparency Center, find advertisers by keyword, or read a single ad. Export JSON, CSV or Excel.

- **URL**: https://apify.com/icoe-man/google-ads-scraper.md
- **Developed by:** [Icoe Man](https://apify.com/icoe-man) (community)
- **Categories:** Marketing
- **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.
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 Scraper

Get a downloadable table of public records from the Google Ads Transparency Center for your research or to use in other tools. Start with a company in Advertiser ads or a keyword in Find advertisers. If you already have an ad link, paste it into Single ad to get the details.

### What you get

Under **What to collect**, choose the type of results you want. Fill in the fields for that choice, then start the run. Each run returns one kind of result. The Actor ignores fields from other modes. Use full web addresses. If you have a short link, open it and copy the full address from your browser's address bar. Choose **Live** under **Data freshness** to collect fresh data on every run.

### Collection modes

#### Advertiser ads

Get an advertiser's public ads from the Ads Transparency Center, with filters for country, date range and ad format and an option to collect only political ads. In `adlibrary-company` mode, fill in **Advertisers** (up to 100 entries), and **Country** (optional), **Shown from** (optional), **Shown until** (optional), **Ad format** (optional), **Political ads only** (optional). Use **Result limit per target** to set how many ads the Actor can collect per entry. The default is 50 and the highest setting is 1000. Each ad appears in its own row and counts as one **Advertiser ads result** charge.

Example result for one ad:

```json
{
  "status": "ok",
  "type": "ad",
  "platform": "google",
  "id": "CR03393412669401726977",
  "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR03393412669401726977",
  "advertiser": {
    "id": "AR16735076323512287233",
    "name": "Nike, Inc."
  },
  "startedAt": "2022-11-30T14:50:31Z",
  "endedAt": "2026-11-12T02:51:03Z",
  "media": [
    {
      "kind": "image",
      "url": "https://tpc.googlesyndication.com/archive/simgad/10356475061883143766",
      "thumbnailUrl": null,
      "durationSec": null,
      "width": null,
      "height": null
    }
  ],
  "details": {
    "google": {
      "format": "text"
    }
  },
  "collectedAt": "2026-11-11T12:00:00Z",
  "input": {
    "advertiser": "AR16735076323512287233",
    "maxItems": 10
  }
}
```

#### Find advertisers

Find advertisers by keyword in the Ads Transparency Center and, if needed, limit your search to one country. In `adlibrary-advertisers` mode, fill in **Keywords** (up to 100 entries), and **Advertiser country** (optional). Use **Result limit per target** to set how many profiles the Actor can collect per entry. The default is 20 and the highest setting is 100. Each profile appears in its own row and counts as one **Find advertisers result** charge.

Example result for one profile:

```json
{
  "status": "ok",
  "type": "profile",
  "platform": "google",
  "id": "AR16735076323512287233",
  "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233",
  "displayName": "Nike, Inc.",
  "details": {
    "google": {
      "region": "US",
      "adsCount": 1200
    }
  },
  "collectedAt": "2026-11-11T12:00:00Z",
  "input": {
    "keyword": "nike",
    "maxItems": 10
  }
}
```

#### Single ad

Get the ad's text, format, landing page and all versions, along with run dates and estimated views by country and, for political ads, spending and targeting details. In `adlibrary-ad` mode, fill in **Ad links** (up to 100 entries). You get one ad per entry. Each ad appears in its own row and counts as one **Single ad result** charge.

Example result for one ad:

```json
{
  "status": "ok",
  "type": "ad",
  "platform": "google",
  "id": "CR03393412669401726977",
  "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR03393412669401726977",
  "advertiser": {
    "id": "AR16735076323512287233"
  },
  "text": "An example ad headline and description, shown for illustration.",
  "landingUrl": null,
  "startedAt": null,
  "endedAt": "2026-11-12T02:51:03Z",
  "media": [
    {
      "kind": "image",
      "url": "https://tpc.googlesyndication.com/archive/simgad/10356475061883143766",
      "thumbnailUrl": null,
      "durationSec": null,
      "width": null,
      "height": null
    }
  ],
  "details": {
    "google": {
      "format": "text",
      "impressionsMin": null,
      "impressionsMax": null,
      "regions": [
        "US"
      ],
      "regionStats": [
        {
          "code": "US",
          "name": "United States",
          "firstShownAt": "2026-10-25T00:00:00Z",
          "lastShownAt": "2026-11-11T00:00:00Z",
          "impressionsMin": null,
          "impressionsMax": 1000,
          "surfaces": [
            {
              "surface": "search",
              "impressionsMin": null,
              "impressionsMax": 1000
            }
          ]
        }
      ],
      "versions": [
        {
          "headline": "An example headline",
          "description": "An example description, shown for illustration.",
          "text": "An example ad headline and description, shown for illustration.",
          "landingUrl": "https://www.example.com/",
          "imageUrl": null,
          "videoUrl": null
        }
      ],
      "spend": {
        "currency": "USD",
        "min": 1000,
        "max": 2000
      },
      "targeting": {
        "ages": [
          "25-34"
        ],
        "genders": [
          "female"
        ],
        "places": {
          "included": [
            {
              "name": "Example Region",
              "fullName": "Example Region, Example Country",
              "countryCodes": [
                "US"
              ]
            }
          ],
          "excluded": []
        }
      }
    }
  },
  "collectedAt": "2026-11-11T12:00:00Z",
  "input": {
    "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR03393412669401726977",
    "maxItems": 1
  }
}
```

### Ways to use the data

- Ad research: See what a company advertised and when its ads ran.
- Market research: Search by brand name or another keyword to see which advertisers match.
- Creative research: Compare a brand's ad messages and formats side by side.
- Reporting: Save an ad's text, run dates and landing page for your report.

### What to enter

| Field key | Name on the form | What to enter |
| --- | --- | --- |
| `mode` | What to collect | Choose one type of result per run, then fill in the fields for that choice. |
| `advertisers` | Advertisers | Enter the company's website domain, the full link to its advertiser page, or its Ads Transparency Center ID, such as AR16735076323512287233. |
| `country` | Country | To get only ads shown in one country, enter its two-letter code, such as US. Leave blank for all countries. |
| `startDate` | Shown from | Enter a date in UTC, such as 2026-10-01, to include ads shown that day or later. A date range more than about a year in the past returns no ads. |
| `endDate` | Shown until | Enter a date in UTC, such as 2026-10-31, to include only ads shown that day or earlier. |
| `format` | Ad format | Choose text, image or video. Leave blank to collect all formats. |
| `politicalOnly` | Political ads only | Turn this on to collect only political ads. Fill in Country as well. |
| `keywords` | Keywords | Enter a search term, such as Nike, to find matching advertisers. |
| `advertiserCountry` | Advertiser country | To search for advertisers in one country only, enter its two-letter code, such as GB. |
| `adUrls` | Ad links | Paste the full Ads Transparency Center link for each ad. Example: https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR03393412669401726977 |
| `maxItems` | Result limit per target | Set the most results to collect from each target, up to the mode's maximum. Leave this blank to use the mode's default limit. The limit you set doesn't apply to these modes, which return one result per target: Single ad. |
| `freshness` | Data freshness | Standard can return results faster when recently collected data is available. Choose Live to collect fresh data on every run. |

Example input:

```json
{
  "mode": "adlibrary-company",
  "advertisers": [
    "AR16735076323512287233"
  ],
  "maxItems": 10,
  "freshness": "standard"
}
```

### Your results

Each mode has its own view of the results table. See **Collection modes** for what each mode returns.

Every row has a `status` field. For each entry that fails, the Actor returns one row with `status: "error"`. The `error` field has a `code` and a `message`. If a required field for your mode is blank, the run returns one error row and collects no data.

### Pricing

You pay per result. Prices for each Apify plan are in USD per 1,000 results.

| What you pay for | Free | Bronze | Silver | Gold | Platinum | Diamond |
| --- | --- | --- | --- | --- | --- | --- |
| Single ad result | $5.096 | $3.775 | $3.775 | $3.775 | $3.775 | $3.775 |
| Find advertisers result | $2.531 | $1.875 | $1.606 | $1.425 | $1.425 | $1.425 |
| Advertiser ads result | $2.531 | $1.875 | $1.606 | $1.425 | $1.425 | $1.425 |

You don't pay for errors or empty results. The run stops when it reaches your spending limit.

On the free plan, you can collect up to 10 results per run and make up to 20 runs per day.

### Common questions

#### What do I get with each mode?

Advertiser ads gives you public ad links, formats and dates. Filter by country, date range or format, or collect only political ads. Find advertisers shows each keyword match with its region and ad count. Single ad gives you the ad's text, landing page and versions. It also shows dates and estimated view ranges by country and, when listed, where on Google the ad ran.

#### Can I collect political ads, and what details do I get?

Yes. In Advertiser ads, turn on Political ads only and fill in Country. For a political ad, Single ad shows the spending range and currency. It also shows the age groups, genders and places the advertiser targeted, plus any places they excluded. The results don't identify anyone who saw the ad.

#### What can I enter in Advertisers?

In Advertisers, you can enter the company's website domain, the full link to its advertiser page, or its Ads Transparency Center ID.

#### Do I need a Google account to collect ads?

No. The Actor collects public information. You don't need to sign in to Google or share browser cookies.

#### How do I limit my results, and what do I pay for?

Set Result limit per target to choose how many results to collect for each entry. You pay for each result you get. Errors and empty results are free. The run stops if it reaches your spending limit.

#### Is this tool affiliated with Google?

No. This tool is independent. Google has no affiliation with it and does not endorse or sponsor it. It collects only public information from the Google Ads Transparency Center.

### Disclaimer

This Actor is not affiliated with, endorsed by, or sponsored by Google. All trademarks belong to their owners.

# Actor input Schema

## `mode` (type: `string`):

Choose one type of result per run, then fill in the fields for that choice.

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

Enter the company's website domain, the full link to its advertiser page, or its Ads Transparency Center ID, such as AR16735076323512287233.

## `country` (type: `string`):

To get only ads shown in one country, enter its two-letter code, such as US. Leave blank for all countries.

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

Enter a date in UTC, such as 2026-10-01, to include ads shown that day or later. A date range more than about a year in the past returns no ads.

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

Enter a date in UTC, such as 2026-10-31, to include only ads shown that day or earlier.

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

Choose text, image or video. Leave blank to collect all formats.

## `politicalOnly` (type: `string`):

Turn this on to collect only political ads. Fill in Country as well.

## `keywords` (type: `array`):

Enter a search term, such as Nike, to find matching advertisers.

## `advertiserCountry` (type: `string`):

To search for advertisers in one country only, enter its two-letter code, such as GB.

## `adUrls` (type: `array`):

Paste the full Ads Transparency Center link for each ad. Example: https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR03393412669401726977

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

Set the most results to collect from each target, up to the mode's maximum. Leave this blank to use the mode's default limit. The limit you set doesn't apply to these modes, which return one result per target: Single ad.

## `freshness` (type: `string`):

Standard can return results faster when recently collected data is available. Choose Live to collect fresh data on every run.

## Actor input object example

```json
{
  "mode": "adlibrary-company",
  "advertisers": [
    "AR16735076323512287233"
  ],
  "keywords": [
    "nike"
  ],
  "adUrls": [
    "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR03393412669401726977"
  ],
  "maxItems": 10,
  "freshness": "standard"
}
```

# Actor output Schema

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

See everything this run collected in one table.

# 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 = {
    "mode": "adlibrary-company",
    "advertisers": [
        "AR16735076323512287233"
    ],
    "keywords": [
        "nike"
    ],
    "adUrls": [
        "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR03393412669401726977"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("icoe-man/google-ads-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 = {
    "mode": "adlibrary-company",
    "advertisers": ["AR16735076323512287233"],
    "keywords": ["nike"],
    "adUrls": ["https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR03393412669401726977"],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("icoe-man/google-ads-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 '{
  "mode": "adlibrary-company",
  "advertisers": [
    "AR16735076323512287233"
  ],
  "keywords": [
    "nike"
  ],
  "adUrls": [
    "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR03393412669401726977"
  ],
  "maxItems": 10
}' |
apify call icoe-man/google-ads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,icoe-man/google-ads-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/m9YLcBExihrwKeQvA/builds/5YIL4uhBCanUjiza7/openapi.json
