Communitygithub.com

TikTok 廣告分析器

透過 InsightfulPipe MCP 即時分析 TikTok 廣告帳戶資料。拉取廣告活動、廣告群組、廣告並自行產出報告,評估創意漏斗(鉤點率、6秒停留、完成率、點擊率),報告每次成果成本與目標優化 ROAS,排名最佳創意,比較 Spark Ads 與純廣告貼文、Smart+ 與手動廣告活動及出價策略,依年齡、性別、地區、版位(含 Pangle)與裝置細分結果,解釋每次成本暴增原因,檢查像素、名單與商店設定,並預測月底花費。

TikTok 廣告分析器 是什麼?

這是一個專為 TikTok 廣告分析設計的 AI 技能,能直接從 InsightfulPipe MCP 讀取即時帳戶資料,無需手動匯出報告。它可全面評估創意漏斗(鉤點率、6秒停留、完成率、點擊率、每次點擊成果數與互動率),並根據帳戶本身基準(非業界標準)進行評級。技能支援詳細分析,包括 Smart+ 與手動廣告活動比較、出價策略評估、Spark Ads 與純廣告貼文對比,以及依年齡、性別、地區、版位(含 Pangle)與裝置的細分報告。它也處理成本暴增診斷、像素與商店設定檢查、月底花費預測。此技能適用於 Claude Code、Cursor 或 Codex 等平台,並以自然語言提示(如「分析我的 TikTok 廣告」或「為什麼 TikTok 成本上升了?」)驅動。所有資料透過 API 呼叫取得,並附帶明確的資料門檻(如創意指標需至少 1,000 次曝光才評級),並能在用戶確認後執行暫停虧損廣告或調整廣告群組預算等變更。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Insightful-Pipe/marketing-skills/tree/HEAD/skills/tiktok-ads-analyzer

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

TikTok 廣告分析器 是做什麼的?

這項分析直接讀取帳戶資料,無需要求匯出。每個數字都來自信能自行執行的呼叫,且每項發現都會指出背後的呼叫與數值。

TikTok 是以創意為優先的競價環境。動態饋給約在一秒內決定影片是否被觀看,因此大多數 TikTok 問題在出價之前就會在創意漏斗中顯現:人們不停下、停下但不留下、留下但不點擊、或點擊但不轉換。此技能會找出哪個環節出錯、針對哪些廣告和哪些受眾,並說明應如何調整。

開始之前

你需要已連接 InsightfulPipe MCP 和一個 TikTok 廣告帳戶(平台 tiktok-ads)。

沒有已連接的 TikTok 帳戶? 要求提供廣告層級的 TikTok Ads Manager 匯出資料(花費、曝光、點擊、成果、2秒、6秒和100%影片觀看、按讚、留言、分享),如有年齡和性別細分也一併要求。對第2和第3節使用相同公式和門檻進行分析,並標記其他所有節為「未評分:需要連接」。

  1. 使用 request="accounts" 和 platform="tiktok-ads" 呼叫 query_contexts。記錄 workspace_id、brand_id 和 advertiser_id。如果有多個廣告主,請詢問哪一個。
  2. 使用 request="actions_details" 呼叫 query_contexts,分別針對 advertisers_metadata、campaigns_metadata、adgroups_metadata、ads_metadata、integrated_report_basic、tool_targeting_info、gmv_max_store_list、gmv_max_campaigns 和 gmv_max_report,以及你可能提供的兩項變更:ad_status_update 和 adgroup_update。讀取詳細資訊不會執行任何操作。遵循它回傳的請求主體結構。
  3. 釐清使用者需求,並只詢問該需求所需的內容:
