← 返回
数据分析 Key 中文

Meta Ad Creatives

Track Meta (Facebook/Instagram) ad creative performance and hit rates across multiple accounts. Use when asked about creative win rates, which ads are hitting benchmarks, CPT/CPI/ROAS analysis, or comparing creative performance across accounts and time periods. Supports multiple benchmark metrics (CPT, CPI, IPM, ROAS) and currency conversion.
追踪跨多个账户的 Meta(Facebook/Instagram)广告创意表现及命中率。适用于查询创意胜率、达标广告、CPT/CPI/ROAS 分析,或对比不同账户和时段的创意表现。支持多种基准指标(CPT、CPI、IPM、ROAS)及货币转换。
fortytwode
数据分析 clawhub v1.0.0 1 版本 99736.6 Key: 需要
★ 5
Stars
📥 2,172
下载
💾 73
安装
1
版本
#latest

概述

Meta Ad Creatives

Track creative performance and hit rates across multiple Meta Ads accounts.

What This Skill Does

  • Calculate hit rates (% of creatives meeting performance benchmarks)
  • Track multiple metrics: CPT (cost per trial), CPI (cost per install), IPM (installs per mille), ROAS
  • Compare performance across multiple accounts
  • Store historical data for trend analysis
  • Identify winning creatives vs underperformers
  • Support currency conversion for international accounts

Setup

1. Environment Variables

FACEBOOK_ACCESS_TOKEN=your_token_here
FACEBOOK_APP_ID=your_app_id
FACEBOOK_APP_SECRET=your_app_secret

2. Accounts Configuration

Create accounts_config.json:

{
  "accounts": {
    "ClientName": {
      "account_id": "123456789",
      "filter": "CampaignNameFilter",
      "geo_filter": "US",
      "benchmark_value": 100,
      "benchmark_display": "CPT < $100",
      "active": true
    }
  }
}

Configuration fields:

  • account_id: Meta Ad Account ID (without act_ prefix)
  • filter: Campaign name filter (optional)
  • geo_filter: Geographic filter like "US" (optional)
  • benchmark_value: CPT threshold for "winning" creatives
  • benchmark_display: Human-readable benchmark description

Usage

Get Hit Rates for Current Month

from scripts.meta_ad_creatives import get_all_hit_rates

data = get_all_hit_rates(month_offset=0)
print(f"Overall hit rate: {data['totals']['hit_rate']}%")
for account in data['accounts']:
    print(f"  {account['account_name']}: {account['hit_rate']}%")

Get Hit Rates for Previous Months

# Last month
data = get_all_hit_rates(month_offset=-1)

# Two months ago
data = get_all_hit_rates(month_offset=-2)

Get All-Time Aggregated Data

data = get_all_hit_rates(all_time=True)

Get Individual Ad Performance

from scripts.meta_ad_creatives import get_individual_ads

# All ads for an account
ads = get_individual_ads(account_name="ClientName", month_key="2026-01")

# Only winning ads
winners = get_individual_ads(account_name="ClientName", hit_only=True)

# Sort by CPT
ads = get_individual_ads(sort_by="cpt")

Monthly Comparison

from scripts.meta_ad_creatives import get_monthly_comparison

# Compare last 3 months
months = get_monthly_comparison(num_months=3)
for month in months:
    print(f"{month['month_label']}: {month['totals']['hit_rate']}%")

Key Metrics

MetricDescription
---------------------
Total AdsAds created in the period
Ads with SpendAds that received budget
Ads Hitting BenchmarkAds meeting CPT threshold
Hit Rate% of ads meeting benchmark
CPTCost Per Trial (spend / trials)

Hit Rate Calculation

A creative "hits" the benchmark when:

  1. It has spend > $0
  2. It has trials > 0
  3. CPT < benchmark_value (e.g., $100)

Hit Rate = (Ads Hitting Benchmark / Ads with Spend) × 100

Data Storage

The skill stores historical data for trend analysis:

  • Firestore (default for cloud deployments)
  • SQLite (local fallback)

Set USE_FIRESTORE=false to use SQLite locally.

Common Questions This Answers

  • "What's our creative hit rate this month?"
  • "Which creatives are winning for [Client]?"
  • "How does this month compare to last month?"
  • "Show me all ads that hit the benchmark"
  • "What's our all-time hit rate?"

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 15:18 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 163 📥 59,776
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 367 📥 140,106
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,936