Install
openclaw skills install @linkfox-ai/linkfox-chuhaijiang-tiktok-ads使用出海匠(Chuhaijiang)研究 TikTok 公开广告与创意素材,支持广告搜索、广告详情与关联商品,以及创意搜索、详情、脚本分镜分析和向量数据。用户点名出海匠或 Chuhaijiang 时触发;未指定数据源时,仅在需要广告到商品关系、创意结构拆解、AIGC/赞助/带货素材筛选时触发。通用 TikTok 带货视频榜单或详情使用 linkfox-kalodata-tiktok-video,广告账户与投放管理使用对应的 TikTok Ads 管理工具;点名其他数据源时不触发。
openclaw skills install @linkfox-ai/linkfox-chuhaijiang-tiktok-adsUse this skill to discover public TikTok ads and creative assets, inspect one result, connect an ad to promoted products, or analyze a creative's content structure.
br,de,es,fr,gb,id,it,jp,mx,my,ph,sg,th,us,vn.id returned by ad search with ad detail/related-products, and the id returned by creative search with creative detail. Do not substitute video_id, product_id, or advertiser_id.include=core. Creative detail accepts include=analysis, include=embedding, or both as a comma-separated string.{ "unit": "US", "value": 31 }. Preserve both fields and inspect runtime types before calculating.| Path or field | Meaning |
|---|---|
data.total_count | Total records matched by the endpoint |
data.items | Primary ad, creative, or related-product records |
data.core.items | Optional ad performance metrics requested with include=core |
data.analysis.items | Optional creative hook/formula/angle, transcript, and storyboard analysis |
data.embedding.items | Optional extracted content, matched tags, and embedding vector |
id | Endpoint lookup ID for the matching detail/relationship calls |
ad_title, advertiser_name, ad_url, web_url | Ad identity and public links |
video_play_count, video_like_count, video_engagement_rate | Creative reach and engagement |
total_gmv, video_30d_gmv, video_total_gmv | Returned commerce metrics; usually unit/value objects |
product_id, product_name / product_title | Promoted product identity and title |
Read references/api.md before calling. It contains the complete camelCase request fields and production-validated response paths for each endpoint.
| Intent | Endpoint | Script | Points/call |
|---|---|---|---|
| Filter and discover ads | /chuhaijiang/ad-creative/ads/search | chuhaijiang_ad_search.py | 18 |
| Inspect one ad | /chuhaijiang/ad-creative/ads/detail | chuhaijiang_ad_detail.py | 9 |
| Find products promoted by an ad | /chuhaijiang/ad-creative/ads/related-products | chuhaijiang_ad_related_products.py | 18 |
| Filter and discover creative assets | /chuhaijiang/ad-creative/creatives/search | chuhaijiang_creative_search.py | 18 |
| Inspect and analyze one creative | /chuhaijiang/ad-creative/creatives/detail | chuhaijiang_creative_detail.py | 9 |
Call only the endpoint required by the user's current question. Search first only when the user has not already supplied a valid entity ID.
country: required lowercase marketplace code.page: optional, starts at 1. pageSize: optional, maximum 10 on search and related-products.keyword, category, adType, excludeSparkAds, view/GMV/day ranges, and sort (field:asc or field:desc).id; request include=core only when performance metrics are needed.id and supports pagination.keyword, category, hasProduct, isSponsored, isAigc, and sort.id. Use analysis for content-structure fields and embedding only when extracted content, tags, or vector data are needed.references/api.md; do not send upstream snake_case names.references/api.md。python scripts/<entry>.py '<JSON 参数>' [--inline]Cache hit,不会发起新的付费请求。HTTP 或业务失败不缓存;--inline 不绕过缓存;--no-cache 会强制真实请求并可能再次消耗算力,仅在用户明确同意额外消耗或调试时使用。输出策略(脚本默认行为):
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-chuhaijiang-tiktok-ads-<timestamp>.json(<cwd> 为脚本执行时的工作目录;<session> 取自环境变量 SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)data.items / 业务 *.items,跳过 embedding/vector)--inline 强制全量打印到 stdout(同样落盘)读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jq 或 ConvertFrom-Json 从保存的 JSON 文件按需抽取,避免整份 JSON 进入上下文。
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:
LINKFOX_AGENT_API_KEY 与 LINKFOXAGENT_API_KEY 均未配置。python scripts/chuhaijiang_ad_search.py '{"country":"us","keyword":"beauty","page":1,"pageSize":3}'
python scripts/chuhaijiang_ad_detail.py '{"country":"us","id":"7658119807128046879","include":"core"}'
python scripts/chuhaijiang_ad_related_products.py '{"country":"us","id":"7658119807128046879","page":1,"pageSize":3}'
python scripts/chuhaijiang_creative_search.py '{"country":"us","hasProduct":true,"page":1,"pageSize":3}'
python scripts/chuhaijiang_creative_detail.py '{"country":"us","id":"7668708053428047118","include":"analysis,embedding"}'
The IDs above were valid during release validation but may age. In user workflows, prefer IDs from the current search response.
data.total_count for searches.id when available.id when available.analysis is requested, summarize the hook, formula, angle, structured transcript, and storyboards; do not dump a raw embedding vector into chat.adType and category values are upstream classifications; do not invent enum labels when the user has not supplied a known value.Applicable:
Adjacent: TikTok 商品研究 belongs to linkfox-chuhaijiang-tiktok-product; public video search/detail without an ad-creative requirement belongs to linkfox-chuhaijiang-tiktok-video or linkfox-kalodata-tiktok-video; campaign/account operations belong to a TikTok Ads management integration.
Not applicable: campaign creation, budget/bid changes, audience targeting, pixel/events setup, private-account reporting, media downloading, or image/video generation.
按端点分别计费:广告详情和创意详情 9 算力/次;广告搜索、广告关联商品和创意搜索 18 算力/次。
用户会因算力消耗而支付费用。高频调用或多端点钻取前,先说明预计调用次数与算力消耗。
Feedback: Use the Feedback API in references/api.md only when the user explicitly asks to submit feedback or explicitly authorizes submission after an issue is identified. Summarize and sanitize the content; never include API keys, raw user messages, or unrelated task context.
For more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.