Communitygithub.com

mardab96/tiktok-ads-claude-skills

诊断TikTok CPA跳升,通过CPM、CTR和CVR在基期与当前窗口之间的变化进行分解,并依次检查追踪、变更、投放组合、创意和落地页。适用于“TikTok CPA翻倍”、“每笔购买成本上涨40%”、“CPA为何飙升”、“CVR下降但点击正常”或“客户想知道哪里出了问题”等场景。

tiktok-ads-claude-skills 是什么?

该技能专为TikTok广告优化师和媒体购买人员设计,用于系统性地诊断CPA(每次转化成本)的异常波动。它通过运行cpa_decompose.py辅助脚本,将CPA变化拆解为CPM(千次展示成本)、CTR(点击率)和CVR(转化率)三个因素的贡献份额,并输出T04分流标签(升级、低于规则、量不足或检查追踪)。技能严格遵循依赖顺序(追踪→变更日志→投放组合→创意→落地页→竞价)排查根本原因,避免仅凭算术结果下结论。它要求用户提供结构化的CSV导出数据(包含基期和当前窗口的成本、展示、点击、转化列),并确保两个窗口长度相等、覆盖相似星期分布且均已度过转化归因延迟。输出格式为一个完整的诊断模板,包含算术分解、有序原因树、已排除因素、残余问题、操作清单和数据缺口。支持在Claude Desktop中使用TikTok for Business MCP连接器(可选),并可与`pixel-events-api-check-tiktok-ads`、`creative-fatigue-detector-tiktok-ads`、`landing-page-match-tiktok-ads`等下游技能衔接。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mardab96/tiktok-ads-claude-skills/tree/HEAD/cpa-spike-diagnosis-tiktok-ads

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

CPA飙升诊断

何时使用此技能

当CPA发生变动,且买家需要先进行算术分析再讲出完整故事时使用。此技能将变动分解为投放成本(CPM)、点击吸引力(CTR)和点击后转化(CVR),应用T04作为分流标签,然后按依赖顺序排查原因。它从不单独根据算术结果指出原因。

常见请求:

  • "CPA周环比翻倍。发生了什么?"
  • "每次线索成本上涨45%。是追踪、创意还是市场因素?"
  • "CPM正常,CTR正常,CVR崩溃。接下来怎么做?"
  • "今天零转化,而这系列广告通常一直有转化。"
  • "客户问为什么TikTok变贵了。今天需要答案。"

以下情况不使用此技能:

  • 事件或像素设置审核,无CPA相关问题:pixel-events-api-check-tiktok-ads
  • 报告数据与独立数据对比:attribution-gap-check-tiktok-ads
  • 对浪费行进行排序:wasted-spend-finder-tiktok-ads
  • 未映射到账户的问题:account-triage-tiktok-ads

必需的输入

基于粘贴的导出数据和截图进行分析。Claude的TikTok for Business MCP连接器为可选。

必需

  • CSV文件,包含列period、cost、impressions、clicks、conversions。period必须严格小写读取为baseline或current。每个时期包含多行数据(例如每日行),脚本会汇总求和。
  • 两个时长相等且星期分布相似的成熟窗口,均在转化延迟结束后结束。
  • 主要事件名称、归因设置、时区、货币、目标CPA。
  • 覆盖基期和当前窗口的带日期的变更日志。
  • Events Manager诊断截图。
  • 落地页和网站发布日期。

可选

  • 按广告系列、广告组或广告拆分的相同导出数据,用于投放组合检查。
  • frequency(频次)、创意发布日期、受众编辑信息。
  • 相同日期范围内的独立订单或线索报告。

导出路径:Reporting(报告),在广告系列、广告组或广告级别选择日期细分,然后查看变更历史或广告系列活动历史。参考../tiktok-ads-shared/references/getting-your-data.md。切勿仅从图表推测变更事件。

分析前准备

  1. 确认飙升是真实的。每个窗口至少需要10个报告转化才能进入T04升级流程;低于该阈值脚本会输出insufficient_volume。
  2. 确认两个窗口使用相同的首要事件、目标和归因设置。定义变化会使两个CPA不可比较。
  3. 排除转化延迟内的天数以及任何部分天。如果近期窗口仍在收集转化,这是最常见的虚假飙升。
  4. 标记当前窗口内新启动的广告组。这些广告组对学习敏感(T05),可能在其它方面无衰退的情况下推高CPA。
  5. 两个窗口一致使用同一点击列,因为CTR和CVR都依赖于导出的点击计数。

