# 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, 1 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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Ads Library API - Ad Transparency Scraper",
        "description": "Search and retrieve ads from the Google Ads Transparency Center by keywords, advertiser, domain, platform, and format.",
        "version": "1.0",
        "x-build-id": "X8UyoH4gULAEqLJ36"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/dev00~google-ads-library-api-ad-transparency-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-dev00-google-ads-library-api-ad-transparency-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/dev00~google-ads-library-api-ad-transparency-scraper/runs": {
            "post": {
                "operationId": "runs-sync-dev00-google-ads-library-api-ad-transparency-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/dev00~google-ads-library-api-ad-transparency-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-dev00-google-ads-library-api-ad-transparency-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "action"
                ],
                "properties": {
                    "action": {
                        "title": "Action",
                        "enum": [
                            "search-advertisers",
                            "get-advertiser",
                            "search-creatives",
                            "get-creative"
                        ],
                        "type": "string",
                        "description": "Select the action you wish to perform.",
                        "default": "search-advertisers"
                    },
                    "query": {
                        "title": "Search Query (for Advertisers)",
                        "type": "string",
                        "description": "Enter the advertiser keyword to search for (e.g. pinterest). Only used for Search Advertisers.",
                        "default": "pinterest"
                    },
                    "advertiser_id": {
                        "title": "Advertiser ID (for Creatives / Advertiser details)",
                        "type": "string",
                        "description": "Enter the advertiser unique ID (e.g. AR09054733341433004033).",
                        "default": "AR09054733341433004033"
                    },
                    "creative_id": {
                        "title": "Creative ID (for Creative details)",
                        "type": "string",
                        "description": "Enter the creative unique ID (e.g. CR02586070117536235521). Only used for Get Creative Details.",
                        "default": "CR02586070117536235521"
                    },
                    "domain": {
                        "title": "Domain Filter (for Creatives)",
                        "type": "string",
                        "description": "Enter a domain to filter creatives (e.g. pinterest.com)."
                    },
                    "country": {
                        "title": "Target Country",
                        "enum": [
                            "anywhere",
                            "AF",
                            "AL",
                            "DZ",
                            "AS",
                            "AD",
                            "AO",
                            "AI",
                            "AQ",
                            "AG",
                            "AR",
                            "AM",
                            "AW",
                            "AU",
                            "AT",
                            "AZ",
                            "BS",
                            "BH",
                            "BD",
                            "BB",
                            "BY",
                            "BE",
                            "BZ",
                            "BJ",
                            "BM",
                            "BT",
                            "BO",
                            "BA",
                            "BW",
                            "BR",
                            "VG",
                            "BN",
                            "BG",
                            "BF",
                            "BI",
                            "KH",
                            "CM",
                            "CA",
                            "CV",
                            "KY",
                            "CF",
                            "TD",
                            "CL",
                            "CN",
                            "CX",
                            "CC",
                            "CO",
                            "KM",
                            "CG",
                            "CD",
                            "CK",
                            "CR",
                            "CI",
                            "HR",
                            "CU",
                            "CY",
                            "CZ",
                            "DK",
                            "DJ",
                            "DM",
                            "DO",
                            "EC",
                            "EG",
                            "SV",
                            "GQ",
                            "ER",
                            "EE",
                            "SZ",
                            "ET",
                            "FK",
                            "FO",
                            "FJ",
                            "FI",
                            "FR",
                            "GF",
                            "PF",
                            "GA",
                            "GM",
                            "GE",
                            "DE",
                            "GH",
                            "GI",
                            "GR",
                            "GL",
                            "GD",
                            "GP",
                            "GU",
                            "GT",
                            "GG",
                            "GN",
                            "GW",
                            "GY",
                            "HT",
                            "VA",
                            "HN",
                            "HK",
                            "HU",
                            "IS",
                            "IN",
                            "ID",
                            "IR",
                            "IQ",
                            "IE",
                            "IM",
                            "IL",
                            "IT",
                            "JM",
                            "JP",
                            "JE",
                            "JO",
                            "KZ",
                            "KE",
                            "KI",
                            "KW",
                            "KG",
                            "LA",
                            "LV",
                            "LB",
                            "LS",
                            "LR",
                            "LY",
                            "LI",
                            "LT",
                            "LU",
                            "MO",
                            "MG",
                            "MW",
                            "MY",
                            "MV",
                            "ML",
                            "MT",
                            "MH",
                            "MQ",
                            "MR",
                            "MU",
                            "YT",
                            "MX",
                            "FM",
                            "MD",
                            "MC",
                            "MN",
                            "ME",
                            "MS",
                            "MA",
                            "MZ",
                            "MM",
                            "NA",
                            "NR",
                            "NP",
                            "NL",
                            "NC",
                            "NZ",
                            "NI",
                            "NE",
                            "NG",
                            "NU",
                            "NF",
                            "KP",
                            "MK",
                            "MP",
                            "NO",
                            "OM",
                            "PK",
                            "PW",
                            "PS",
                            "PA",
                            "PG",
                            "PY",
                            "PE",
                            "PH",
                            "PN",
                            "PL",
                            "PT",
                            "PR",
                            "QA",
                            "RE",
                            "RO",
                            "RU",
                            "RW",
                            "BL",
                            "SH",
                            "KN",
                            "LC",
                            "MF",
                            "PM",
                            "VC",
                            "WS",
                            "SM",
                            "ST",
                            "SA",
                            "SN",
                            "RS",
                            "SC",
                            "SL",
                            "SG",
                            "SX",
                            "SK",
                            "SI",
                            "SB",
                            "SO",
                            "ZA",
                            "GS",
                            "KR",
                            "SS",
                            "ES",
                            "LK",
                            "SD",
                            "SR",
                            "SJ",
                            "SE",
                            "CH",
                            "SY",
                            "TW",
                            "TJ",
                            "TZ",
                            "TH",
                            "TL",
                            "TG",
                            "TK",
                            "TO",
                            "TT",
                            "TN",
                            "TR",
                            "TM",
                            "TC",
                            "TV",
                            "UG",
                            "UA",
                            "AE",
                            "GB",
                            "US",
                            "UY",
                            "UM",
                            "VI",
                            "UZ",
                            "VU",
                            "VE",
                            "VN",
                            "WF",
                            "EH",
                            "YE",
                            "ZM",
                            "ZW"
                        ],
                        "type": "string",
                        "description": "Select the target country / region filter.",
                        "default": "anywhere"
                    },
                    "format": {
                        "title": "Ad Format Filter",
                        "enum": [
                            "all",
                            "text",
                            "image",
                            "video"
                        ],
                        "type": "string",
                        "description": "Filter ads by format.",
                        "default": "all"
                    },
                    "platform": {
                        "title": "Google Platform Filter",
                        "enum": [
                            "all",
                            "play",
                            "maps",
                            "youtube",
                            "shopping"
                        ],
                        "type": "string",
                        "description": "Filter ads by displaying platform.",
                        "default": "all"
                    },
                    "start_date": {
                        "title": "Start Date",
                        "type": "string",
                        "description": "Filter ads seen after this date."
                    },
                    "end_date": {
                        "title": "End Date",
                        "type": "string",
                        "description": "Filter ads seen before this date."
                    },
                    "next_page_token": {
                        "title": "Next Page Token",
                        "type": "string",
                        "description": "Enter the page token for pagination."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
