# Competitor Ads Scraper $0.75/1K Ads: Facebook, Google, TikTok (`zaiq/competitor-ads-scraper`) Actor

One row per ad from the Facebook & Instagram (Meta), Google, TikTok and LinkedIn ad libraries: advertiser, ad text, headline, call to action, landing page, images, videos, first and last shown, days running, active or not, countries, EU impressions and reach. $0.75 per 1,000 ads.

- **URL**: https://apify.com/zaiq/competitor-ads-scraper.md
- **Developed by:** [Zaiq](https://apify.com/zaiq) (community)
- **Categories:** Marketing, Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 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

## Competitor Ads Scraper: a brand's ads on Facebook, Instagram, Google, YouTube, TikTok and LinkedIn in one run

Get **every ad a competitor runs, from all four public ad libraries at once**: **Meta's Ad Library** (Facebook, Instagram, Messenger, Threads, Audience Network), **Google's Ads Transparency Center** (Search, YouTube, Display, Shopping, Maps), **TikTok's Ad Library** and **LinkedIn's Ad Library**. Give a **brand name**, a **website** or a **library link**; the Actor finds that advertiser in each library and returns **one row per ad in one schema**: advertiser, ad text, headline, call to action, landing page and domain, images, videos, first and last shown, days running, whether it is running now, countries, and the **EU impressions, reach and country shares** where a library publishes them.

Each advertiser also gets a **free summary row**: how many ads and active ads per library, the newest and oldest ads, the formats, the **top landing domains and pages**, and which library found nothing or failed, and why. Built for **agencies, performance marketers and founders** doing competitor ad research, creative research and pitch decks. No logins, no Ads Manager access, no browser extension.

### What you get

| Field | What it holds |
|---|---|
| `platform` | the library: `meta`, `google`, `tiktok` or `linkedin` |
| `advertiserName`, `advertiserId`, `advertiserUrl` | who ran the ad, as that library names it (Facebook Page id, Google advertiser id, LinkedIn company id) |
| `adId`, `adLibraryUrl` | the ad's id and its page in the library |
| `isActive`, `firstShown`, `lastShown`, `daysRunning` | whether it runs now and how long it has run (long runners are the ads that work) |
| `format` | image, video, carousel, text or document |
| `headline`, `bodyText`, `callToAction` | the ad's words and its button ("Learn more", "Sign up") |
| `landingUrl`, `landingDomain` | where the ad sends people (trackers such as doubleclick are read through to the shown domain) |
| `imageUrls`, `videoUrls` | the creatives (YouTube links for Google video ads) |
| `placements` | Meta: Facebook, Instagram, Messenger, Threads, Audience Network |
| `countries`, `countryShares` | where it was shown; LinkedIn's share of impressions by country for EU ads |
| `impressionsLower/Upper`, `reachLower/Upper` | impression and reach ranges where the library gives them (LinkedIn EU ads, TikTok audience, Meta political ads) |
| `spendLower/Upper`, `currency`, `paidBy` | spend for political and issue ads; the paying entity (often the media agency) |
| `languages` | the languages the advertiser targeted (LinkedIn) |
| `input`, `scrapedAt` | the advertiser as you gave it, and when the row was read |

### What people use it for

- **Competitor ad research:** every ad a rival runs, on every network, in one table
- **Creative research:** find the long-running ads (early `firstShown`, still active): those are the ones that pay
- **Landing page research:** the pages and offers competitors send paid traffic to, ranked in the free summary
- **Agency pitches and audits:** show a prospect what their competitors run, where, and since when
- **Channel mix:** see which networks a brand spends on: Meta only, or Google, TikTok and LinkedIn too
- **Monitoring:** schedule it weekly and watch new ads and new landing pages appear

### How to use it

1. Add **advertisers**: brand names (`Canva`), websites (`shopify.com`) or a link or id from one library.
2. Leave **Ad libraries** on all four, or pick some. Add **countries** if you want only some markets.
3. Keep **Active ads only** on for what runs now, or turn it off for older ads too. Set **ads per advertiser per library**, click **Start**, and download the rows or schedule the run.

### Input

| Field | Example | Notes |
|---|---|---|
| Advertisers | `Canva`, `shopify.com`, `https://www.linkedin.com/company/68529` | Brand names, websites, or a Facebook Page link or id, a Google advertiser id (AR...), a LinkedIn company link. Each is matched in every library |
| Ad libraries | `meta`, `google`, `tiktok`, `linkedin` | Default: all four |
| Countries | `US`, `GB`, `DE` | Two-letter codes; empty = everywhere. TikTok covers only the EU/EEA, GB, CH, TR and BR |
| Active ads only | `true` | Ads running now (see Limits for what each library publishes) |
| Ads per advertiser per library | `25` | 1 to 1,000 |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "recordType": "ad",
  "platform": "meta",
  "input": "Shopify",
  "advertiserName": "Shopify",
  "advertiserId": "20409006880",
  "advertiserUrl": "https://www.facebook.com/20409006880",
  "adId": "1107865785562513",
  "adLibraryUrl": "https://www.facebook.com/ads/library/?id=1107865785562513",
  "isActive": true,
  "firstShown": "2026-11-02",
  "lastShown": "2026-11-12",
  "daysRunning": 11,
  "format": "image",
  "headline": "Imaginez votre boutique, Shopify la crée",
  "bodyText": "Vous avez quelque chose à vendre ? Créez une boutique en ligne en quelques secondes avec notre éditeur de boutique par IA.",
  "callToAction": "Sign up",
  "landingUrl": "https://www.shopify.com/se/gratis-trial",
  "landingDomain": "shopify.com",
  "imageUrls": [
    "https://scontent-hou1-1.xx.fbcdn.net/v/t39.35426-6/707945405_203717674..."
  ],
  "videoUrls": null,
  "placements": [
    "facebook",
    "instagram",
    "threads"
  ],
  "countries": null,
  "countryShares": null,
  "impressionsLower": null,
  "impressionsUpper": null,
  "reachLower": null,
  "reachUpper": null,
  "spendLower": null,
  "spendUpper": null,
  "currency": null,
  "paidBy": null,
  "languages": null,
  "scrapedAt": "2026-11-12T11:06:09Z",
  "resultId": "meta|1107865785562513"
}
```

Each advertiser also gets one **free** row with `recordType` `advertiser-summary`: ads and active ads per library, the newest and oldest first-shown dates, formats, top landing domains and pages, how each library matched the advertiser (Page, advertiser or company ids), the library's own total where it gives one, and which libraries failed or found nothing, with the reason. Filter on `recordType` to separate them. The key-value store record `SUMMARY` holds the same summaries, what was charged, and the route and traffic each library used.

### Pricing

- **$0.00075 per ad** ($0.75 per 1,000 ads), the same for every library
- Advertiser summaries, libraries that fail or find nothing, and an ad two of your advertisers share (delivered once) are free
- Apify's own start charge: $0.00005 per run
- Launch price. It may rise later; Apify emails every user 14 days before any price increase takes effect, and a rise can happen at most once a month.

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| One competitor, 25 ads from each of the 4 libraries (100 ads) | $0.075 |
| 5 competitors x 4 libraries x 25 ads (500 ads) | $0.375 |
| 10 competitors x 4 libraries x 100 ads (4,000 ads) | $3.00 |
| Weekly check of 5 competitors' active ads, 20 per library, for a month (1,600 ads) | $1.20 |

On Apify's Scale and Business plans the per-event prices are lower (Store discounts). Set **Maximum cost per run** and the Actor stops cleanly when it is reached: you never pay more than that.

### Tips

- Sort by `daysRunning` with `isActive` true: ads that have run for months are the ones that convert.
- A website (`brand.com`) is the most exact input for Google; a brand name works best for Meta, TikTok and LinkedIn. Give both as one advertiser each if a brand's legal name differs from its brand.
- If the summary lists `otherMatches` (other Facebook Pages named like the brand), add the right Page's link as its own advertiser.
- Turn **Active ads only** off and raise the limit to see a brand's ad history (Google keeps years, TikTok a year).
- Download creatives soon after the run: Meta's and TikTok's media links expire.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("zaiq/competitor-ads-scraper").call(run_input={"advertisers": ["Canva", "shopify.com"], "maxAdsPerPlatform": 25})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('zaiq/competitor-ads-scraper').call({"advertisers": ["Canva", "shopify.com"], "maxAdsPerPlatform": 25});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/zaiq~competitor-ads-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"advertisers": ["Canva", "shopify.com"], "maxAdsPerPlatform": 25}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server with this Actor already pinned (`https://mcp.apify.com?tools=zaiq/competitor-ads-scraper`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for "the ads my competitor is running on Facebook, Instagram, Google, TikTok and LinkedIn, with their landing pages". AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- Meta's search results carry no EU reach figures; impressions, reach and spend come only with political and issue ads.
- Google shows no ad text (it stores text ads as images: the image link is returned), no landing page beyond its domain, and no spend. Video ads link to YouTube.
- TikTok's library covers ads shown in the EU/EEA, the UK, Switzerland, Turkey and Brazil only, gives days rather than a running flag, and runs about a week behind: there, "active" means shown in the last 10 days.
- LinkedIn gives dates, impressions and country shares only for ads shown in the EU; for other ads `isActive` is empty, and with Active ads only on, ads from the last 30 days are kept. LinkedIn is read slowly on purpose (about 2 seconds an ad).
- Google and LinkedIn "active" means shown in the last 2 days. Meta uses its own running flag.
- Brand names are matched to each library's advertiser names ("Canva" = "CANVA PTY LTD", "Shopify (USA) Inc."); partners and resellers named like the brand are left out and listed in the summary. Use a library link or id to pin an exact advertiser.
- If a library refuses or changes, the others still run and the summary says what happened; nothing is charged for it.

