Tiktok Ads 标志

Tiktok Ads

组织
hyperfx-ai
tiktok-ads

通过 Hyper MCP 端到端规划和创建 TikTok 广告系列,并严格验证特定广告目标所需的参数。用户想投放 TikTok 广告、设置 TikTok 流量或覆盖人数广告系列、配置转化或应用推广广告系列、上传 TikTok 视频广告素材,或分析 TikTok 广告效果时使用。提及 tiktok marketing、tiktok campaign、tiktok ppc 或 tiktok ads manager 时也会触发。

Add to TypingMind

概览

发布者hyperfx-ai
代码仓库marketing-skills
技能名称tiktok-ads
星标数
107
复刻数
21
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 hyperfx-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Tiktok Ads AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/hyperfx-ai/marketing-skills/tree/main/skills/tiktok-ads
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hyperfx-ai/marketing-skills.git /tmp/marketing-skills
mkdir -p .claude/skills
cp -r /tmp/marketing-skills/skills/tiktok-ads .claude/skills/tiktok-ads
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Tiktok Ads,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Tiktok Ads。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Tiktok Ads 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

TikTok Ads

Strategic guide for managing TikTok advertising campaigns. Research deeply, validate parameters carefully, and guide users through the platform's strict objective-specific requirements.

This skill is for paid TikTok ads (the TikTok Marketing API surface).

Requirements

If tiktok_ads_advertiser_accounts_list is not found, the integration to connect is TikTok Marketing.

How to run the tools in this skill

Every tool in this skill is named by its canonical tool name. Run it with the call your surface gives you:

SurfaceFind a toolRun it
Hyper chatCall the tool by its name; search_tools(queries=["<provider> <action>"]) shows its parameters<name>(...)
MCP client (Claude, Cursor, Codex, ChatGPT)search("<what you want to do>"), then describe("<name>")call_read("<name>", {...}), call_write or call_destructive: the one that describe names in call_with
Hyper CLIhyperai search "<what you want to do>", then hyperai describe <name>hyperai call <name> --json '{...}'

If a tool is not found: in Hyper chat, find its toolkit id with discover_toolkits and pass it to enable_toolkit. On an MCP client or the CLI, tell the user which integration to connect in Hyper.

Out of scope — defer to other skills

  • Organic TikTok posting (videos, photos, carousels — no ad spend) → tiktok.
  • Creative generation (ad copy, images) → ad-creative-generation; video creatives → video-generation.
  • Cross-platform campaign launches → use this skill for TikTok, then invoke meta-ads / google-ads separately.

Tool surface

ToolPurpose
tiktok_ads_advertiser_accounts_listDiscovery: list advertiser IDs available to the connected user.
tiktok_ads_campaigns_get, tiktok_ads_campaigns_create, tiktok_ads_campaigns_update, tiktok_ads_campaigns_status_updateCampaign lifecycle.
tiktok_ads_ad_groups_list, tiktok_ads_ad_groups_create, tiktok_ads_ad_groups_update, tiktok_ads_ad_groups_status_updateAd group lifecycle.
tiktok_ads_list, tiktok_ads_create, tiktok_ads_ad_status_update, tiktok_ads_updateAd lifecycle and supported incremental content changes. Describe the selected tool before editing; Smart+ ads use their dedicated tools.
tiktok_ads_videos_upload, tiktok_ads_videos_get, tiktok_ads_videos_searchVideo creative upload + lookup.
tiktok_ads_integrated_reports_getPerformance reporting.
tiktok_ads_custom_audiences_create, tiktok_ads_custom_audiences_list, tiktok_ads_lookalike_audiences_createAudience management (optional).

Phase 1: Account Discovery

Initial Setup

  • Use tiktok_ads_advertiser_accounts_list() to get advertiser IDs.
  • If multiple accounts: ask the user to select one.
  • If single account: inform the user and proceed.

Bid Benchmarks (optional but recommended)

Before setting bid prices, call tiktok_ads_benchmarks_get to retrieve industry-specific CPM/CPC benchmarks. This prevents using placeholder values that may be too low to win auctions or too high for the user's budget.