請求執行項目詢問(預設值在括號中)
「分析我的 TikTok 廣告」每個節目標每次成果成本 [帳戶本身在相同時間區間內,針對相同優化目標的每次成果成本]
單一問題(Spark Ads vs 純廣告貼文、Pangle、年齡層、成本暴增、預算節奏、出價、名單、像素、商店)步驟 1、步驟 2 與對應的節同上
「月度客戶報告」上一個日曆月的所有節,加上前一個月的步驟 2要列印的客戶名稱 [廣告主名稱];每月預算 [無:則預算節奏僅顯示花費]
依類型的創意鉤點分析第 2 節每個廣告使用哪種鉤點或格式(問題、大膽宣稱、產品優先、創作者介紹、示範、UGC 推薦)。從廣告名稱中讀取,若未註明則詢問。絕不從數字猜測創意類型。

時間區間。 使用廣告主 display_timezone 中最近完整的 30 天。在報告頂部註明日期與幣別。如果時間區間內無花費:

  1. 執行步驟 0 中的「整個生命週期」呼叫。如果生命週期花費為 0,則表示該帳戶從未花費並停止。
  2. 否則,以 30 天為單位往回搜尋每日時間區間(最多 12 次,一年),直到找到有資料的區間。最新的 stat_time_day 有花費的日期即為最後活躍日。
  3. 分析截至該日的 30 天資料,並將整個報告標記為「歷史資料:自 <日期> 後無花費」。

如何執行呼叫

讀取操作透過 query_data 並帶上 platform="tiktok-ads" 執行;「此技能可執行的變更」中的兩項變更則透過 execute_action 執行。每個請求主體也需包含 platform、workspace_id、brand_id、account_id 和 advertiser_id(廣告主 ID 需同時填入最後兩個欄位)。下方僅顯示其餘部分。API 強制執行的規則:

  • 傳遞 "page_size": 1000。 預設頁面為 10 筆資料。當 page_info.total_page 大於目前頁面時,請獲取下一 page。
  • 報告篩選器為列表。 integrated_report_basic 接受 "filtering": [{"field_name": "adgroup_ids", "filter_type": "IN", "filter_value": "[\"123\",\"456\"]"}],ID 為 JSON 字串。若傳入物件會失敗,而頂層的 filters 會被忽略,導致你得到所有資料列。指標篩選器(例如花費大於 0)會失敗;請自行篩選資料列。
  • 元資料篩選器為物件。 adgroups_metadata 和 ads_metadata 接受 "filtering": {"adgroup_ids": ["..."]}。頂層的 adgroup_ids 會被忽略。
  • 僅在廣告群組或廣告層級讀取 result 和 cost_per_result。 它們計算廣告群組所優化的目標(點擊、名單、轉換、觀看)。在廣告活動層級,result 可能顯示為 0,但其廣告群組在同一花費下顯示為 6;而在廣告主層級,它會將點擊、名單和觀看加總在一起。因此,細分呼叫(年齡、地區、版位、裝置)也需在廣告群組層級執行,並將 adgroup_id 作為維度。絕不將不同優化目標的結果相加,也絕不跨目標排名。
  • 細分報告需要 report_type: "AUDIENCE"。 age、gender、country_code、province_id、placement 和 platform 在 BASIC 報告中無法使用。一次受眾呼叫不能混合 placement 和 platform;請分開執行。
  • 按 CPC 計費時,細分花費跟隨點擊。 當廣告群組的 billing_event 為 CPC 時,有曝光但無點擊的年齡或地區資料列會顯示 $0 花費。比較這些資料列時,應依據點擊率和每次曝光成果數,而非 CPM 或花費佔比。
  • 數字以字串形式回傳。 比較前請先轉換。非每日報告會為每個實體回傳一列,包含零列。每日報告(stat_time_day)則會省略零日,且超過 30 天的每日時間區間會失敗。
  • 欄位陷阱。 在廣告群組上,behavior_target_ids 會中斷呼叫;請從 actions 讀取行為定向。在廣告主上,industry 會中斷呼叫。廣告文案位於 ad_text 或 ad_texts 列表中;請兩者都讀取。

