Apify example task · whoareyouanas/tiktok-ad-scraper

Find Adidas TikTok Ad Library creatives in Germany

Search TikTok commercial ad data for Adidas ads delivered in Germany. Inspect advertiser, videos, dates and available reach fields.

Actor
TikTok Ad Library Scraper & Creative Center Top Ads
Result limit
5 (maxResults)
Estimated cost
Up to $0.025
Run options
Actor defaults

Example updated 2026-11-20 · actor build 0.0.10 · runs in your own Apify account

01 / About the actor

TikTok Ad Library Scraper & Creative Center Top Ads

Research creatives from TikTok Ad Library, Creative Center, or both. Export available ad copy, advertiser context, media links, dates, and source-specific targeting or performance signals.

Two public sources

Select the transparency Ad Library or Creative Center according to your research question.

URL or parameters

Provide a supported source URL or build a search with mode, country, query, and filters.

Creative exports

Keep advertiser details and available media or metrics in structured records.

02 / Input

The exact input this example runs.

targetUrl can identify the source directly. For parameter searches, choose scrapeMode and a compatible country. Ad Library and Creative Center have different geography and filter coverage. Start with a small maxResults.

input.json · tiktok-germany-adidas-ad-library
{
  "maxResults": 5,
  "maxConcurrency": 1,
  "scrapeMode": "ad_library",
  "searchQuery": "Adidas",
  "country": "DE",
  "sortBy": "last_shown_date_newest",
  "quickSearch": true
}
Input fields used by this example, their values and what they control
FieldValue in this exampleWhat it controls
maxResultsChange this5Maximum number of ads to return. Set to 0 for unlimited. Ad Library has a platform cap of ~3,600 results per query.
maxConcurrency1Number of parallel requests. Keep at 1 for stability. Increase to 2-3 only if you need faster scraping.
scrapeModeChange this"ad_library"Choose which TikTok data source to scrape. Ad Library covers EU/EEA with rich targeting data. Creative Center covers 50+ countries globally with performance metrics. 'Both' runs both sources.
searchQueryChange this"Adidas"Keyword or advertiser name to search for (e.g. 'nike', 'shopify', 'gaming app').
countryChange this"DE"Country code for filtering. For Ad Library: EU/EEA countries only (e.g. DE, FR, IT, ES, NL, GB). For Creative Center: any of 50+ countries (e.g. US, JP, BR, IN).
sortByChange this"last_shown_date_newest"Sort order for results.
quickSearchChange thistrueIf enabled, skips detail page visits for faster, cheaper scraping. Returns search-level fields only (no targeting or detailed reach data). Recommended for large-volume scrapes.
Other inputs you can add (8)
Deployed actor input fields, types, defaults, and descriptions
FieldType / requiredDefaultPurpose
targetUrlstringNot specifiedPaste a TikTok Ad Library or Creative Center URL directly. If provided, all parameter fields below are ignored.
advertiserIdstringNot specifiedTikTok advertiser business ID to look up all ads from a specific advertiser.
industrystring"all"Filter by industry vertical. Only applies to Creative Center mode.

Options: all, apparel_and_accessories, beauty_and_personal_care, ecommerce, education, finance, food_and_beverage, games, health, home_improvement, news_and_entertainment, tech_and_electronics, travel, vehicle

objectivestring"all"Filter by campaign objective. Only applies to Creative Center mode.

Options: all, app_install, traffic, lead_generation, conversions, reach, video_views, community_interaction

timePeriodstring"30"Time window for results. For Ad Library: custom date range via startDate/endDate. For Creative Center: preset windows.

Options: 7, 30, 180

startDatestringNot specifiedStart date for Ad Library search in YYYY-MM-DD format. Defaults to 1 year ago.
endDatestringNot specifiedEnd date for Ad Library search in YYYY-MM-DD format. Defaults to today.
requestHandlerTimeoutSecsinteger300Maximum time to wait for scraping to complete per page.

Minimum: 60 · Maximum: 900

03 / Make it yours

