Ad Library Ad
tiktok_ad_library_ad_library_adFetch a TikTok ad by ID or URL, checking Top Ads first and the public Ads Library second. Requires confirm=true because it may use paid API credits.
Instructions
Fetches one TikTok ad by ID or URL. It first checks Creative Center Top Ads (ads.tiktok.com), then TikTok's public transparency Ads Library (library.tiktok.com) when the ID is not a Top Ads material. Both sources return the same response shape. Fields TikTok does not expose for a public Ads Library ad are null, empty, or false as appropriate. Potentially consumes paid API credits; requires confirm=true. Read-like POST requests do not publish to social platforms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | Creative Center Top Ads material ID or URL, or a public Ads Library ad ID or library.tiktok.com detail URL. | |
| account | No | Named private ScrapeCreators account; selects credentials, not a remote account ID. | |
| confirm | No | Must be true for the specific approved credit-consuming research call. |