如果某個呼叫失敗,請繼續執行。將該節標記為未知,說明是哪個呼叫失敗及其原因,且絕不猜測填補缺口。

步驟 0:找出時間區間(僅當最近 30 天無花費時)

{"action": "integrated_report_basic", "service_type": "AUCTION", "report_type": "BASIC",
 "data_level": "AUCTION_ADVERTISER", "dimensions": ["advertiser_id"],
 "metrics": ["spend", "impressions", "clicks"], "query_lifetime": true,
 "start_date": "<START>", "end_date": "<END>"}
{"action": "integrated_report_basic", "service_type": "AUCTION", "report_type": "BASIC",
 "data_level": "AUCTION_ADVERTISER", "dimensions": ["advertiser_id", "stat_time_day"],
 "metrics": ["spend", "impressions", "clicks"],
 "start_date": "<START>", "end_date": "<END>", "page_size": 1000}

步驟 1:讀取帳戶

{"action": "advertisers_metadata", "advertiser_ids": ["<ADVERTISER_ID>"],
 "fields": ["advertiser_id", "name", "currency", "timezone", "display_timezone", "country", "status"]}
{"action": "campaigns_metadata", "page_size": 1000,
 "fields": ["campaign_id", "campaign_name", "objective_type", "campaign_type", "campaign_automation_type", "is_smart_performance_campaign", "budget", "budget_mode", "budget_optimize_on", "operation_status", "secondary_status", "create_time"]}
{"action": "adgroups_metadata", "page_size": 1000,
 "fields": ["adgroup_id", "adgroup_name", "campaign_id", "budget", "budget_mode", "bid_type", "bid_price", "conversion_bid_price", "deep_bid_type", "roas_bid", "optimization_goal", "billing_event", "pacing", "placement_type", "placements", "age_groups", "gender", "location_ids", "interest_category_ids", "interest_keyword_ids", "actions", "audience_ids", "excluded_audience_ids", "targeting_expansion", "pixel_id", "schedule_start_time", "schedule_end_time", "operation_status", "secondary_status"]}
{"action": "ads_metadata", "page_size": 1000,
 "fields": ["ad_id", "ad_name", "adgroup_id", "campaign_id", "ad_format", "ad_text", "ad_texts", "call_to_action", "identity_type", "identity_id", "tiktok_item_id", "dark_post_status", "video_id", "landing_page_url", "catalog_id", "operation_status", "secondary_status", "create_time"]}

根據這些資料,撰寫帳戶快照:使用的目標、在時間區間內投放的廣告活動/廣告群組/廣告數量、哪些廣告活動是 Smart+(campaign_automation_type 非 MANUAL,或 is_smart_performance_campaign 為 true)、預算層級(當 budget_optimize_on 為 true 時為廣告活動預算,否則為廣告群組預算),以及每個投放中廣告群組的優化目標、出價類型和計費事件。

步驟 2:依廣告群組和廣告分析成效

{"action": "integrated_report_basic", "service_type": "AUCTION", "report_type": "BASIC",
 "data_level": "AUCTION_ADGROUP", "dimensions": ["adgroup_id"],
 "metrics": ["spend", "impressions", "reach", "frequency", "clicks", "ctr", "cpm", "result", "cost_per_result", "conversion", "cost_per_conversion", "total_sales_lead", "cost_per_total_sales_lead", "complete_payment", "total_purchase_value"],
 "start_date": "<START>", "end_date": "<END>", "page_size": 1000}
{"action": "integrated_report_basic", "service_type": "AUCTION", "report_type": "BASIC",
 "data_level": "AUCTION_AD", "dimensions": ["ad_id"],
 "metrics": ["spend", "impressions", "clicks", "ctr", "result", "cost_per_result", "video_play_actions", "video_watched_2s", "video_watched_6s", "video_views_p25", "video_views_p50", "video_views_p75", "video_views_p100", "average_video_play", "likes", "comments", "shares", "follows", "profile_visits"],
 "start_date": "<START>", "end_date": "<END>", "page_size": 1000}