Change these fields for your own research.

  1. 01 · maxResults

    Max Results

    Maximum number of ads to return. Set to 0 for unlimited. Ad Library has a platform cap of ~3,600 results per query.

    Example: 5

  2. 02 · scrapeMode

    Scrape Mode

    Choose which TikTok data source to scrape. Ad Library covers EU/EEA with rich targeting data. Creative Center covers 50+ countries globally with performance metrics. 'Both' runs both sources.

    Example: "ad_library"

  3. 03 · searchQuery

    Search Query

    Keyword or advertiser name to search for (e.g. 'nike', 'shopify', 'gaming app').

    Example: "Adidas"

  4. 04 · country

    Country / Region

    Country code for filtering. For Ad Library: EU/EEA countries only (e.g. DE, FR, IT, ES, NL, GB). For Creative Center: any of 50+ countries (e.g. US, JP, BR, IN).

    Example: "DE"

  5. 05 · sortBy

    Sort By

    Sort order for results.

    Example: "last_shown_date_newest"

  6. 06 · quickSearch

    Quick Search Mode

    If enabled, skips detail page visits for faster, cheaper scraping. Returns search-level fields only (no targeting or detailed reach data). Recommended for large-volume scrapes.

    Example: true

Run it in three steps

  1. Open the example on Apify and select Try for free to copy it into your Apify account.
  2. Replace the sample values above with your own target and keep the limit small.
  3. Start the run, then export the dataset as JSON, CSV or Excel.

04 / Output

What the results table shows.

Columns in the “Overview” view

adId

Ad ID

advertiserName

Advertiser

advertiserBusinessId

Business ID

advertiserLocation

Location

paidForBy

Paid For By

status

Status

adFormat

Format

firstShownDate

First Shown

lastShownDate

Last Shown

estimatedAudience

Est. Audience

estimatedAudienceMin

Audience Min

estimatedAudienceMax

Audience Max

videoUrl

Video

coverImageUrl

Cover

adCopy

Ad Copy

targetGender

Target Gender

targetAgeRange

Target Age

audienceSize

Audience Size

likes

Likes

ctr

CTR

viewRate2s

2s View Rate

viewRate6s

6s View Rate

industry

Industry

campaignObjective

Objective

videoDuration

Duration (s)

detailUrl

Detail URL

source

Source

sourceUrl

Source URL

A view selects columns for the table. The full JSON export keeps every field, including nested arrays and objects.

05 / Cost

What this example costs to run.

At most about $0.025: up to 5 results at $0.005 each (Ad scraped) plus $0.00005 per GB of memory for the start event. Fewer results cost less. The live Pricing tab on Apify is authoritative.

Prices checked 2026-11-22. Set a run spending limit in Apify when you widen the input.

06 / API

Run the same input from your code.

This call starts a billable run of TikTok Ad Library Scraper & Creative Center Top Ads with this example's input and returns the dataset items when it finishes. Synchronous calls wait up to five minutes; for longer runs, POST to /runs instead and read the run's default dataset when it succeeds. Keep the token in an environment variable.

cURL · run and return the results
curl --request POST \
  'https://api.apify.com/v2/acts/whoareyouanas~tiktok-ad-scraper/run-sync-get-dataset-items?format=json' \
  --header "Authorization: Bearer $APIFY_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{"maxResults":5,"maxConcurrency":1,"scrapeMode":"ad_library","searchQuery":"Adidas","country":"DE","sortBy":"last_shown_date_newest","quickSearch":true}'

Coverage & interpretation

Check the result before relying on it.

Questions

About this example.

What does the "Find Adidas TikTok Ad Library creatives in Germany" example collect?

Search TikTok commercial ad data for Adidas ads delivered in Germany. Inspect advertiser, videos, dates and available reach fields. It runs TikTok Ad Library Scraper & Creative Center Top Ads, published by whoareyouanas on Apify.

Which input does this example use?

Max Results (maxResults) set to 5; Scrape Mode (scrapeMode) set to "ad_library"; Search Query (searchQuery) set to "Adidas"; Country / Region (country) set to "DE"; Sort By (sortBy) set to "last_shown_date_newest"; Quick Search Mode (quickSearch) set to true. The full JSON input is shown on this page.

How much does it cost to run this example?

At most about $0.025: up to 5 results at $0.005 each (Ad scraped) plus $0.00005 per GB of memory for the start event. Fewer results cost less. The live Pricing tab on Apify is authoritative.

How do I change it for my own research?

Open the example on Apify and select Try for free to copy it into your account, then edit Max Results, Scrape Mode, Search Query, Country / Region, Sort By, Quick Search Mode. Keep the result limit small for the first run and check the output before scaling up.

Can I run it from the API or on a schedule?

Yes. Send the same JSON input to the TikTok Ad Library Scraper & Creative Center Top Ads run endpoint with your Apify API token, or save the copied task in your Apify account and add a schedule. Results land in the run's default dataset as JSON, CSV or Excel.

More examples

Related tasks you can copy.

Guides

Read more about this workflow.