Meta Ads Launch 标志

Meta Ads Launch

社区
Enriquemarq1
meta-ads-launch

通过 ZERNIO 的广告 API 协助运营人员投放 Meta(Facebook/Instagram)广告——由人辅助操作,而非自主执行。运营人员决定优惠方案、创意角度、文案、受众和预算;Claude 负责具体操作:通过一次 POST /v1/ads/create 请求,使用 creatives[] 数组同时投放所有创意变体(1 个广告系列 + 1 个广告组 + N 个广告),随后立即暂停广告系列,确保在运营人员审核并正式启用前不会产生花费。无需 Meta 开发者应用、Token 或原始 Marketing API——直接使用运营人员现有的 Zernio 连接。适用于以下请求:“help me launch a Meta ad”“launch these ad creatives”“set up an A/B/C creative test”“launch my Facebook/ Instagram ad”“launch several ad variations at once”“launch my ads through Zernio”。

Add to TypingMind

概览

发布者Enriquemarq1
代码仓库zernio-library-skills
技能名称meta-ads-launch
星标数
50
复刻数
13
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

meta-ads-launch

Your launch co-pilot for Meta ads, riding Zernio. You do the thinking — the offer, the angles, the copy, the budget. Claude removes the friction: it takes your finished creative variations and launches them ALL at once through Zernio's ads API, then pauses the campaign so nothing spends until you hit go. No Meta developer app, no access tokens, no raw API — your Zernio connection already covers it.

The killer use case: you've brainstormed and landed on, say, 4 creative variations. Building them one-by-one in any ads UI is slow and easy to fumble. Hand Claude the 4 creatives and ONE call (POST /v1/ads/create with creatives[]) creates 1 campaign + 1 ad set + 4 ads sharing budget and targeting — a fair A/B/C/D test — then one more call pauses it all. Test four creatives in the time it takes to build one. You review and activate when you decide.

The skill informs; the agent acts. Claude executes with curl against https://zernio.com/api/v1 (Authorization: Bearer $ZERNIO_API_KEY). Never activate a campaign without a separate, explicit human "go live" + a restated budget. Assistive, not autonomous.

What you bring (the operator decides — Claude doesn't invent these)

  • The offer / link people land on, and the angles you brainstormed.
  • The creatives — per variation: headline, body copy (your voice), image or video URL, CTA.
  • The audience (countries/cities/age) and the budget (+ what it must never exceed). Claude can suggest (naming, structure, CTA enum fit), but you make the calls.

What Claude needs (ask once, then remember in-session)

  1. ZERNIO_API_KEY — from zernio.com → Settings → API keys. Keep it in an env var or your secret manager; never print it, never commit it.
  2. accountId — the Zernio ads SocialAccount. If not connected yet: GET /v1/connect/facebook/ads reuses the page's existing OAuth ("no extra OAuth needed"; alreadyConnected: true if done before).
  3. adAccountId — GET /v1/ads/accounts?accountId=<accountId> (the query param is required).

The launch flow (you drive; Claude executes — approval-gated)

1. Confirm the decisions + the account

Echo back the resolved ads account + ad account so the user confirms it's the right one (wrong-account spend is the worst outcome). Lock: goal, audience, budget (+ ceiling), and the list of creatives.

2. Assemble + validate (the friction Claude removes)

Build ONE POST /v1/ads/create body from templates/campaign-plan.json:

  • top-level: accountId, adAccountId, name, goal (e.g. traffic), budgetAmount + budgetType: daily, targeting (countries, ageMin/ageMax, …)
  • creatives[] — one entry per variation: { name, headline, body, linkUrl, callToAction } + exactly one of imageUrl or video:{url, thumbnailUrl}
  • generate an Idempotency-Key (UUID) so a retry can never double-launch Validate locally: every creative has the 4 required fields + exactly one media; CTA ∈ the enum; budget ≤ the agreed ceiling; endDate present if budgetType: lifetime.

3. Show the plan — nothing fired yet

About to launch via Zernio, then immediately pause (target: $0 until you review): ad account <adAccountId> · goal traffic · $5/day · US, 25-45 · 4 creatives (A/B/C/D) → . Launch + pause? (y/n)

4. Launch → PAUSE (two calls, back-to-back — this is the $0 pattern)

  1. POST /v1/ads/create (with the Idempotency-Key header) → capture platformCampaignId + ad ids.
  2. Immediately PUT /v1/ads/campaigns/{campaignId}/status {"status":"paused","platform":"facebook"} → confirm the response shows the ads updated. There is no paused-on-create in Zernio — never skip step 2. Write both responses into the plan file as the auditable record.

5. Verify + hand over

GET /v1/ads/tree (or /v1/ads/campaigns) → show the user: 1 campaign → 1 ad set → N ads, paused. They review in Ads Manager / Zernio and flip it live themselves — or give the explicit "go live", upon which Claude re-runs the status call with active + restates the budget. Never auto-activate.

Error handling (don't fail silently)

Surface the HTTP status + body verbatim; don't blind-retry. Likely: 401 bad key · 403 Ads add-on missing or wrong account access · 400 validation (creative missing a required field / both imageUrl+video / city-country overlap / bidStrategy on attach shape) · 409 idempotency key still in flight (back off) · 422 idempotency key reused with a different body.

Guardrails

  • Launch → pause immediately, always. Going live is its own gated step with the budget restated.
  • Echo the resolved ad account before any write.
  • Always send an Idempotency-Key — a blind retry without it creates a duplicate campaign.
  • Never print the API key. Secret store only; keep it out of output + logs.
  • CTWA caution: POST /v1/ads/ctwa creates AND activates in one call (cannot launch paused) — only use it with an explicit budget the user has approved as live spend.
  • Copy stays the operator's. Claude wires; it doesn't write the ad.

The full-funnel pairing (Zernio runs both sides)

Use goal: lead_generation (+ leadGenFormId via POST /v1/ads/lead-forms) or click-to-WhatsApp and every lead lands in Zernio in real time (GET /v1/ads/leads, lead.received webhook) — then a Sequence/Workflow follows up automatically. Note: comment-to-DM automations are organic-only (not ad dark-posts) — pair them with the organic side, don't claim them for ads.

Reference

  • reference/zernio-ads-api.md — verified live contract: create shapes, creatives[], status, leads.
  • templates/campaign-plan.json — the launch plan / request body template (multi-creative).

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Meta Ads Launch AI 技能有什么作用?

通过 ZERNIO 的广告 API 协助运营人员投放 Meta(Facebook/Instagram)广告——由人辅助操作,而非自主执行。运营人员决定优惠方案、创意角度、文案、受众和预算;Claude 负责具体操作:通过一次 POST /v1/ads/create 请求,使用 creatives[] 数组同时投放所有创意变体(1 个广告系列 + 1 个广告组 + N 个广告),随后立即暂停广告系列,确保在运营人员审核并正式启用前不会产生花费。无需 Meta 开发者应用、Token 或原始 Marketing API——直接使用运营人员现有的 Zernio 连接。适用于以下请求:“help me launch a Meta ad”“launch these ad creatives”“set up an A/B/C creative test”“launch my Facebook/ Instagram ad”“launch several ad variations at once”“launch my ads through Zernio”。

为什么在 TypingMind 中使用 Meta Ads Launch?

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

如何在 TypingMind 中安装 Meta Ads Launch?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/meta-ads-launch。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Meta Ads Launch?

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

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

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

Meta Ads Launch AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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