刪除花費和曝光皆為 0 的資料列。將廣告資料列與 ads_metadata 連接,廣告群組資料列與 adgroups_metadata 連接,以取得名稱、目標和設定。重點是帳戶的總花費、曝光、點擊和點擊率,然後是每個優化目標的結果和每次成果成本。

ROAS。 對於每個優化目標,也顯示購買次數(complete_payment)、購買價值(total_purchase_value)和 ROAS(total_purchase_value ÷ 花費)。花費和購買價值都是金額,因此帳戶 ROAS 可以跨目標加總,這與結果不同。具有 roas_bid 的廣告群組會根據 ROAS 與該目標進行比較。若時間區間內無購買價值,則將 ROAS 顯示為「未評分:無追蹤購買價值」,並指向第 6 節;絕不顯示 0.00x 假裝已測量。

數量門檻。 僅在至少有 1,000 次曝光時評級廣告的創意指標。僅在至少有 10 個結果的資料列之間比較每次成果成本。僅在至少有 1,000 次曝光時評級細分資料列(年齡區間、地區、版位)。低於門檻時,顯示標註「方向性,未評分」的數字。

第 1 節:帳戶類型(Smart+、出價、預算)

  • Smart+ 與手動比較(提示:Smart+ 審查)。 比較具有相同目標的 Smart+ 和手動廣告活動,依據每次成果成本、結果和花費佔比。Smart+ 將定向和版位交給 TikTok,因此根據成果以及它是否搶走了手動廣告活動的花費來評斷。若時間區間內無 Smart+ 廣告活動,請說明。
  • 出價策略。 將投放中的廣告群組依優化目標分組,再依 bid_type(BID_TYPE_NO_BID 為最低成本,BID_TYPE_CUSTOM 為上限;conversion_bid_price 或 bid_price 儲存上限值)和 deep_bid_type 分組。在同一個目標內,比較每次成果成本、結果以及每組花費了多少預算。花費不到一半預算的上限設定得太緊。每次成果成本比目標高出 30% 以上的最低成本組,是設定目標成本上限的候選對象。
  • 學習狀態。 在過去 7 天內結果少於 50 個的廣告群組通常尚未穩定。在評判其每次成果成本之前先說明此情況,並在大多數廣告群組低於該門檻時,建議選擇更高量的目標或減少但擴大廣告群組規模。

第 2 節:創意(鉤點、排行榜、Spark Ads)

針對每個廣告計算:

指標公式弱值代表的意義
鉤點率video_watched_2s ÷ impressions第一秒無法阻止滑動
6秒停留video_watched_6s ÷ video_watched_2s人們停下但在重點前離開
完成率video_views_p100 ÷ impressions影片太長或失去重點
點擊率clicks ÷ impressions影片娛樂但未提出要求,或要求不明確
每次點擊成果result ÷ clicks點擊後的頁面、表單或優惠不具轉換力
互動率(likes + comments + shares) ÷ impressions無人反應,因此 TikTok 減少其曝光

