# Google Ads Library API - Ad Transparency Scraper (`dev00/google-ads-library-api-ad-transparency-scraper`) Actor

Search and retrieve ads from the Google Ads Transparency Center by keywords, advertiser, domain, platform, and format.

- **URL**: https://apify.com/dev00/google-ads-library-api-ad-transparency-scraper.md
- **Developed by:** [dev00](https://apify.com/dev00) (community)
- **Categories:** Other
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 successful searches

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google Ads Library Scraper (GAds Transparency Scraper)

Google Ads Library Scraper is an enterprise-grade, high-performance web scraper and ad intelligence tool designed to programmatically extract active ad creatives and advertiser details from the **Google Ads Transparency Center** (also known as the **Google Ads Library** or **Google Ads Transparency Library**).

This actor allows you to search the Google Ads database, run competitor ad monitoring, and download creative asset preview links across Search, YouTube, Google Maps, Google Play Store, and Google Shopping.

***

### 🏷️ Keywords:

`google ads transparency center api`, `google ads library scraper`, `google ads transparency scraper`, `google advertiser lookup`, `competitor ads tracker`, `search google ads database`, `youtube ads scraper`, `google play store ads api`, `ad intelligence scraper`, `google maps ads finder`, `google shopping scraper`, `scrape google ad transparency center`, `competitor ad analysis api`, `ad creative library scraper`.

***

### 🚀 Main Features

- 🤖 **Advertiser Keyword Search:** Search by brand name, company, or keyword to retrieve advertiser IDs, verified legal names, and origin countries.
- 🔎 **Competitor Ads lookup:** Retrieve detailed active ad listings for any advertiser ID or domain filter (e.g. `pinterest.com`).
- 📦 **Ad Creative Downloader:** Get clean, direct media asset preview URLs (stripping raw image HTML tags automatically).
- 🌐 **Full Country Targeting:** Access targeted advertising campaigns across 200+ countries with our comprehensive, sorted country selector.
- 📅 **Date Selector Pickers:** Filter creatives by start and end dates using interactive calendar datepickers.
- 🔄 **Pagination Ready:** Output results include the `next_page_token` inside each creative row to allow seamless iteration over large ad databases.

***

### 🔧 Input Parameters

| Field | Type | Description | Default / Editor |
|---|---|---|---|
| `action` | string | Selected action: `search-advertisers`, `get-advertiser`, `search-creatives`, `get-creative` | `search-advertisers` |
| `query` | string | Keyword query for advertisers search | `pinterest` (text field) |
| `advertiser_id` | string | Advertiser unique ID | `AR09054733341433004033` (text field) |
| `creative_id` | string | Creative unique ID | `CR02586070117536235521` (text field) |
| `country` | string | Target country filter | Alphabetical sorted country dropdown |
| `format` | string | Ad format (text, image, video, all) | Dropdown selection |
| `platform` | string | Google platform filter (YouTube, play, maps, shopping, all) | Dropdown selection |
| `start_date` | string | Filter ads seen after this date | Interactive datepicker calendar |
| `end_date` | string | Filter ads seen before this date | Interactive datepicker calendar |
| `next_page_token` | string | Next page token for pagination | Text field |

##### **Example Input JSON:**

```json
{
  "action": "search-creatives",
  "advertiser_id": "AR09054733341433004033",
  "country": "US"
}
```

***

### 📊 Output Dataset Example

```json
[
  {
    "advertiser_id": "AR09054733341433004033",
    "creative_id": "CR14199522047943507969",
    "format": "text",
    "first_seen": "2026-05-08T00:43:15.000Z",
    "last_seen": "2026-07-09T05:58:06.000Z",
    "advertiser_name": "Pinterest Inc",
    "preview_url": "https://tpc.googlesyndication.com/archive/simgad/11202280674438326600",
    "preview_html": null,
    "next_page_token": "CgoAP7zmp2PGIjzzEhBo7BAJEUV1ulzbwMMAAAAAGgn8+HCx+OKewJU="
  }
]
```

# Actor input Schema

## `action` (type: `string`):

Select the action you wish to perform.

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

Enter the advertiser keyword to search for (e.g. pinterest). Only used for Search Advertisers.

## `advertiser_id` (type: `string`):

Enter the advertiser unique ID (e.g. AR09054733341433004033).

## `creative_id` (type: `string`):

Enter the creative unique ID (e.g. CR02586070117536235521). Only used for Get Creative Details.

## `domain` (type: `string`):

Enter a domain to filter creatives (e.g. pinterest.com).

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

Select the target country / region filter.

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

Filter ads by format.

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

Filter ads by displaying platform.

## `start_date` (type: `string`):

Filter ads seen after this date.

## `end_date` (type: `string`):

Filter ads seen before this date.

## `next_page_token` (type: `string`):

Enter the page token for pagination.

## Actor input object example

```json
{
  "action": "search-advertisers",
  "query": "pinterest",
  "advertiser_id": "AR09054733341433004033",
  "creative_id": "CR02586070117536235521",
  "country": "anywhere",
  "format": "all",
  "platform": "all"
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dev00/google-ads-library-api-ad-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dev00/google-ads-library-api-ad-transparency-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call dev00/google-ads-library-api-ad-transparency-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=dev00/google-ads-library-api-ad-transparency-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/EmG4Jyi5SDKO0SuyT/builds/X8UyoH4gULAEqLJ36/openapi.json