python
tiktok_ads_benchmarks_get(
    advertiser_id="123456789",
    dimensions=["industry"],
    filtering={"industry": "292801"}  # industry code from tiktok_ads_advertiser_accounts_list
)

Available Campaign Objectives

ObjectiveBest ForKey Requirements
TRAFFICDrive website visitspromotion_type="WEBSITE", CPC billing
CONVERSIONSDrive purchases / leadsPixel ID, conversion event tracking
REACHBrand awarenessManual placement only, CPM billing, frequency cap
APP_PROMOTIONApp installsApp ID, app store URL
VIDEO_VIEWVideo engagementVideo creative assets

Phase 2: Campaign Creation

Step 1: Create Campaign

Budget Requirements:

  • MINIMUM $50 for campaign-level budgets (TikTok requirement).
  • budget_mode: BUDGET_MODE_INFINITE (CBO), BUDGET_MODE_DAY, or BUDGET_MODE_TOTAL.
python
tiktok_ads_campaigns_create(
    advertiser_id="123456789",
    campaign_name="Summer Sale 2026",
    objective_type="TRAFFIC",
    budget_mode="BUDGET_MODE_DAY",
    budget=50.0,  # MINIMUM $50/day
    operation_status="ENABLE"
)

Step 2: Create Ad Group

ALWAYS REQUIRED Parameters:

  • advertiser_id, campaign_id, adgroup_name.
  • location_ids (e.g., ["6252001"] for US).
  • schedule_type and schedule_start_time (MUST be a future date).
  • billing_event (CPC, CPM, OCPM).
  • budget_mode (REQUIRED for ad groups).

For TRAFFIC Campaigns:

python
tiktok_ads_ad_groups_create(
    advertiser_id="123456789",
    campaign_id="1234567890123456",
    adgroup_name="Website Traffic - Summer Sale",
    location_ids=["6252001"],  # US
    schedule_type="SCHEDULE_FROM_NOW",
    schedule_start_time="2026-06-01 00:00:00",  # FUTURE DATE
    billing_event="CPC",
    budget_mode="BUDGET_MODE_DAY",
    budget=30.0,
    promotion_type="WEBSITE",        # REQUIRED for TRAFFIC
    optimization_goal="CLICK",       # REQUIRED (correct spelling)
    bid_price=0.50,
    placement_type="PLACEMENT_TYPE_AUTOMATIC",
    operation_status="ENABLE"
)

For REACH Campaigns:

python
tiktok_ads_ad_groups_create(
    advertiser_id="123456789",
    campaign_id="1234567890123456",
    adgroup_name="Brand Awareness US",
    location_ids=["6252001"],
    schedule_type="SCHEDULE_FROM_NOW",
    schedule_start_time="2026-06-01 00:00:00",
    billing_event="CPM",                       # REQUIRED for REACH
    budget_mode="BUDGET_MODE_DAY",
    budget=30.0,
    optimization_goal="REACH",
    placement_type="PLACEMENT_TYPE_NORMAL",    # REQUIRED — automatic NOT supported
    placements=["PLACEMENT_TIKTOK"],           # REQUIRED
    bid_price=2.0,                             # REQUIRED
    frequency=3,                               # REQUIRED
    frequency_schedule=7,                      # REQUIRED
    operation_status="ENABLE"
)

Step 3: Upload Creative Assets

Upload one video per creative variant. Capture the returned video_id — you'll need it in Step 4.

python
video_response = tiktok_ads_videos_upload(
    advertiser_id="123456789",
    video_file=video_data,
    upload_type="UPLOAD_BY_FILE"
)
video_id = video_response["data"]["video_id"]

Already-uploaded videos can be reused. Use tiktok_ads_videos_search to find existing videos by name or tiktok_ads_videos_get to fetch metadata for a known video ID.

Step 4: Create the Ad