分析工作流

  1. 说明两个窗口的日期和时长。如果不等长或位于延迟期内,停止并输出needs_data。
  2. 从技能文件夹运行辅助脚本: python3 ../tiktok-ads-shared/scripts/cpa_decompose.py cpa.csv
  3. 解读恒等式。CPA = CPM ÷ 1000 ÷ (CTR × CVR)。此处的CVR = 转化数 ÷ 点击次数。计算当前与基期的CPM比率、CTR比率(取倒数)和CVR比率(取倒数);三者相乘即为CPA比率。
  4. 将每个因素表示为CPA变动的份额:因素比率的自然对数除以CPA比率的自然对数。当某个因素抵消上涨时,份额可以为负,且这些份额仅描述算术关系。
  5. 读取脚本输出的T04标签(参见决策规则)。
  6. 首先检查追踪:T10模式、诊断、事件变更、网站发布。如果各广告系列出现统一下降,表明问题在于投放前的衡量。
  7. 对照变动开始日期检查变更日志:预算、出价策略、受众、创意和事件编辑,并判断影响是否存在于被编辑的实体中。
  8. 使用转化产出(而非按花费加权的CPA算术均值)检查投放组合。设w_i为细分i在基期的花费占比,y_i为在其当前窗口的转化数除以当前花费。反事实CPA = 1 / sum(w_i * y_i)。如果一个细分有花费但零转化,则y_i = 0;如果一个细分在当前窗口无花费,则无法观测其产出,需请求可比较数据。如果加权总产出为零,则CPA无定义,需进行追踪审查。将固定组合的CPA与基期和实际当前CPA比较:接近基期表明是组合转移;接近当前表明是细分内部恶化。示例:假设各细分CPA不变,分别为20和80,基期花费800/800,当前花费400/1600,则基期CPA为32,当前CPA为50,固定组合CPA为32,因此上涨来源于组合变化。
  9. 检查创意(CTR主导的变动),然后检查落地页(CVR主导且CTR稳定的变动),最后检查竞价(CPM主导的变动)。当广告系列为自动化时,使用Smart+的分配说明。
  10. 说明无法解释的残余问题,并列出有序的操作清单及哪些操作需要等待。

决策规则

脚本约定:唯一参数是CSV路径。它会为每个窗口输出一行,包含cost、impressions、clicks、conversions、cpm、ctr、cvr、cpa,然后是cpa_change_pct、T04_verdict及其解释。忽略其余period值的行。如果缺少baseline或current窗口,脚本报错退出。退出码2对应无法读取的文件和缺失列。

输出的T04标签含义判定下一步
escalate当前CPA至少比基期高30%,且每个窗口至少10次转化(T04)likely(真实变动,原因未知)按顺序检查追踪、变更日志、投放组合、创意、落地页
below_rule变动小于30%,或CPA下降monitor(监控)保持窗口,下一周期重新运行
insufficient_volume某窗口转化数低于10needs_data(需要数据)扩大窗口,不可诊断
check_tracking当前转化数为零,CPA显示n/aneeds_data(需要数据)捕获Events Manager和诊断数据;不可仅凭CPA断言追踪问题
因素模式优先测试区域缺乏证据时的判定下一步
转化数下降至少30%,且点击数波动在10%以内(T10)事件投放possible(可能)pixel-events-api-check-tiktok-ads
CVR主导,CTR和CPM稳定落地页、优惠、结账、事件possible(可能)在追踪问题排除后,执行landing-page-match-tiktok-ads
CTR主导,CVR稳定创意吸引力、受众possible(可能)creative-fatigue-detector-tiktok-ads(T01阈值)、hook-rate-scorer-tiktok-ads
CPM主导,CTR和CVR稳定竞价压力、受众或投放位置组合possible(可能)placement-review-tiktok-ads(T08),季节性检查
各细分CPA稳定,花费权重发生转移投放组合likely(很可能,一旦重新加权显示)变更日志中的预算或受众编辑
变动前几天内有带日期的变更,且影响发生在该实体中人为编辑confirmed(确认,当条目和影响同时出现时)在回滚前执行learning-phase-guard-tiktok-ads
窗口内有新广告组学习阶段(T05)monitor(监控)保持优化编辑,直到学习结束
报告数据变动,但独立报告持平归因possible(可能)attribution-gap-check-tiktok-ads(T07)

