← 返回 Skills 市场
snoopyrain

Adagent Facebook Ads

作者 snoopyrain · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
352
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install adagent-facebook-ads
功能描述
Manage Facebook/Meta Ads — create campaigns, ad sets, ads, monitor performance, and target audiences. Use when the user says 'Facebook Ads', 'FB 廣告', 'Meta A...
使用说明 (SKILL.md)

Facebook Ads Agent

Create, manage, and optimize Facebook/Meta Ads campaigns with full control over campaigns, ad sets, targeting, and creatives. Powered by AdAgent.

Security & Data Handling

  • MCP link is a credential: Your MCP Server URL (https://adagent.10xboost.org/api/mcp/fb-ads/{user_id}/mcp) contains your user ID for credential lookup. Treat it like a password — do not share it publicly.
  • Token scope: The service uses your Facebook OAuth token to access your ad accounts. It can create/modify campaigns, ad sets, and ads, manage budgets, and read performance data.
  • Token storage: Your Facebook tokens are encrypted with Fernet (AES-128-CBC + HMAC) and stored in MongoDB. They are never exposed in API responses.
  • Token expiry: Facebook long-lived tokens expire after ~60 days. Use refresh_token to extend when needed.
  • Multi-tenant isolation: Each request is scoped to your user credentials via ASGI middleware. You can only access your own ad accounts.
  • No local credentials: No local API keys, environment variables, or secrets are needed. All auth is embedded in the MCP link.
  • Third-party service: This skill relies on AdAgent, an AI-powered ad management platform.

Prerequisites

  1. Sign up at adagent.10xboost.org with Google
  2. Connect Facebook Ads — authorize AdAgent to access your Facebook Ad accounts
  3. Get your MCP link: Copy your Facebook Ads MCP Server URL from the dashboard
  4. Add to Claude: Paste the MCP link as a Connector — no install, no API key needed

Available Tools (22 tools)

Account & Token

Tool Description
list_ad_accounts List all accessible ad accounts
get_account_info Get account details (currency, timezone, status)
check_token_status Check token validity and expiry
refresh_token Exchange short-lived token for long-lived token (60 days)

Campaign Management

Tool Description
list_campaigns List campaigns (filter by status)
get_campaign Get campaign details
create_campaign Create campaign (PAUSED by default)
enable_campaign Activate a campaign
pause_campaign Pause a campaign

Ad Set Management

Tool Description
list_ad_sets List ad sets (filter by campaign/status)
get_ad_set Get ad set details with full targeting
create_ad_set Create ad set with audience targeting
enable_ad_set Activate an ad set
pause_ad_set Pause an ad set

Ad Management

Tool Description
list_ads List ads (filter by ad set/status)
create_ad Create ad (upload image + creative + ad)
enable_ad Activate an ad
pause_ad Pause an ad

Performance & Insights

Tool Description
get_account_insights Account-level performance data
get_campaign_insights Campaign daily performance
get_ad_set_insights Ad set performance

Targeting Research

Tool Description
search_interests Search interest targeting (e.g. "baseball", "cooking")
search_locations Search geographic targeting (country, city, zip)
search_targeting_categories Browse targeting categories (interests, behaviors, demographics)

Compliance

Tool Description
get_taiwan_regulation_status Check Taiwan ad regulation compliance

Workflow

Creating a Full Ad (3-Layer Structure)

Facebook Ads uses a 3-layer hierarchy: Campaign → Ad Set → Ad

Step 1: Create Campaign

create_campaign(
  name="Summer Sale 2026",
  objective="OUTCOME_TRAFFIC",
  daily_budget_usd=20.0
)

Objectives: OUTCOME_AWARENESS, OUTCOME_ENGAGEMENT, OUTCOME_LEADS, OUTCOME_SALES, OUTCOME_TRAFFIC, OUTCOME_APP_PROMOTION

Budget rule: Set budget at Campaign OR Ad Set level, not both.

Step 2: Research Targeting

search_interests(query="AI")
search_locations(query="Taiwan", location_type="country")

Step 3: Create Ad Set (with targeting)

create_ad_set(
  name="AI Enthusiasts - TW",
  campaign_id="\x3Ccampaign_id>",
  optimization_goal="LINK_CLICKS",
  billing_event="IMPRESSIONS",
  destination_type="WEBSITE",
  countries=["TW"],
  age_min=25,
  age_max=55,
  flexible_spec=[
    {"interests": [{"id": "6003087413192", "name": "AI"}]}
  ]
)

If Campaign has budget set, do NOT set daily_budget_usd on Ad Set.

Step 4: Create Ad

create_ad(
  name="Summer Sale Ad 1",
  ad_set_id="\x3Cad_set_id>",
  image_url="https://example.com/ad-image.jpg",
  message="Summer Sale! 50% off all AI tools.",
  link="https://example.com/sale",
  call_to_action_type="SHOP_NOW"
)

CTA types: LEARN_MORE, SHOP_NOW, SIGN_UP, DOWNLOAD, BOOK_TRAVEL, CONTACT_US

Step 5: Enable (Campaign is PAUSED by default)

enable_campaign(campaign_id="\x3Ccampaign_id>")
enable_ad_set(ad_set_id="\x3Cad_set_id>")
enable_ad(ad_id="\x3Cad_id>")

Checking Performance

User Request Tool
"How are my ads doing?" get_account_insights
"Campaign X performance" get_campaign_insights
"Ad set performance" get_ad_set_insights
"List all campaigns" list_campaigns
get_account_insights(
  start_date="2026-03-01",
  end_date="2026-03-30",
  time_increment="1"    // "1"=daily, "7"=weekly, "all_days"=summary
)

Present Results

  • Performance: Show metrics table (impressions, clicks, CTR, CPC, CPM, spend, reach, frequency)
  • Campaign list: Show status, objective, budget, and delivery status
  • Targeting: Show audience size estimates when researching interests

Targeting Tips

  • Use search_interests to find interest IDs before creating ad sets
  • Use search_locations with location_type (country, city, zip, region) for geo-targeting
  • flexible_spec items use OR within each element, AND between elements
  • advantage_audience=1 enables Meta's Advantage+ automatic audience (recommended for beginners)

Error Handling

Error Solution
Token expired Use refresh_token or reconnect at adagent.10xboost.org
Invalid account ID Run list_ad_accounts to get valid IDs
Budget conflict Budget must be at Campaign OR Ad Set level, not both
Missing Page ID Some objectives require page_id — get it from account info
Taiwan regulation Run get_taiwan_regulation_status to check compliance
Ad rejected Check Facebook ad policies — image text ratio, prohibited content

Documentation

Product website: adagent.10xboost.org

安全使用建议
This skill appears to do what it says: it delegates Facebook Ads operations to AdAgent and requires you to supply an MCP connector URL that contains an embedded auth token. Before installing or pasting that link, verify you trust https://adagent.10xboost.org and its privacy/security practices. Treat the MCP link like a password: only paste it into official connectors on the agent platform (avoid posting in chat or public places), and be prepared to revoke or rotate the token from Facebook/AdAgent if you suspect misuse. The SKILL.md's claims that tokens are encrypted and never returned are statements by the service — you should confirm them with the provider if you need stronger assurance.
功能分析
Type: OpenClaw Skill Name: adagent-facebook-ads Version: 1.0.0 The skill is a legitimate integration for managing Facebook/Meta Ads via the third-party service AdAgent (adagent.10xboost.org). It defines 22 tools for campaign creation, audience targeting, and performance monitoring using the Model Context Protocol (MCP). While the authentication model relies on a credential embedded in the MCP URL (SKILL.md), the skill's instructions are transparent about data handling, token encryption, and scoping, with no evidence of malicious intent or unauthorized data access.
能力评估
Purpose & Capability
Name/description match the instructions: all operations (create/modify campaigns, ad sets, ads, insights, targeting research) are implemented via an external AdAgent MCP connector link. No unrelated binaries, env vars, or installs are requested.
Instruction Scope
SKILL.md confines operations to ad management and explicitly requires the MCP connector link. It does not instruct reading local files or other env vars. Note: the connector link is a bearer-style credential embedded in a URL — the skill asks you to paste that link into the agent platform, which risks token exposure if the platform logs or shares connector values.
Install Mechanism
Instruction-only skill with no install spec and no code files; nothing is written to disk by the skill itself.
Credentials
No environment variables or unrelated credentials are requested. The single required configuration is the MCP Connector link (which acts as the credential) — reasonable for a connector-based integration, but it is sensitive and effectively a bearer token.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform privileges. Autonomous invocation is allowed by default but is not combined with broad unrelated access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install adagent-facebook-ads
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /adagent-facebook-ads 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
adagent-facebook-ads v1.0.0 - Initial release: Manage Facebook/Meta Ads via AdAgent platform - Create, pause, enable, and manage campaigns, ad sets, and ads - Research and apply audience targeting (interests, locations, categories) - Monitor ad performance with insights at account, campaign, and ad set levels - All authentication via secure MCP Connector link—no local credentials needed - Full workflow support with error handling and compliance tools
元数据
Slug adagent-facebook-ads
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Adagent Facebook Ads 是什么?

Manage Facebook/Meta Ads — create campaigns, ad sets, ads, monitor performance, and target audiences. Use when the user says 'Facebook Ads', 'FB 廣告', 'Meta A... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 352 次。

如何安装 Adagent Facebook Ads?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install adagent-facebook-ads」即可一键安装,无需额外配置。

Adagent Facebook Ads 是免费的吗?

是的,Adagent Facebook Ads 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Adagent Facebook Ads 支持哪些平台?

Adagent Facebook Ads 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Adagent Facebook Ads?

由 snoopyrain(@snoopyrain)开发并维护,当前版本 v1.0.0。

💬 留言讨论