tiktok-top-ads-search
Installation
SKILL.md
TikTok Top Ads Search
Use the bundled Bash/Python helper for Creative Center Top Ads research. Requires Bash and Python 3.9+ with the standard library. No TikTok Business token or SDK is needed.
Workflow
- Require
--keyword, one to five--start-urlvalues, or both. Country or other filters alone are insufficient. URLs must be HTTPS onads.tiktok.comunder/business/creativecenter/topads/or/business/creativecenter/inspiration/topads/. For Ads Library research usetiktok-ads-search; for account/campaign management usetiktok-ads. - Prefer
runto create, wait, and fetch the complete JSON array. Usecreate,status,wait, andresultfor separate phases. Read references/api.md for all parameter allowlists, defaults, and task states. - Creation is billable: the server checks estimated credits and settles actual usage asynchronously. Record the printed
client_task_idand returnedtask_id. If creation has an uncertain outcome, retry only with identical options and the same client ID; never automatically create a replacement. Changed parameters with the same ID return HTTP 409. - Wait for
READYwithresult_available=true. Follownext_poll_after_ms; zero stops automatic polling. Stop onFAILED,REVIEW_REQUIRED, orRESULT_EXPIRED. Resume a timeout withwait --task-idusing the existing ID. - Preserve saved JSON bytes and summarize relevant ads unless raw JSON is requested. Keep
idas a string. Metrics and media are optional; do not infer missing values or treat media URLs as permanent archived assets.
Commands
Resolve {baseDir} to the directory containing this file.