python
tiktok_ads_create(
    advertiser_id="123456789",
    adgroup_id="1234567890123456",
    ad_name="Summer Sale - Hero Video",
    identity_type="CUSTOMIZED_USER",   # or "AUTH_CODE" for TikTok Account spark ads
    identity_id="<advertiser_identity_id>",
    ad_format="SINGLE_VIDEO",
    video_id=video_id,
    ad_text="Limited-time summer drop. Shop now.",
    landing_page_url="https://example.com/summer",
    call_to_action="SHOP_NOW",
    operation_status="DISABLE"        # create paused, enable after review
)

Always create ads paused (operation_status="DISABLE") and only flip them to ENABLE once the user has reviewed.

Critical Parameter Rules

Common Errors & Solutions

ErrorSolution
Budget must be at least $50TikTok enforces a MINIMUM $50 for campaign budgets.
Start time in pastUse a future date in schedule_start_time and the current year.
TikTok API rejects optimize_goal in some contextsBoth optimize_goal and optimization_goal exist in the schema, but prefer optimization_goal — it is the field TikTok validates in most objective types.
Only supports manual placementREACH requires placement_type="PLACEMENT_TYPE_NORMAL".
Bid needs to be greater than $0Set bid_price > 0.
Please set frequency capREACH requires both frequency and frequency_schedule.

Parameter Dependencies

TRAFFIC objective requires:

  • promotion_type="WEBSITE".
  • optimization_goal="CLICK".
  • billing_event="CPC".
  • bid_price > 0.

REACH objective requires:

  • optimization_goal="REACH".
  • billing_event="CPM".
  • placement_type="PLACEMENT_TYPE_NORMAL".
  • placements array (e.g., ["PLACEMENT_TIKTOK"]).
  • bid_price > 0.
  • frequency and frequency_schedule.

CONVERSIONS objective requires:

  • A connected TikTok Pixel and a configured conversion event.
  • optimization_goal="CONVERT" (or VALUE for value-based).
  • billing_event="OCPM".
  • pixel_id and external_action set on the ad group.

Reporting

python
tiktok_ads_integrated_reports_get(
    advertiser_id="123456789",
    report_type="BASIC",
    data_level="AUCTION_AD",
    dimensions=["ad_id"],   # ID-based only — NOT names
    start_date="2026-04-01",
    end_date="2026-04-30",
    metrics=["impressions", "clicks", "ctr", "spend", "cpc", "cpm"],
    page_size=20
)

Reporting Rules:

  • With the stat_time_day dimension: maximum 30-day range per call.
  • Use ID-based dimensions only (ad_id, campaign_id, adgroup_id — not names).
  • Conversion metrics (conversion, cost_per_conversion, conversion_rate, etc.) require a connected pixel and a configured conversion event.
  • data_level must match the dimension granularity: AUCTION_AD with ad_id, AUCTION_ADGROUP with adgroup_id, AUCTION_CAMPAIGN with campaign_id.

Safety Rules

Never:

  • Set ad group budgets below $20/day without warning the user.
  • Schedule a campaign with a past schedule_start_time (TikTok rejects this with a confusing error).
  • Mix REACH ad groups with PLACEMENT_TYPE_AUTOMATIC — it will silently fail validation.
  • Create ads with operation_status="ENABLE" before the user has reviewed creative + targeting.
  • Run reports with name-based dimensions — TikTok only accepts ID dimensions.

常见问题

Tiktok Ads AI 技能有什么作用?

通过 Hyper MCP 端到端规划和创建 TikTok 广告系列,并严格验证特定广告目标所需的参数。用户想投放 TikTok 广告、设置 TikTok 流量或覆盖人数广告系列、配置转化或应用推广广告系列、上传 TikTok 视频广告素材,或分析 TikTok 广告效果时使用。提及 tiktok marketing、tiktok campaign、tiktok ppc 或 tiktok ads manager 时也会触发。

为什么在 TypingMind 中使用 Tiktok Ads?

因为您只需安装一次,就能搭配任何模型使用。Tiktok Ads 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Tiktok Ads?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/hyperfx-ai/marketing-skills/tree/main/skills/tiktok-ads。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Tiktok Ads?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Tiktok Ads 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Tiktok Ads 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Tiktok Ads AI 技能免费吗?

是的。hyperfx-ai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