# All Ad Libraries Search: Meta, Google, LinkedIn, Bing & more (`githubanassk/all-ad-libraries`) Actor

Search one brand across 8 public ad libraries at once: Meta, Google, LinkedIn, Snapchat, Pinterest, Microsoft Bing, X and Apple App Store. One normalized table with ad copy, media, landing pages, dates, reach, payer and targeting.

- **URL**: https://apify.com/githubanassk/all-ad-libraries.md
- **Developed by:** [anass kabil](https://apify.com/githubanassk) (community)
- **Categories:** Social media
- **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.

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

## All Ad Libraries Search: Meta, Google, LinkedIn, Bing & more

Type a brand once. Get every ad it runs across **8 public ad libraries** in one table:
Meta (Facebook, Instagram), Google (Search, YouTube, Display), LinkedIn, Snapchat, Pinterest,
Microsoft Bing, X (Twitter) and the Apple App Store.

No logins, no API keys, no eight different tools with eight different exports.

### What it is for: cross-platform competitor research

You want to know how a competitor advertises. Today that means opening the Meta Ad Library, the
Google Ads Transparency Center, the LinkedIn Ad Library, the Snapchat Ads Gallery and four more sites,
searching each one, and stitching screenshots together.

This actor does it in one run:

- **Channel mix:** see at a glance whether a brand spends on Meta, Google, LinkedIn, Snapchat or
  Bing, and how many ads it runs on each.
- **Creative and messaging:** headlines, ad copy, calls to action, images and videos side by side,
  so you can compare angles across channels.
- **Landing pages and offers:** where each ad sends traffic.
- **Timing and scale:** first and last shown dates, impressions and reach where the platform
  discloses them, and the countries each ad ran in.
- **Who pays:** the payer and beneficiary that the EU Digital Services Act requires platforms to
  publish.
- **Targeting:** age, gender, location, interest and keyword targeting where disclosed.

Good fits: agencies preparing a pitch or a competitor audit, growth and brand teams tracking rivals,
ad-intelligence and market-research tools that need one clean feed, journalists and researchers
working with DSA transparency data.

### Why these libraries are public

Under Article 39 of the EU Digital Services Act, very large online platforms must keep a public,
searchable repository of the ads they show in the EU, with the advertiser, the payer, dates, reach
and targeting. This actor reads those public repositories (and Google's and Apple's equivalents).
Coverage is therefore strongest for ads shown in the EU.

### Sample output

| platform | advertiserName | payer | headline / adText | landingUrl | firstShown | lastShown | impressions / reach | countries |
|---|---|---|---|---|---|---|---|---|
| meta | HelloFresh | HelloFresh SE | (catalog ad) | hellofresh.fr/pages/value-messaging | 2026-08-18 | 2026-09-02 | reach 21,774,451 | FR |
| meta | HelloFresh | | Get 50% off | hellofresh.co.uk/pages/resolution | 2026-08-19 | 2026-10-07 | | |
| linkedin | HelloFresh | HELLOFRESH DEUTSCHLAND SE & CO. KG | Produktlaunch-Leitfaden fuer FMCG-Marken | partner.hellofresh.de/media-kooperationen | 2026-09-08 | 2026-09-23 | < 1,000 impressions | Germany |
| snapchat | HelloFresh France | HelloFresh SE | 2 mois de chocolat offerts ! | hellofresh.fr/pages/value-messaging | 2026-04-07 | | 999,980 impressions | FR |
| microsoft | HelloFresh SE | | HelloFresh bis zu 120 EUR Rabatt - Spare bei Lebensmittelkosten | hellofresh.de/pages/cook-this-big-idea | | | | |
| apple | HelloFresh | Hellofresh GmbH | HelloFresh: Kochbox & Rezepte | apps.apple.com/app/id970107419 | 2026-11-16 | 2026-11-16 | | AT |
| pinterest | HelloFresh SE | | HelloFresh: Kochbox & Rezepte | | | | | DE |

(Real rows from a test run on 2026-11-21, shortened.)

Every row has the same columns:

| Field | Meaning |
|---|---|
| `platform` | meta, google, linkedin, snapchat, pinterest, microsoft, x, apple |
| `query` | the brand or domain you entered |
| `advertiserName`, `advertiserId` | advertiser as the platform names it |
| `payer`, `beneficiary` | who paid for the ad and who it was for (DSA disclosure) |
| `adId`, `format` | platform ad ID and format (image, video, text, carousel...) |
| `headline`, `adText`, `callToAction` | the ad copy |
| `imageUrls`, `videoUrls` | creative media links |
| `landingUrl` | where the ad sends people |
| `firstShown`, `lastShown` | dates (YYYY-MM-DD) |
| `impressionsMin/Max`, `reachMin/Max` | ranges or exact values, as disclosed |
| `countries` | countries the ad ran in (codes or names, as the platform gives them) |
| `targeting` | platform-specific targeting and per-country splits |
| `sourceUrl` | the ad in its original library |

The run also saves a **SUMMARY** record (key-value store) with the status of every platform for
every brand: `ok`, `no ads found` or `failed` with the reason. One platform being down never fails
the run; you still get and pay for the ads from the others.

### Input

```json
{
  "queries": ["HelloFresh", "booking.com"],
  "platforms": ["meta", "google", "linkedin", "snapchat"],
  "countries": ["DE", "FR"],
  "startDate": "2026-09-01",
  "maxAdsPerPlatform": 50,
  "exactAdvertiserMatch": true
}
```

- `queries`: brand names or website domains. A domain is searched by domain on Google and by its
  name (`booking.com` -> `booking`) elsewhere.
- `platforms`: leave empty for all eight.
- `countries`: two-letter EU/EEA codes; empty means the whole EU.
- `startDate`, `endDate`: optional date window.
- `maxAdsPerPlatform`: cap per brand and platform (default 50). It also caps cost.
- `exactAdvertiserMatch` (default on): keeps ads whose advertiser name contains the brand as a whole
  word, so "Nike" keeps "Nike, Inc." and drops "Nikeonis". Turn it off for keyword-style results.

### Pricing

Pay per event:

- **$0.03 per brand searched** (covers all selected platforms),
- **$0.001 per ad returned** ($1 per 1,000 ads).

A brand with 150 ads across all platforms costs $0.18. Nothing else to pay: proxies and
compute are included.

### Notes and limits

- Each platform discloses different fields. Snapchat and LinkedIn give impressions; Meta gives EU
  reach, payer and audience; Microsoft's library has copy and landing pages but no dates; X gives
  targeting, impressions and the promoted post link but not the post text.
- Platforms name advertisers differently (Temu is "Temu.France" on Pinterest, "Whaleco" on Apple).
  Name matching is word-based, so a different company with the same word in its name can appear;
  check `advertiserName`.
- X needs the brand's X handle to match its name without spaces (e.g. `SamsungMobile`).
- Pinterest only searches the last 30 days of your window and one country per request.
- Apple's library covers the last 90 days. With several countries selected, Meta and Google search
  all countries (pick one country to narrow them).
- TikTok is not included yet: its library refuses automated visitors. It will be added when a
  reliable route exists.
- Data comes from public repositories that platforms publish to meet their legal transparency
  duties. Use it in line with each platform's terms and applicable law.

Need a custom ad-intelligence feed or a new platform? Open an Issue on the actor page.

# Actor input Schema

## `queries` (type: `array`):

Advertiser names (HelloFresh, Booking.com) or website domains (hellofresh.com). Each entry is searched on every selected platform and charged once.

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

Ad libraries to search. Leave empty for all of them.

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

Optional two-letter EU/EEA country codes such as DE, FR. Empty means all of the EU (Pinterest then checks DE, FR, IT, ES and NL).

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

Optional. Only ads shown on or after this date (YYYY-MM-DD). Pinterest searches at most the last 30 days of the range.

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

Optional. Only ads shown on or before this date (YYYY-MM-DD).

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

Cap per brand and platform. You pay per ad returned, so this also caps cost.

## `exactAdvertiserMatch` (type: `boolean`):

Keep only ads whose advertiser name contains the brand as a whole word (Nike, Nike Inc., not Nikeonis). Turn off to keep everything the libraries return for the name.

## Actor input object example

```json
{
  "queries": [
    "HelloFresh"
  ],
  "maxAdsPerPlatform": 50,
  "exactAdvertiserMatch": true
}
```

# Actor output Schema

## `overview` (type: `string`):

One row per ad from every platform in the same columns.

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

Every field, including targeting, country splits and video links.

## `summary` (type: `string`):

For each brand and platform: ok, no ads found or failed, with the ad count and error.

# 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 = {
    "queries": [
        "HelloFresh"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("githubanassk/all-ad-libraries").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 = { "queries": ["HelloFresh"] }

# Run the Actor and wait for it to finish
run = client.actor("githubanassk/all-ad-libraries").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 '{
  "queries": [
    "HelloFresh"
  ]
}' |
apify call githubanassk/all-ad-libraries --silent --output-dataset

```

## MCP server setup

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

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/HRcSd5riWy1llYepg/builds/358pPwhnRLrIc6f9N/openapi.json
