# TikTok Ads Library Scraper: EU Ads & Changes (No Login)

> Track ads in the EU TikTok Ad Library by advertiser or keyword: dates, reach bucket, creatives, and NEW, ACTIVE, SCALING, or STOPPED status. Use Only ads that changed to skip unchanged ads for free. No login; not affiliated with TikTok.

- **Page:** https://kizukidata.com/actors/tiktok-ads/
- **Markdown:** https://kizukidata.com/actors/tiktok-ads.md
- **Categories:** Social media, Marketing, Automation
- **Returns only changed items:** yes
- **On Apify Store:** yes

## Pricing

USD 0.33 per 1,000 ads on Free; USD 0.33 on Starter, USD 0.26 on Scale, USD 0.22 on Business

## Run it

[View on Apify Store](https://kizukidata.com/go/tiktok-ads-monitor)

## What it does

Track TikTok ads in the EU TikTok Ad Library (`library.tiktok.com`) by advertiser name or ad-text keyword: returns dates, running days, reach bucket, creative URLs, and a run-over-run `lifecycle` (`NEW`, `ACTIVE`, `SCALING`, `STOPPED`).

Use `onlyChanges` on a schedule to receive only changed ads and skip unchanged `ACTIVE` ads for free. Empty input (`{}`) searches `Nike` in Germany (`DE`, first 12 ads; max 120 ads per run).

## How to use it

1. Put what you want to watch into **Advertisers or keywords** (`queries`: `Nike`, or `"nike air max"` for a keyword phrase —
   the library's own rule: a quoted phrase searches the ad text). An unquoted name is an advertiser search: a row
   is kept only when the advertiser name contains every word of the query (`Nike` keeps `NIKE Retail B.V.`), so a
   misspelled or unknown advertiser returns no ad rows instead of other advertisers' ads (a free `no-ads` status
   row records the search).
2. Set **Countries** (`regions`: default `DE`) and **Days back** (`days`: default 30, which is the library's widest window). Only the
   32 countries the library lists can be searched: `US` is not one of them, and a run that names only countries
   outside the list is refused with a message that lists the codes.
3. For monitoring, turn on **Only ads that changed** (`onlyChanges`) and schedule the Actor (daily is the natural rate). Each run
   then returns only NEW, SCALING and STOPPED ads.
4. Send the rows to a sheet, a warehouse, Slack or a model. `lifecycle` is the field to alert on; `libraryUrl`
   opens the ad in the library.

### Input example

```json
{
    "queries": ["Nike", "\"nike air max\""],
    "regions": ["DE", "FR"],
    "days": 30,
    "onlyChanges": true,
    "includeDetails": true,
    "detailProxy": "datacenter",
    "maxItems": 24
}
```

### Output example (one ad row, shortened)

```json
{
    "id": "tiktok:DE:1879578150853922",
    "source": "TikTok Ad Library (library.tiktok.com)",
    "adId": "1879578150853922",
    "advertiser": "NIKE Retail B.V.",
    "region": "DE",
    "query": "Nike",
    "queryMode": "advertiser",
    "firstShownAt": "2026-10-20T00:00:00.000Z",
    "lastShownAt": "2026-11-04T00:00:00.000Z",
    "daysRunning": 16,
    "audienceRange": "200K-300K",
    "previousAudienceRange": "200K-300K",
    "reachChange": "same",
    "lifecycle": "ACTIVE",
    "firstSeenAt": "2026-11-05T21:12:00.000Z",
    "adType": "2",
    "libraryUrl": "https://library.tiktok.com/ads/detail/?ad_id=1879578150853922",
    "coverImageUrl": "https://p16-common-sign.tiktokcdn.com/…",
    "videoUrls": ["https://library.tiktok.com/api/v1/cdn/…/video/…"],
    "imageUrls": [],
    "adText": "Nike Back to School: fresh fits for the new term.",
    "callToAction": "Shop now",
    "landingUrl": "https://www.nike.com/de/w/back-to-school-840ik?utm_source=tiktok&utm_medium=paid",
    "objective": "Sales",
    "estimatedAudience": "14.9M-18.3M",
    "targetingByLocation": [{ "region": "DE", "impressions": "17K" }],
    "targetingBreakdowns": [
        { "region": "DE", "age": "18-24", "gender": "male", "impressions": "4K" },
        { "region": "DE", "age": "18-24", "gender": "female", "impressions": "4K" }
    ],
    "detailFetchedAt": "2026-11-06T21:12:00.000Z",
    "detailError": null,
    "fetchedAt": "2026-11-06T21:12:00.000Z",
    "error": null
}
```

## Inputs

| Input | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| Advertisers or keywords (`queries`) | array | No | `[]` | Up to 20 advertiser names or quoted ad-text phrases (e.g. ["Nike", "\"nike air max\""]). Empty (with no advertiserIds) searches a sample advertiser. |
| Advertiser ids (`advertiserIds`) | array | No | `[]` | Up to 20 business IDs from library.tiktok.com URLs. Unknown IDs return no rows; prefer advertiser names in queries unless you have the ID. |
| Countries (`regions`) | array | No | `DE` | Up to 20 EU/EEA, CH, or UK 2-letter country codes (default ["DE"]; e.g. DE, FR, GB). Unsupported codes (e.g. US) are skipped. Regions share maxItems. |
| Days back (`days`) | integer | No | `30` | How many days back to search, from 1 to 30 (the library's date window); the default is 30, the widest window the library answers with one search. |
| Ad status (`adStatus`) | string | No | `all` | "all" (default), "active", or "inactive" filter on the library's side; also affects which ads can appear as STOPPED. |
| Treated as stopped after (days) (`inactiveAfterDays`) | integer | No | `7` | Days since lastShownAt to mark an ad STOPPED (1-60, default 7 for daily monitoring). Missing ads are not marked STOPPED. |
| Only ads that changed (`onlyChanges`) | boolean | No | `false` | true returns only NEW, SCALING, or STOPPED ads and skips unchanged ACTIVE ads for free (memory still tracks all seen ads); false (default) returns all. |
| Read each ad's details (ad text, landing page, targeting) (`includeDetails`) | boolean | No | `false` | false (default) returns listing rows only; true fetches ad text, CTA, landing page, and targeting (uses 1+ request/ad, may fail; set 2048 MB memory). |
| Connection for the detail reads (`detailProxy`) | string | No | `datacenter` | Proxy for ad detail reads when includeDetails is true: "datacenter" (default) or "residential". |
| Maximum ads (`maxItems`) | integer | No | `12` | Max ad rows per run (1-120, default 12). Searches queries x regions sequentially; raise to 60-120 for multiple targets. Unreached searches are free. |
| Apify Proxy session (optional) (`proxySession`) | string | No | `` | Empty (default) connects direct. Set a session name (letters, digits, _, ., ~) to route listing reads via Apify datacenter proxy with a fixed IP. |

## Output

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | Stable row ID: "tiktok:<country>:<adId>" for an ad, or "tiktok:error:<mode>:<country>:<query>" for a row that only reports a failure. Used for de-duplication inside a run. |
| `source` | string | The library the row comes from: TikTok Ad Library (library.tiktok.com). |
| `adId` | string \| null | The library's ad ID. Null on a status row. |
| `advertiser` | string \| null | Advertiser name as the library prints it. |
| `region` | string \| null | The country (two-letter code) this ad was searched in. |
| `query` | string \| null | The input entry this row answers: the advertiser name, the quoted keyword phrase, or "advertiser <id>". |
| `queryMode` | string \| null | advertiser: name search. keyword: quoted phrase searched in the ad text. advertiserId: the advertiser page form. Null on a status row only when the input had no query. |
| `firstShownAt` | string \| null | ISO 8601 date the ad was first shown (the library's first_shown_date). |
| `lastShownAt` | string \| null | ISO 8601 date the ad was last shown (the library's last_shown_date). |
| `daysRunning` | integer \| null | Whole days between the first and the last shown date, both days inclusive. |
| `audienceRange` | string \| null | The reach bucket the library prints, for example "0-1K" or "100K-200K" (unique users who saw the ad at least once). |
| `previousAudienceRange` | string \| null | The reach bucket the previous run saw for this ad, when there was one. |
| `reachChange` | string \| null | increased, decreased or same against the previous run; null when either run had no bucket to compare. |
| `lifecycle` | string \| null | NEW: not in the previous run. ACTIVE: still listed. SCALING: still listed and the reach bucket went up. STOPPED: was listed before, is still listed, and its last shown date is older than inactiveAfterDays (an ad that is only missing from the listing is not STOPPED). Null on a status row. |
| `firstSeenAt` | string \| null | When this Actor first saw the ad, ISO 8601: the first run that listed it, or this run when the ad is new to the record. |
| `adType` | string \| null | The library's own media type value ("1" or "2"). Its meaning is not documented by the library, so it is passed through as text. |
| `libraryUrl` | string | The ad's page in the library, or the search page of the country on a status row. |
| `coverImageUrl` | string \| null | Thumbnail URL of the ad's video or image. |
| `videoUrls` | array | Video URLs of the ad (up to 5), as the library returns them. They expire; read them in the same run. |
| `imageUrls` | array | Image URLs of the ad (up to 5). |
| `adText` | string \| null | The ad caption (the text the advertiser wrote), read from the ad's own detail answer. Null when the ad has no caption, when includeDetails is off, or when the detail could not be read (see detailError). |
| `callToAction` | string \| null | The call to action the advertiser set (for example "Shop now"), from the ad's detail answer. |
| `landingUrl` | string \| null | The landing page the ad points to, from the ad's detail answer. It can carry the advertiser's own campaign macros (for example __CAMPAIGN_ID__). |
| `objective` | string \| null | The advertising objective the library prints for this ad, from its detail answer. |
| `estimatedAudience` | string \| null | The target audience size the library prints for this ad (for example "14.9M-18.3M"), from its detail answer. This is the library's own estimate of the audience the targeting reaches, not the number of people who saw the ad (that is audienceRange). |
| `targetingByLocation` | array | Where the ad was shown: one row per region with the library's own unique-users bucket for that region. Empty when the detail was not read or the ad has no targeting block. |
| `targetingBreakdowns` | array | One row per (region, age bracket, gender) the ad was shown to, with the library's own bucket for that cell. The library prints a bucket per cell, not a total per age or per gender, so no total is added up here. Empty when the detail was not read or the ad has no targeting block. |
| `detailFetchedAt` | string \| null | When this run read the ad's detail answer, ISO 8601. Null when the detail was not read, and then detailError says why. |
| `detailError` | string \| null | Why this row has no detail, or null when the detail was read. A failed read: rate-limited, blocked, http-error, invalid-search, no-token, invalid-json, unexpected-shape or search-error. Not read: not-requested (includeDetails is off, the default), no-ad (a status row), or skipped (the detail phase stopped asking after repeated refusals, or reached its time limit). There is no separate charge for details: the ad row is charged for its listing data either way. |
| `fetchedAt` | string | When this run read the row, ISO 8601. |
| `error` | object \| null | null when the row has an ad. Otherwise a fixed reason (rate-limited, invalid-search, blocked, http-error, no-token, navigation, invalid-json, unexpected-shape, search-error, browser, no-ads, listing-incomplete), a sentence, and the detail of the failed answer: the HTTP status, the library's own code and message, and the start of the body with token-like strings masked. no-ads and listing-incomplete are searches that answered with no ad; the row names its own query, queryMode and region. A status row is not charged. |

## Sources and limits

- EU TikTok Ad Library (https://library.tiktok.com/): The library's own search by advertiser or keyword; the ad text, landing page and targeting are read only when `includeDetails` is on and the library allows the read.

### Limitations

- **Unofficial and independent, no login.** Not affiliated with, endorsed by or sponsored by TikTok or ByteDance. Refused or unreached queries and unchanged ads under `onlyChanges` cost nothing.
- **SCALING example & supported regions:** `SCALING` means the ad's unique-users reach bucket increased (for example `10K-100K` → `100K-200K`). Supported EU/EEA, CH, and UK codes: `AT, BE, BG, CH, CY, CZ, DE, DK, EE, ES, FI, FR, GB, GR, HR, HU, IE, IS, IT, LI, LT, LU, LV, MT, NL, NO, PL, PT, RO, SE, SI, SK`.
- **Up to 120 ads per run.** The Actor is built for watching an advertiser, not for a bulk export of a whole
  library: `maxItems` is 1–120, and a run never writes more than 120 ad rows.
- **EU/EEA, Switzerland and the UK only.** The library covers the 32 countries its selector lists. A country code
  outside that list, such as `US`, is not searched: it is listed in `skippedInputs` with its reason, the other codes
  of the run are still searched, and the OUTPUT record names the regions the run searched. When every code you give
  is outside the list, the run ends `invalid_input` before it sends a search request. Ads shown only outside those
  countries are not in the library at all.
- **`total` stops counting at 5,000**, so a broad query over a big advertiser stops well short of its whole
  history. The library publishes no total impression count and no spend for an ad (`includeDetails` adds its
  reach buckets per country, age and gender), and the row has no active flag, so STOPPED is derived from the
  last shown date of a listed ad. The rule is in the input (`inactiveAfterDays`) so you can see and change it.
- **The rate limit is the real ceiling.** The ad library throttles frequent searches; the Actor retries with
  progressive backoff, and a large `maxItems` over several advertisers may stop early. The queries it did not
  reach are listed in `uncheckedInputs` and cost nothing. Schedule the rest, or narrow the input.
- **Video URLs expire.** They work in the run that read them; store the file, not the link, if you need it later.
- **Details are not guaranteed.** When the library answers, a detail read takes about 5 to 20 seconds per row, and
  the detail phase stops after about 2 minutes (roughly 5 to 20 rows). A run can end with no detail read at all. The
  ad rows still come back and are charged once for their listing data; a detail adds no event of its own. With
  `includeDetails` on, run the Actor with 2048 MB (2 GB) of memory (the run start fee is per GB), and with
  `detailProxy` set to `residential` Apify bills that proxy traffic. A large `maxItems` with
  `includeDetails` on leaves the last rows with `detailError: "skipped"`; no pause is started if it would run past
  that limit. Narrow the input or split it over runs if you need every detail. When the library is busy it refuses the
  detail read: after a few refused rows in a row the Actor waits once and tries again, and if the next
  rows are refused too it stops asking and writes the rows it did not try as `skipped` (the refused rows keep
  their failure reason, such as `rate-limited`). When the search itself was stopped by the rate limit, the detail
  phase does not wait at all: it stops at the first run of refused rows. Detail rows are read in the order of the
  results, so STOPPED rows are read as well (the ad is inactive, but the library may still answer its detail).
- **Two runs of the same input at the same time** can both report the same ad as NEW.
- **A page with no rows** is read as having no matches. If a first page indicates matches exist but returns no
  rows, it is retried once; if it stays empty, the run does not treat the listing as complete and says so in the
  run summary.
- **A changed library shape** comes back as `unexpected-shape` (not charged) and needs an update; report it in the
  Issues tab.

### Run status and the OUTPUT record

- `ok`: rows were returned; the message counts them and names any status rows as not charged.
- `no_matches`: the queries answered, but no ad matched in the window. Each search that found no ad leaves a free
  `no-ads` row that names its query and country, so the empty result is stated in the dataset.
- `no_new_items` (`onlyChanges`): every ad was already there, nothing changed.
- `invalid_input`: the input needs a change; the message names the field — for example a country code the library
  does not cover.
- `budget_exhausted`: the spending limit needs a change.

The default key-value store's `OUTPUT` record has `status`, `code`, `message`, `counters`, `skippedInputs` (entries
that were not usable, and duplicates), `uncheckedInputs` (queries the run did not reach, e.g. because the library
was rate limiting) and a `tiktokAds` summary with `entries`, `sampleUsed`, `regions`, `days`, `adStatus`, `rows`,
`noAds` (searches that answered with no ad, each with a free status row),
`new`, `scaling`, `stopped`, `stoppedRepeats`, `lifecycleKnown`, `stoppedReason`, `unrelatedSkipped` (rows the
advertiser-name check dropped), `stateUnrelatedDropped` (stored rows dropped because they do not match the name),
`unresolvedAdvertisers` (name searches answered only with other advertisers), `emptyPages`, `emptyPagesWithMatches`
(pages that named matches but carried no rows), `repeatOnlyPages` (pages that only repeated earlier rows; that
listing is not treated as complete), `stoppedUnconfirmed` (ads of an earlier run missing from this run's listing:
no row, no charge), `shrunkListings` (complete listings that lacked most of the ads an earlier run listed),
`details` (the per-ad detail reads: `included`, `rows`, `read`,
`unread`, `attempts`, `failedAttempts`, `skipped`, `retried`, `refreshed`, `tripPauses`, `gapMs`, `elapsedMs`, `reason`,
`proxy` — the connection the detail reads used — and `proxyError`, which is set when the residential detail browser
could not be used) and execution counters.

Read the data-source note: https://kizukidata.com/data-sources/#tiktok-ads

## Billing

Apify charges per result; the Store page is the commercial reference. Rows that only record a failure are not charged. Every run also carries a start fee of USD 0.00005 per GB of memory (USD 0.00005 at the default 1 GB), even a run that returns no results.

## Verification

The facts on this page come from the Actor's own documentation and its input and dataset schemas. No customer testimonials, ratings, or uptime numbers are shown.

## All Kizuki Actors

https://kizukidata.com/actors/ · https://kizukidata.com/llms.txt