对算术结果的陈述是confirmed(例如CPM下降,因此竞价成本不是此上涨的驱动因素)。对原因的陈述需要带日期的条目、诊断截图或发布日期;否则保持possible或likely。应优先提供少量确认的原因并标记残余问题,而非列出完整清单。

输出格式

填写此模板。

## CPA诊断:[广告系列或账户],[货币],[时区]
基期:[日期,n天] | 当前窗口:[日期,n天] | 延迟已排除:[是/否] | 事件:[名称]
执行的命令:[精确命令]

### 算术分解
| 时期 | 成本 | 展示 | 点击 | 转化 | CPM | CTR | CVR | CPA |
|---|---|---|---|---|---|---|---|---|
T04标签:[标签] | CPA变化:[%] | 因素份额:CPM [%],CTR [%],CVR [%]

### 原因树(有序)
| 发现 | 证据 | 判定 | 严重程度 | 置信度 | 业务影响 | 下一步 |
|---|---|---|---|---|---|---|

### 已排除因素
[已排除的原因及排除它们的证据]

### 残余问题
[仍未解释的部分,切勿分摊到多个原因]

### 有序操作及等待清单
[按依赖顺序修复;需要等待的编辑及其前提条件]

### 数据缺口
[缺失的诊断、变更日志、细分导出数据,以及每个缺口能巩固的判定]

实际示例

仅为示例数据。两个7天窗口,目标CPA 50美元。输入行:baseline,4200,520000,5200,84 和 current,4500,600000,4800,56。

period    cost     impressions  clicks  conversions  cpm   ctr    cvr    cpa
baseline  4200.00  520000       5200    84.00        8.08  1.00%  1.62%  50.00
current   4500.00  600000       4800    56.00        7.50  0.80%  1.17%  80.36
cpa_change_pct:  60.7%
T04_verdict:     escalate

CPA上涨60.7%。因素比率:CPM 0.93,CTR 0.80,CVR 0.72。按对数份额计算,CVR约占变动69%,CTR约占47%,更便宜的CPM抵消了约16%。当一个因素抵消另一个时,份额总和可超过100%。

原因树:CPM下降,因此竞价成本confirmed不是驱动因素。转化数下降33%,同时点击数下降8%,符合T10模式,因此事件投放possible,高严重性,影响衡量,诊断缺失(needs_data)。当前窗口第3天发布了产品页模板,第1天投放了一批新创意,因此对CVR份额而言落地页possible,对CTR份额而言创意possible(频次未导出)。

有序操作:先捕获Events Manager并运行事件测试,然后按发布日期前后拆分每日CVR,最后对新批次执行T01检查。在追踪验证前,暂停预算和出价编辑。残余问题:因缺少每日行数据,尚未量化。

常见失败模式

  • 将escalate解读为诊断结论。T04是分流标签,不是原因。
  • 比较时长不等或星期分布不同的窗口。
  • 包含转化延迟内的天数,这会抬高CPA。
  • 仅凭CPA就断言追踪故障。需要T10模式和诊断作为证据。
  • 将因素份额视为可加性的原因。多个原因可能隐藏在一个因素之后。
  • CPM未上涨时却归咎于竞价环境。
  • 忽略处于学习阶段的广告组:新广告组在探索期间会抬高CPA(T05)。
  • 将Smart+的变动归咎于事件变更。先检查事件。
  • 未进行独立对比就将平台转化视为实际销售额。

下一步衔接路径

事件投放:pixel-events-api-check-tiktok-ads。报告与独立数据差距:attribution-gap-check-tiktok-ads。创意:creative-fatigue-detector-tiktok-ads,hook-rate-scorer-tiktok-ads。页面:landing-page-match-tiktok-ads。投放位置:placement-review-tiktok-ads。等待学习阶段的编辑:learning-phase-guard-tiktok-ads。浪费行:wasted-spend-finder-tiktok-ads。自动化广告系列:smart-plus-audit-tiktok-ads。

护栏

  • 不得对在线账户、预算、出价、投放位置、追踪、Shop、落地页或创意进行实际更改。
  • 不得诊断仍处于转化延迟期内或转化数低于10的窗口。
  • 不得仅凭分解结果就指出原因。
  • 不得仅凭CPA就说追踪故障;需请求Events Manager诊断截图。
  • 在未确认追踪正确报告CPA之前,不建议对出价或预算做出反应。
  • 在未提供成本堆叠的情况下,不得将平台报告的转化数或GMV视为利润。
  • 不得隐瞒缺失日期、延迟、归因设置或转化定义。
  • 在获得对照衡量结果之前,不得声称任何结果。

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