### FAQ

**Do I need a Facebook, Google, TikTok or LinkedIn account?**

No. All four ad libraries are public and are read signed out.

**Which countries are covered?**

Meta, Google and LinkedIn: any country (leave Countries empty for all). TikTok publishes its library only for the EU/EEA, the UK, Switzerland, Turkey and Brazil.

**How does it find the advertiser?**

Meta: the Ad Library's own Page suggestions (verified Pages first, a brand's country Pages included). Google: the brand's website when it has one, else advertisers with the brand's name. TikTok and LinkedIn: advertisers whose name is the brand's, by name and then by LinkedIn company id. The summary shows exactly what each library matched.

**Why does one library show nothing?**

Read the advertiser's summary row: it says whether the brand was not found, has no ads there (for example no TikTok ads outside Europe), or the library refused, with the reason.

**Can I search only one library?**

Yes: pick it under Ad libraries. The price per ad is the same.

**Can I track a competitor every week?**

Yes: save the input as a task and schedule it. Compare `firstShown` dates to see what is new.

**Does it give ad spend?**

Only where the library publishes it: political and issue ads on Meta, and some TikTok ads. Commercial ad spend is not public on any of the four.

### Related Actors from Zaiq

- [facebook-ads-library-scraper](https://apify.com/zaiq/facebook-ads-library-scraper): Meta's Ad Library by keyword as well as advertiser, with more Meta-only fields
- [google-ads-transparency-scraper](https://apify.com/zaiq/google-ads-transparency-scraper): Google's Ads Transparency Center on its own
- [tiktok-ads-library-scraper](https://apify.com/zaiq/tiktok-ads-library-scraper): TikTok's Ad Library by keyword as well as advertiser
- [competitor-keywords](https://apify.com/zaiq/competitor-keywords): the keywords a competitor ranks for
- [domain-seo-overview](https://apify.com/zaiq/domain-seo-overview): a competitor's search traffic, keywords and top pages

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: competitor ads scraper, ad library scraper, facebook ads library scraper, meta ad library api, google ads transparency scraper, tiktok ad library scraper, linkedin ad library scraper, ad spy tool, competitor ad research, ad intelligence api, instagram ads scraper, youtube ads scraper.

# Actor input Schema

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

Brand names (Canva), websites (canva.com), or a link or id from one library: a Facebook Page link or id, a Google advertiser id (AR...), a LinkedIn company link. Each is matched in every library you pick.

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

Which ad libraries to search. Default: all four. A library that fails or finds nothing does not stop the others; the free summary says why.

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

Two-letter codes (US, GB, DE). Empty = every country. Meta, Google and LinkedIn filter by them; TikTok keeps those it covers (EU/EEA, GB, CH, TR, BR) and is skipped when none are.

## `activeOnly` (type: `boolean`):

Only ads running now: Meta's own flag; Google and LinkedIn shown in the last 2 days (LinkedIn dates EU ads only; others from the last 30 days are kept); TikTok in the last 10 days.

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

Most ads to return for each advertiser from each library. 2 advertisers x 4 libraries x 25 = at most 200 ads.

## Actor input object example

```json
{
  "advertisers": [
    "Canva",
    "Shopify"
  ],
  "platforms": [
    "meta",
    "google",
    "tiktok",
    "linkedin"
  ],
  "countries": [],
  "activeOnly": true,
  "maxAdsPerPlatform": 10
}
```

# Actor output Schema

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

Dataset: the results.

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

What each input returned, and notes.

# 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 = {
    "advertisers": [
        "Canva",
        "Shopify"
    ],
    "platforms": [
        "meta",
        "google",
        "tiktok",
        "linkedin"
    ],
    "maxAdsPerPlatform": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("zaiq/competitor-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 = {
    "advertisers": [
        "Canva",
        "Shopify",
    ],
    "platforms": [
        "meta",
        "google",
        "tiktok",
        "linkedin",
    ],
    "maxAdsPerPlatform": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("zaiq/competitor-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 '{
  "advertisers": [
    "Canva",
    "Shopify"
  ],
  "platforms": [
    "meta",
    "google",
    "tiktok",
    "linkedin"
  ],
  "maxAdsPerPlatform": 10
}' |
apify call zaiq/competitor-ads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zaiq/competitor-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/Y4rqTQQLSpcq8KM6H/builds/8ZUdna4obA5HKe6pp/openapi.json
