DataNavoAPI / APIS / TIKTOK

TikTok Ads Library search

TikTok Ads Library search: inspect inputs, ad fields, pagination and limits, then run a local simulated request.

LOCAL SIMULATIONAll displayed records are fictional fixtures. Live APIs, payments and external email are disabled.中文版 ↗
01

What this capability does

TikTok Ads Library search uses /v1/tiktok/ads/search; GET returns data.items with ad objects.

This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.

  • Capability: tiktok.ads.search
  • Pagination: use the signed cursor from the response and request each page explicitly.
02

Input contract

Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.

  • GET: supply exactly one of query / advertiser.
MethodFieldTypeRequirementMeaningEnum or boundExample
GETquerystringOptional / conditionalSearch terms—"running shoes"
GETadvertiserstringOptional / conditionalOnly this advertiser's ads, by the name the library knows it by (a company's registered name, say); not with query——
GETcursorstringOptional / conditionalThe `next_cursor` of the previous page. A new page is a new call.——
GETviewstringOptional / conditionalHow much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`).["compact","standard","full"]—
GETfieldsarrayOptional / conditionalReturn only these fields of each item, by path (`author.name`).maxItems: 64—
03

Try it locally

Use demo to inspect the fields, then explicitly select simulated with a customer test key to exercise settlement. Never put a customer key in a URL.

json
{
  "capability": "tiktok.ads.search",
  "method": "GET",
  "params": {
    "query": "running shoes"
  }
}
04

Output fields and interpretation

The ad object permits missing or null values; do not replace missing measurements with zero. This table shows the main structure; the object reference covers nested fields.

FieldTypeMeaningSource scope
idstring | nullID; pass it unchanged to the ad's get endpointTikTok
urlstring | nullThe ad's page in the platform's ad libraryTikTok
formatstring | nullFormat of the creative; other is a format of the platform's ownTikTok
titlestring | nullHeadlineTikTok
textstring | nullBody textTikTok
landing_urlstring | nullWhere a click on the ad leads (standard view and up)TikTok
advertiserobject | nullAdvertiserTikTok
advertiser.idstring | nullAdvertiser IDTikTok
advertiser.namestring | nullAdvertiser's nameTikTok
advertiser.urlstring | nullThe advertiser's page on the platform (standard view and up)TikTok
advertiser.avatar_urlstring | nullThe advertiser's picture or logo (standard view and up)TikTok
imagesarray | nullAddresses of the ad's images (standard view and up)TikTok
videosarray | nullAddresses of the ad's videos; they expire (full view)TikTok
first_shown_atstring | nullWhen the ad was first shownTikTok
last_shown_atstring | nullWhen the ad was last shown; for an ad still running, when the platform last saw itTikTok
approximatearray | nullWhich numbers of this item are approximate or lower bounds; absent when all are exactTikTok
approximate[].fieldstring | nullPath of the field, such as metrics.viewsTikTok
approximate[].kindstring | nullApproximate, or a lower boundTikTok
extobject—TikTok
ext.regionsarray | nullCodes of the countries or regions it was shown in (full view)TikTok
ext.likesinteger | nullLikes on the ad's video (full view)TikTok
ext.commentsinteger | nullComments on the ad's video (full view)TikTok
ext.sharesinteger | nullShares of the ad's video (full view)TikTok
ext.durationnumber | nullLength of the video, in seconds (full view)TikTok
ext.cover_urlstring | nullCover of the video (full view)TikTok
ext.objectivestring | nullCampaign objective, as the platform's own code (full view)TikTok
ext.audience_rangestring | nullBracket of people reached, as the platform words it; null where it gives none (full view)TikTok
ext.categorystring | nullWhat the ads library says the ad is about, as it words it; null where it says nothing (full view)TikTok
ext.industrystring | nullThe industry the Creative Center files the material under, as the platform's own code (label_ and a string of digits); null where there is none (full view)TikTok
05

Unavailable fields

These published contract notes describe the capability boundary; fixtures do not establish live availability.

FieldReason
textcapability
landing_urlcapability
advertiser.urlplatform
advertiser.avatar_urlplatform
06

Limits and checks

A successful request does not establish full coverage. Preserve the request ID, observation time, parameters and cursor, and inspect the returned items before analysis.

Local simulation uses TEST credits only. Real provider calls, real payments and external email are disabled. Historical reference-site prices are not DataNavoAPI prices.

  • Verify media URLs, counts and optional fields individually.
TRY THE CONTRACT

Clear inputs. Inspectable output.

Each click runs a local fixture. Advanced JSON inputs are checked against the selected method. Editing does not execute a request.

Copying does not execute. CLI quote is read-only and needs a local customer TEST key. Configure MCP in demo mode first. GET and POST batches both return only fictional local fixtures.

Download contract example (no execution) ↗

For TEST budgets, Key scopes or failure scenarios, open the account console. Customer sandbox ↗