# Ad Library All-in-One – Google, TikTok & LinkedIn Ads (`expensive_marquess/ad-library-all-in-one`) Actor

Get a brand's ads from the Google Ads Transparency Center, TikTok Ad Library and LinkedIn Ad Library in one run, in one unified format: ad text, images, videos, landing pages, dates, impressions and countries. No login.

- **URL**: https://apify.com/expensive_marquess/ad-library-all-in-one.md
- **Developed by:** [Shaig](https://apify.com/expensive_marquess) (community)
- **Categories:** Social media, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## Ad Library All-in-One – Google, TikTok & LinkedIn Ads in One Format

![Ad Library All-in-One](https://api.apify.com/v2/key-value-stores/zJcuVPqbUFf5yLBhI/records/banner-ad-library-all-in-one)

Get **all of a brand's ads from three official ad libraries in one run** – the **Google Ads Transparency Center** (Search, Shopping, YouTube, Display, Maps), the **TikTok Ad Library** and the **LinkedIn Ad Library** – with every ad in **one unified format**. No more running three scrapers and stitching three different spreadsheets together.

No logins, cookies or API keys.

### Why all-in-one?

- 🧮 **One format for three platforms** – sort and compare a brand's Google, TikTok and LinkedIn ads in one table.
- ⏱️ **One run instead of three** – no stitching spreadsheets together.
- 🎯 **Exact accounts when you need them** – optional `tiktok:` and `linkedin:` overrides for ambiguous brand names; unrelated LinkedIn advertisers are filtered out and not charged.

### Why one format matters

Every ad comes back with the same fields, whatever the platform:

| Field | Description |
|---|---|
| `platform` | `google`, `tiktok` or `linkedin` |
| `brand` | The brand you entered |
| `advertiserName`, `advertiserId` | The advertiser account |
| `format` | Text, image, video, carousel, document… |
| `adText`, `headline` | The ad copy |
| `imageUrls`, `videoUrls` | Creatives (YouTube links for Google video ads) |
| `landingPageUrl` | Where the ad sends people (TikTok, LinkedIn) |
| `firstShown`, `lastShown`, `daysRunning` | How long the ad has run – long-running ads are the winners |
| `impressions` | Impression range (TikTok, LinkedIn – EU ads) |
| `countries` | Where the ad was shown / targeted |
| `adLibraryUrl` | Link to the ad in the official library |
| `platformData` | Everything else the platform publishes (targeting, payer, impressions by age/gender, variations…) |

So you can sort all of a competitor's ads by `daysRunning`, filter by country, or feed them straight into a dashboard or an AI analysis.

### Input

```json
{
  "brands": ["Nike | nike.com", "HubSpot | hubspot.com"],
  "platforms": ["google", "tiktok", "linkedin"],
  "countries": ["DE"],
  "dateFrom": "2026-07-01",
  "maxAdsPerPlatform": 100,
  "includeDetails": true
}
```

**Brand format:** `Name | domain.com`. The domain gives the most complete Google results (it covers every Google advertiser account that advertises that site). The name is used for TikTok and LinkedIn.

**Exact accounts (optional):** add `tiktok:<exact advertiser name>` and/or `linkedin:<company page URL>` when the brand name is ambiguous:

```
Nike | nike.com | tiktok:NIKE Retail B.V. | linkedin:https://www.linkedin.com/company/2029
```

Without a LinkedIn company URL, LinkedIn results are limited to advertisers whose name contains the brand name.

### Coverage notes

- **TikTok** publishes ads shown in the EU/EEA, Switzerland, the UK and Turkey only.
- **LinkedIn** shows run dates, impressions and targeting only for ads that ran in the EU.
- **Google** filters by country when exactly one country is selected; otherwise all regions are returned with the countries each ad ran in.
- Media URLs from TikTok and LinkedIn are signed and expire – download them soon after the run.

### Pricing

Pay per ad saved, plus a small extra per ad when details are on – see the **Pricing** tab. Set **Maximum cost per run** to cap spending.

**Something missing or broken?** Open an issue in the **Issues** tab – I usually reply within a day.

⭐ **If this saved you time, please [leave a review](https://apify.com/expensive_marquess/ad-library-all-in-one/reviews) – it really helps!**

### More tools from this developer

- [YouTube Channel Email Finder – creator emails & socials by niche](https://apify.com/expensive_marquess/youtube-channel-email-finder)
- [Telegram Channel Scraper – messages, views, reactions, no login](https://apify.com/expensive_marquess/telegram-channel-scraper)
- [Google Ads Transparency Scraper – every Google ad of any advertiser](https://apify.com/expensive_marquess/google-ads-transparency-scraper)
- [TikTok Ads Library Scraper – ads with targeting & impressions](https://apify.com/expensive_marquess/tiktok-ads-library-scraper)
- [LinkedIn Ad Library Scraper – B2B ads, payers & targeting](https://apify.com/expensive_marquess/linkedin-ad-library-scraper)

# Actor input Schema

## `brands` (type: `array`):

Brand name, optionally with its website: 'Nike | nike.com'. The domain gives the most complete Google results; the name is used for TikTok and LinkedIn.

## `platforms` (type: `array`):

Ad libraries to search.

## `countries` (type: `array`):

Only ads shown in these countries. Google uses the country when exactly one is selected; TikTok only covers Europe and Turkey.

## `dateFrom` (type: `string`):

Shown from.

## `dateTo` (type: `string`):

Shown until.

## `maxAdsPerPlatform` (type: `integer`):

0 = all available.

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

Landing pages, targeting, impressions by country, payer and full text where the platform publishes them. Slower.

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

Proxy settings. The default Apify Proxy works for most runs.

## Actor input object example

```json
{
  "brands": [
    "Nike | nike.com",
    "HubSpot | hubspot.com"
  ],
  "platforms": [
    "google",
    "tiktok",
    "linkedin"
  ],
  "countries": [
    "ALL"
  ],
  "maxAdsPerPlatform": 20,
  "includeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `ads` (type: `string`):

No description

## `allResults` (type: `string`):

No description

# 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 = {
    "brands": [
        "Nike | nike.com"
    ],
    "maxAdsPerPlatform": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("expensive_marquess/ad-library-all-in-one").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 = {
    "brands": ["Nike | nike.com"],
    "maxAdsPerPlatform": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("expensive_marquess/ad-library-all-in-one").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 '{
  "brands": [
    "Nike | nike.com"
  ],
  "maxAdsPerPlatform": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call expensive_marquess/ad-library-all-in-one --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,expensive_marquess/ad-library-all-in-one"
        }
    }
}
```

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/VjqzTv3f94h7BdTAK/builds/vvJGU3a5Pe451SfuF/openapi.json