mardab96/tiktok-ads-claude-skills

Runs an ordered, layer-by-layer triage of an unfamiliar TikTok Ads account (tracking, structure, learning, creative, bidding, landing page) and hands the first blocker to one named sibling skill. Use when the user inherits a TikTok account, onboards a client, asks where to start, says TikTok results dropped with no known cause, asks whether an account is ready to scale, or says "audit this TikTok account" without naming a problem.

mardab96/tiktok-ads-claude-skills

Reconciles TikTok Ads Manager conversions with GA4, Shopify, CRM, or app analytics using a baseline-ratio method, separating click-through from view-through credit, attribution window and timezone differences, and real tracking drift (T07). Use when a TikTok media buyer or client says "TikTok says 200 sales, Shopify says 90", "GA4 does not show our TikTok conversions", "TikTok ROAS looks too good", "the gap got bigger this month", or "which number do we report to the client".

mardab96/tiktok-ads-claude-skills

Checks whether a TikTok ad group's bidding strategy fits its goal, budget, and conversion volume using the labels TikTok currently lists (Maximum Results, Target Cost per Result, value options as shown in the account) and asks for a screenshot before mapping any legacy name. Use when someone types "Maximum Results or Target Cost per Result", "Cost Cap vs Lowest Cost on TikTok", "our target CPA is too low and delivery died", "bid strategy check", or "should we use hybrid bidding".

mardab96/tiktok-ads-claude-skills

Builds a staged TikTok budget plan with entry gates, one change per observation window, stop rules, and a recorded rollback, using T04, T05, T06, and T10 from the shared register. Use when someone types "can we scale this TikTok campaign", "double the budget on the winner", "how fast can I raise the daily budget", "scale before the sale", or "plan the budget increase for next week".

mardab96/tiktok-ads-claude-skills

Strips personal data from TikTok ad comments, clusters them into objections, questions, proof requests, and noise with counts, links each cluster to product facts, and drafts reply options and hook ideas for approval. Use when the user pastes TikTok comments and asks "what are people objecting to", "mine the comments for hooks", "draft replies to these comments", "what do viewers keep asking", or wants an FAQ and creative briefs built from comment themes.

mardab96/tiktok-ads-claude-skills

Detects whether a TikTok ad is tiring by comparing the last seven distinct dates with the preceding seven for frequency and CTR, using the bundled fatigue_scan.py script and a 14-date rule, then builds a control-versus-refresh queue. Use when the user asks "is this TikTok ad fatigued", says CTR is dropping while frequency climbs, wants to know when to refresh TikTok creative, or pastes a daily ad export and asks which ads to replace.

mardab96/tiktok-ads-claude-skills

Turns TikTok Shop and GMV Max reporting into a per-product cost-stack ledger with refunds, affiliate commissions, seller-funded coupons, referral fees, ad spend, COGS, and seller-borne shipping, using gmv_profit.py to flag any incomplete cost stack (T09). Use when a TikTok Shop seller or media buyer says "GMV Max ROI looks great but we are not making money", "is this product profitable on TikTok Shop", "check our TikTok Shop margins", "affiliate commissions are eating us", or before raising a GMV Max budget or ROI target.

mardab96/tiktok-ads-claude-skills

Scores the opening seconds of TikTok ads by computing 2-second and 6-second view rates and a thumb-stop proxy from ad-level export columns, comparing them with like-for-like ads, and scoring the script opening on a five-point rubric. Use when the user asks "which TikTok hook is weak", "what's my hook rate", "why do people scroll past my ad", wants a hook test plan, or pastes a transcript of the first seconds next to video-view columns.

mardab96/tiktok-ads-claude-skills

Compares a TikTok ad's spoken and on-screen promise with what a phone user sees on the first mobile screen after the tap, then checks in-app browser load friction and form or checkout friction, and writes a repair brief. Use when a TikTok media buyer says "CTR is fine but nobody buys", "the ad says one thing and the page says another", "check this landing page against our TikTok ad", "landing page views are way below clicks", "our TikTok lead form converts badly", or before scaling a winning TikTok creative onto a new page.

mardab96/tiktok-ads-claude-skills

