skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
linkfox-ai/linkfox-skills316 installs

linkfox-temu-ads-global

Temu 全球站电商广告 Ads API,经 LinkFox 网关转发 Partner Global Ads / 广告投放 相关 bg/temu 接口(广告计划、广告组、创意、报表、预算出价等,接口将按 Partner 文档逐条接入)。当用户提到 Temu Global 广告、Ads、广告投放、广告计划、广告组、创意、出价、预算、广告报表、ad campaign、product-inventory 广告 时触发。商品管理用 linkfox-temu-manage-product-global;促销用 linkfox-temu-promotion-global;订单用 linkfox-temu-order-global。

How do I install this agent skill?

npx skills add https://github.com/linkfox-ai/linkfox-skills --skill linkfox-temu-ads-global
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill linkfox-temu-ads-global is a professional integration tool for managing Temu Global Ads via the LinkFox gateway. It includes a robust suite of scripts for ROAS prediction, ad creation, and reporting. Authentication is handled securely through the vendor's infrastructure, and marketplace tokens are stored locally to facilitate repeated operations. All identified network and file activities align with the skill's documented purpose as a marketplace management utility.

  • Socketwarn

    1 alert: gptSecurity

  • Snykwarn

    Risk: MEDIUM · 1 issue

What does this agent skill do?

Temu 全球站 — 电商广告(Ads)

本 skill(linkfox-temu-ads-global)覆盖 Partner Platform for Global Ads / 电商广告(广告计划、投放、报表等;menu_code 与各 sub_menu_code 以 Partner 后台为准,见 partner-global-catalog.md)。

已接入 7 条 Partner Ads(temu.searchrec.ad.*)接口,清单见 partner-global-catalog.md。

网关(本 skill 内置):

能力方法路径
广告 OpenAPI(global_ads_*、temu_global_proxy)POSThttps://tool-gateway.linkfox.com/temu/proxy
加签文件下载POSThttps://tool-gateway.linkfox.com/temu/fileDownload

相关 skill

场景skill
广告 Ads(本 skill)linkfox-temu-ads-global
商品列表/详情/编辑/库存/上下架linkfox-temu-manage-product-global
促销/营销活动linkfox-temu-promotion-global
发品linkfox-temu-add-product-us
价格/供货价、定价单linkfox-temu-price-global
订单列表/详情linkfox-temu-order-global
退货与退款linkfox-temu-returns-refunds-global
网关与 Temu token本 skill scripts/

调用方式

  • API 端点:POST /temu/proxy(不同操作通过请求体区分;完整参数/响应/错误码见 references/api.md)
  • Python 脚本:python scripts/<脚本名>.py '<JSON 参数>' [--inline](可用脚本见上文脚本一览)
  • 成本约束:本工具会消耗算力;失败/空结果不得自动换关键词、翻页或连续试探;需要继续检索时先向用户说明会产生额外消耗。

输出策略(脚本默认行为):

  • 始终将完整响应写入 <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-temu-ads-global-<timestamp>.json(<cwd> 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<session> 取自环境变量 SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)
  • 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
  • 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 total/costToken、最大列表字段的长度 + 前 3 条样本)
  • 加 --inline 强制全量打印到 stdout(同样落盘)

读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jq或ConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。

解决认证和算力问题

发生以下异常情况时,采用 references/onboarding.md 引导解决问题:

异常情况

  • 未配置API Key:环境变量未配置 LINKFOX_AGENT_API_KEY,也未配置 LINKFOXAGENT_API_KEY。
  • 响应401或402状态码
  • 响应提示算力或余额不足:消息含"算力余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。

默认参数

字段默认说明
siteglobalPartner Global
managementTypesemi-managed半托管(具体接口以 Partner 文档为准)
tokenPurposeproduct-inventory卖家助手默认(若 Partner 某 Ads 接口要求其他 tokenPurpose,以该接口文档为准)

鉴权

  1. LinkFox:LINKFOXAGENT_API_KEY → Header Authorization + Token
  2. Temu:accessToken 或 storeKey(storeKey 时建议带 tokenPurpose=product-inventory)

Scripts

脚本说明
temu_global_proxy.py任意 type
temu_global_file_download.py加签下载
global_ads_searchrec_ad_roas_pred.pytemu.searchrec.ad.roas.pred
global_ads_searchrec_ad_reports_mall_query.pytemu.searchrec.ad.reports.mall.query
global_ads_searchrec_ad_create.pytemu.searchrec.ad.create
global_ads_searchrec_ad_detail_query.pytemu.searchrec.ad.detail.query
global_ads_searchrec_ad_log_query.pytemu.searchrec.ad.log.query
global_ads_searchrec_ad_goods_create_query.pytemu.searchrec.ad.goods.create.query
global_ads_searchrec_ad_modify.pytemu.searchrec.ad.modify

接入新接口(约定)

你每提供一条 Partner 文档(type + sub_menu_code + URL + Request/Response 参数表),将:

  1. 新增 references/apis/<type-slug>.md(完整入参/出参层级)
  2. 新增 scripts/global_ads_<slug>.py(调用 _global_ads_script.run_cli)
  3. 更新 partner-global-catalog.md、apis/README.md 与本表

示例(通用代理)

export LINKFOXAGENT_API_KEY="<key>"

python scripts/temu_global_proxy.py '{
  "accessToken": "TOKEN",
  "tokenPurpose": "product-inventory",
  "type": "<TEMU_API_TYPE>",
  "params": {
    "request": {}
  }
}'

Feedback: skillName:linkfox-temu-ads-global

网关与授权脚本

脚本说明
check_linkfox_token.py校验 LinkFox 用户 Token
temu_token_guide.pyTemu accessToken 后台授权步骤
save_temu_access_token.py保存 accessToken 到本地
list_temu_access_tokens.py列出已保存 token
get_temu_access_token.py读取已保存 token
temu_proxy.py通用网关转发(多 site)
temu_file_download.py加签文件下载(多 site)

授权说明:references/access-token.md

算力消耗规则

不消耗算力。

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/linkfox-ai/linkfox-skills/linkfox-temu-ads-global">View linkfox-temu-ads-global on skillZs</a>