同時顯示 average_video_play(秒)。分享是最強的互動訊號,按讚是最弱的。此報告不回傳收藏,因此請忽略並說明。

  • 根據帳戶基準評分,而非通用基準。 使用已評分廣告的曝光加權平均作為基準線。某廣告在某指標上比基準線低 20% 或以上即為弱項,高 20% 或以上即為強項。按照漏斗順序(鉤點、停留、點擊率、每次點擊成果)中第一個弱項即為該廣告的問題診斷。若已評分廣告少於 2 個則無基準線;僅報告數字並說明。
  • 最佳創意排行榜。 在每個優化目標內,依每次成果成本對已評分廣告進行排名(最低在前;結果少於 10 個的廣告排在之後,依點擊率排名)。顯示花費、鉤點率、停留率、點擊率、結果、每次成果成本與診斷。
  • 鉤點與格式類型。 當用戶已為廣告標記鉤點或格式時,計算每種類型在其已評分廣告中的平均鉤點率和平均每次成果成本,並指出應增加哪種類型的製作。若無標記,則跳過此項並說明如何標記(將鉤點類型放入廣告名稱中)。
  • Spark Ads 與純廣告貼文及自訂身份之比較(提示:Spark Ads vs 暗黑貼文)。 依身份對廣告進行分組:identity_type CUSTOMIZED_USER 是以自訂名稱和大頭貼運行的非 Spark 廣告。TikTok 帳戶身份(TT_USER、BC_AUTH_TT、AUTH_CODE)且 dark_post_status ON 是純廣告貼文:它從該帳戶投放,但不會出現在其個人檔案上。相同身份且 dark_post_status OFF 則會推廣一篇同時存在於個人檔案的貼文,其按讚、留言和分享會保留在該貼文中。每個廣告都帶有 tiktok_item_id,因此單憑該欄位無法區分它們。在一個優化目標內比較各組,

Individual skills in this repo

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

Insightful-Pipe/marketing-skills

Scores how well every active ad matches the page it sends people to, on live data through the InsightfulPipe MCP. Pulls the ads, keywords, sitelinks, Google's landing page rating and conversion rate by page itself, captures each landing page on desktop and mobile, reads its headings and speed, and scores headline, offer, keyword, visual and audience match out of 100 plus the post-click experience (speed, mobile, trust, conversion path). Use when someone asks why ads get clicks but no conversions, why landing page experience or Quality Score is low, whether ads and pages say the same thing, or wants screenshots of the landing page behind every active ad. Can repoint an ad to a better page or add deep-linked sitelinks, only after the user confirms.

Insightful-Pipe/marketing-skills

Audits a landing page, homepage, sales page or any key page for conversion on live data through the InsightfulPipe MCP. Picks the page from GA4, checks that its conversion is measured, reads who arrives (channels, devices, Search Console queries, Google Ads ads and landing page experience), takes the page apart (structure, CTAs, proof, copy), renders it on desktop and mobile and checks speed, then scores seven conversion pillars and ranks the fixes by ICE with rewrites, a page structure and test ideas. Use when someone asks why a page isn't converting, wants a landing page, sales page or website content review, a mobile rendering check of key pages, or a structure for a new landing page.

Insightful-Pipe/marketing-skills

Audits a pricing page on live data through the InsightfulPipe MCP. Pulls the page's GA4 behaviour itself (how many visitors reach pricing, where they come from, how long they read, how far they scroll, what they open next, whether plan clicks and sign-ups are measured, mobile versus desktop), reads the page, scores eight pillars (tier architecture, anchoring, value hierarchy, visual guidance, trust, urgency, objection handling, CTA clarity), compares it with a competitor's page, and returns a graded report with tier-by-tier notes, pricing psychology ideas, rewrites and A/B tests. Use when someone asks why visitors don't upgrade, wants a pricing page audit or a pricing page behaviour report, wants more annual sign-ups, or wants their pricing page compared with a competitor's. Offers two GA4 tracking fixes it runs only after the user confirms.

Insightful-Pipe/marketing-skills

Writes ready-to-shoot video ad scripts for TikTok, Reels, Meta feed, YouTube and LinkedIn, plus video sales letters and product demos, from live data pulled through the InsightfulPipe MCP. Reads hook rate, hold rate and cost per ThruPlay or 6-second view from your Meta and TikTok video ads, the search terms and ad lines that win in Google Ads, and YouTube retention curves, then writes timed scripts with voiceover, visuals, on-screen text, hook variants and a test plan. Use when someone asks for a video ad script, TikTok or YouTube ad script, UGC talking points, a VSL or demo script, a hook and hold report, or a review of a script they already have. It changes nothing in any account.

相關技能