Sequences planned TikTok edits around the learning phase, separating urgent repairs from optimisation, naming which edits TikTok itself labels as affecting learning, and ordering one observable action at a time with rollback. Use when someone types "can I edit this ad group during learning", "will this reset the learning phase", "campaign is in learning, what can we change", "sequence these changes", or "the client wants five edits this week".

mardab96/tiktok-ads-claude-skills

Checks TikTok Pixel and Events API health from Events Manager screenshots and an Ads Manager export, covering event match signals, event_id deduplication between browser and server events, parameter completeness on value events, and primary-event drops against stable clicks (T10). Use when a TikTok media buyer says "purchases dropped but clicks are flat", "check our TikTok pixel", "is Events API deduplicating", "Events Manager shows a diagnostic warning", "TikTok value does not match our orders", or before any bid, budget, or scale call that depends on TikTok conversion data.

mardab96/tiktok-ads-claude-skills

Reviews TikTok Ads delivery split between the TikTok placement and Pangle or TikTok Ad Network inventory (as labelled in your Ads Manager), testing CPA and downstream quality per placement against T08 and keeping brand safety and suitability as a separate question. Use when a TikTok media buyer says "should we turn off Pangle", "where is our TikTok spend actually going", "automatic placement is eating budget", "network traffic converts badly", "is our TikTok ad showing next to unsafe content", or when a client asks for a placement and brand safety readout.

mardab96/tiktok-ads-claude-skills

Reviews TikTok Search Ads search terms and keywords and decides what to add as a keyword, add as a negative, or watch, with match handling as labelled in the account and a lag-aware waste floor. Use when someone types "review our TikTok search terms", "negative keyword list for TikTok Search Ads", "which queries should become keywords", "broad match is bringing junk", or "Search Ads spend with zero conversions".

mardab96/tiktok-ads-claude-skills

Audits a TikTok Smart+ campaign by mapping what Smart+ automates against what the media buyer still controls (creative supply, audience exclusions, conversion event, budget, bidding), then ranks the risks. Use when someone types "audit our Smart+ campaign", "what does Smart+ actually control", "Smart+ vs manual", "Smart+ spend is up but results are flat", or "can we trust Smart+ with this budget".

mardab96/tiktok-ads-claude-skills

Compares TikTok Spark Ads with brand-handle ads like-for-like by matching objective, optimization event, audience, offer, placements, bidding label, dates, and concept before any metric is read, then records authorization status and designs a matched test when no clean pair exists. Use when the user asks "do Spark ads perform better than our brand ads", "Spark vs non-Spark", "should we boost creator posts", "why is the creator ad cheaper", or pastes ad-level data with a format column and wants a verdict.

mardab96/tiktok-ads-claude-skills

Writes a complete creator-facing UGC brief for TikTok ads, with viewer situation, one message, three hook options, scene structure, claims allowed and forbidden, do and don't lists, disclosure, usage rights, and a Spark authorization note, plus an internal approval checklist. Use when the user says "write a UGC brief for TikTok", "brief a creator", "I need a creator script with approved claims", "what rights do I need to run this creator video as an ad", or has product facts and needs something a creator can film from.

mardab96/tiktok-ads-claude-skills

Finds mature TikTok campaigns, ad groups, and ads that spent past a CPA-based floor with zero reported conversions, after excluding rows still inside the conversion lag, using the wasted_spend.py helper. Use when someone types "where is the wasted spend on TikTok", "which ad groups burn budget with no conversions", "what can we cut before we scale", "zero conversion ads", or "clean this account before the client call".

mardab96/tiktok-ads-claude-skills

Writes the weekly TikTok Ads client report as a plain-language narrative, a scorecard against the client goal, and next-week decisions with owners and approvals, after an integrity check on tracking, lag, and learning status (T04, T05, T07, T10). Use when an agency or freelance TikTok media buyer says "write the weekly TikTok report", "client update is due", "explain this week's TikTok results to the client", "what do we tell the client about CPA going up", or "set up a repeatable TikTok report format".

mardab96/tiktok-ads-claude-skills

Turns one proven TikTok ad into N distinct angle scripts, each with hook, body beats, CTA, on-screen text, and a shot list, after deconstructing why the winner worked and checking every claim against product facts and rights. Use when the user says "remix my winning TikTok ad", "give me new angles on this winner", "I need five scripts like this one", "my best ad is wearing out, what next", or pastes a winning transcript and asks for variations.

相关技能