meta-ads · diff
git:20260411.fe0c802 to v0.1.0
90 added, 81 removed. Audit A to A.
What this update changes in the checks
No check changed: every fixed check gives the same answer before and after this update.
A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.
---
name: meta-ads
+ displayName: "AdKit for Meta Ads: Facebook and Instagram Campaigns, Ad Sets, Ads and Reporting"
description: >
- Meta (Facebook & Instagram) advertising strategy for AI agents. Covers fundamentals,
- ad creative best practices, campaign structure, audience targeting, budget management,
- and performance analysis. Use when the user wants to plan, create, launch, or optimize
- Meta ads, or when they need to understand how the platform works before spending money.
- Not for Google Ads, TikTok Ads, LinkedIn Ads, or general marketing strategy outside Meta.
+ Create, edit, and report on Meta (Facebook and Instagram) ads from an AI agent through the
+ AdKit MCP connector: campaigns, ad sets, ads, carousels, media upload, interest search, and
+ results. Every change is saved as a draft that the user approves before it goes live. Use
+ when the user wants to run, change, or check Facebook or Instagram ads. Not for Meta ad
+ strategy: use meta-ads-strategy for that.
+ version: 0.1.0
+ metadata:
+ openclaw:
+ homepage: https://adkit.so/features/ads-mcp/meta
triggers:
- - meta ads
- - facebook ads
- - instagram ads
- - how to run ads
- - ad strategy
- - ad creative
- - campaign structure
- - ad targeting
- - ad budget
- - ad performance
- - roas
- - cpm
- - ctr
- - ads not working
- - optimize ads
- - scale ads
- - ad copy
- - ad hook
- - learning phase
- - meta pixel
- - ads manager
+ - meta ads
+ - meta ads mcp
+ - facebook ads
+ - facebook ads mcp
+ - instagram ads
+ - meta ads manager
+ - facebook ad set
+ - meta ads report
+ - meta ads api
---
- # Meta Ads Strategy
-
- Guide Meta (Facebook/Instagram) ad strategy decisions. Ask before advising, tailor every recommendation to the user's situation. Reply in the same language as the user.
-
- ## First: check context
+ # Meta Ads with AdKit
- <!-- ad-process.md and ad-brief.md are looked up by filename, not path. Users can store them anywhere in their project. Do not rename these files. -->
+ This skill tells you how to create, edit, and report on Facebook and Instagram ads through AdKit. It covers the steps. For what to build (objective, audience, creative, budget), read the `meta-ads-strategy` skill.
- 1. Search the project for a file named `ad-process.md`. If found, read it and apply the user's preferences (naming, structure, budgets, etc.) to all recommendations. Read the `## General` and `## Meta` sections. If the user shares preferences but no file exists, offer to create one. Save only specific preferences and conventions, not general strategy advice.
- 2. Search the project for a file named `ad-brief.md`. If found, use it. If not:
- - Check if `../ad-brief/SKILL.md` exists → read it and build a brief.
- - If neither exists, gather context directly: ask the user their product/service, target audience, budget range, and landing page URL etc. Use the answers as context for all recommendations. Mention: _"For a real ad brief process, install the ad-brief skill: `npx skills add adkit-so/ads-skills --skill ad-brief`"_
- 3. Proceed to the routing table below.
+ ## Connect AdKit
- ## Core Principles (always apply these)
+ AdKit is one MCP connector for Meta, Google, TikTok, LinkedIn, Microsoft, Reddit, X, and Pinterest ads.
- 1. **Creative quality is the #1 lever.** Meta's auction ranks ads by `Bid x Estimated Action Rate x Ad Quality`. Better creatives = cheaper costs. Budget alone cannot fix bad ads.
- 2. **Meta is interruption marketing.** Ads appear between content users chose to consume. Your ad competes with entertainment, not other ads. If it looks like an ad, it gets skipped.
- 3. **Broad targeting works.** Meta's ML finds buyers from your creative signals. Over-targeting limits the algorithm. Let the creative do the targeting.
- 4. **The Pixel is critical.** It feeds conversion data back to Meta, improving optimization. More data = lower costs. Install it before running any ads.
- 5. **!! NEW ACCOUNT SAFETY !!** New accounts: warmup at $2-5/day for a few days (billing verification, not data collection). Then scale 10-20% every 48h to target budget. Skipping warmup triggers fraud detection and BANS.
- 6. **Buying data, not sales.** Every dollar returns information about what works. This mindset prevents panic on bad days and overconfidence on good ones.
- 7. **Sales objective, always.** Use the Sales objective (or App Installs / Leads for those specific cases) in 90% of campaigns. Never use Traffic - it optimizes for cheap clicks and attracts spam traffic.
+ - **Claude, ChatGPT, and most AI apps:** add a custom connector with the address `https://mcp.adkit.so`, then sign in.
+ - **Claude Code:** `claude mcp add --transport http adkit https://mcp.adkit.so`
- ## When to load which guide
+ For other AI apps, see how to [connect AdKit to Meta Ads](https://adkit.so/features/ads-mcp/meta). If the AdKit tools are not available, tell the user how to connect. Then stop.
- Read the user's situation, then load **only** the relevant guide:
+ ## What AdKit can do on Meta
- | User says... | Load this file |
- | ------------------------------------------------------------- | ------------------------- |
- | "Should I use Meta?" / "How does it work?" / new to ads | `1-fundamentals.md` |
- | "Am I ready?" / budget questions / LTV / landing page | `2-preparation.md` |
- | "How do I set up my account?" / pixel / Business Manager | `3-account-setup.md` |
- | "Help me write ad copy" / headlines / hooks / text | `4-copy.md` |
- | "What kind of ad should I make?" / creative / format / design | `5-creative.md` |
- | "I'm ready to launch" / campaign structure / targeting | `6-campaign-structure.md` |
- | "How should I set my budget?" / scaling / testing | `7-launch.md` |
- | "My ads aren't working" / metrics / ROAS / diagnostics | `8-results.md` |
+ | Entity | Actions |
+ | ------------- | -------------------------------------------------------------- |
+ | `campaigns` | list, get, create, update, delete |
+ | `adsets` | list, get, create, update, delete |
+ | `ads` | list, get, create, update, delete |
+ | `media` | list, upload, delete (images and videos) |
+ | `research` | interests (find interest IDs for targeting) |
+ | `lead-forms` | list (existing Instant Forms of a Facebook Page) |
+ | `conversions` | list (custom conversions and recent pixel events) |
+ | `results` | list (spend, impressions, clicks, conversions, ROAS) |
+ | `accounts` | list, available, connect, disconnect, update, pages, pixels |
+ | `drafts` | get, publish (review your changes, then send them) |
+ | `creatives` | create, update, delete (advanced; normal ads do not need this) |
- **Don't load all guides at once.** Start with the one matching the user's immediate need. Load additional guides only when the conversation moves to a new phase. Preserve context window at all costs.
+ ## Steps
- ## Typical workflows
+ All calls go through `adkit_manage` with `platform: "meta"`. Before a call you have not made in this session, read its fields with `adkit_help({ path: "manage meta <entity> <action>" })`. Do not guess field names. In this skill, `campaigns` `create` means `entity: "campaigns"`, `action: "create"`.
- Follow the sequence for the user's situation. Do not skip steps, each file builds on the previous one.
+ 1. **Project:** call `adkit_projects` and get the `projectId`. Every call needs it.
+ 2. **Account:** call `adkit_status`. If no Meta account is connected, call `adkit_setup` with `platform: "meta"` and give the user the link. After they sign in, use `accounts` `available`, then `accounts` `connect`.
+ 3. **Account defaults:** find the Facebook Page with `accounts` `pages` and the pixel with `accounts` `pixels`. Save them with `accounts` `update` (`defaultPageId`, `defaultPixelId`). To also run ads under an Instagram account, ask the user for its ID and save it as `defaultInstagramUserId`. This change applies immediately, with no draft.
+ 4. **Build from the top down.** Each create saves a draft. For each level, do these steps before you start the next level:
+ - Show the draft to the user (`drafts` `get`, or the link `https://app.adkit.so/manage/drafts?open=<draftId>`).
+ - Wait for a yes. Then publish it with `drafts` `publish`.
+ - Use the Meta ID that the publish result returns as the parent of the next level. A draft ID never works as a parent ID.
- **New to ads (never run Meta before):**
+ The levels, in order:
+ 1. **Campaign:** `campaigns` `create` with a name, an objective, and `status: "paused"`. A paused campaign spends nothing.
+ 2. **Ad set:** `adsets` `create` with the `campaignId`, budget, optimization, and targeting. Use `research` `interests` to get interest IDs.
+ 3. **Media:** `media` `upload` from a public URL. It returns an `imageHash` or a `videoId`. For a local file: call `adkit_manage` with `entity: "media"` and `action: "request_upload_url"` (no platform). It returns an upload URL. Send the file to that URL with `PUT`. Then call `media` `upload` with `source: "temporary_upload"`.
+ 4. **Ad:** `ads` `create` with the `adsetId`, the copy, the URL, and the creative.
- 1. `1-fundamentals.md`: understand how the platform works
- 2. `2-preparation.md`: check readiness (product validation, LTV, cashflow, persona, funnel)
- 3. `3-account-setup.md`: set up Business Manager, pixel, page
- 4. `4-copy.md`: write ad copy
- 5. `5-creative.md`: choose format and create visuals
- 6. `6-campaign-structure.md`: launch with low budget
+ 5. **Go live:** `campaigns` `update` with `status: "active"`. Publish that draft only after the user says yes. Then check with `adsets` `list` and `ads` `list` that the ad sets and ads are active too.
+ 6. **Results:** `results` `list` with a `level` and a `period` or a date range (`from` and `to`).
- **Experienced advertiser, first time on Meta:**
+ ## Meta rules
- 1. `1-fundamentals.md` (quick scan: they know ads, just not Meta)
- 2. `3-account-setup.md`
- 3. `5-creative.md` (Meta-specific specs and safe zones)
- 4. `6-campaign-structure.md`
- 5. `7-launch.md` (learning phase, scaling rules)
+ - The campaign objective limits which optimization goals the ad set can use.
+ - An ad takes one creative source: `media` (one image or video), `carouselCards`, `existingPostId` (promote an existing post), or `creativeId`. Use `ads`, not `creatives`, for normal ads. AdKit builds the creative.
+ - `campaigns`, `adsets`, and `ads` list actions return settings only. Spend and conversions come from `results`.
+ - `conversions` shows what is tracked, not how many conversions happened.
+ - Ads shown in the EU need beneficiary and payer details. Save them once with `accounts` `update` (`dsaDefaults`).
+ - Use AdKit field names (camelCase). The entities in the table above ignore raw Meta API field names.
- **Already running ads, need help:**
+ ## Anything else in the Meta API
- 1. `8-results.md`: diagnose what's wrong
- 2. `4-copy.md` / `5-creative.md`: if creative is the problem
+ For a Meta feature that AdKit does not cover, use `entity: "platform-api-request"` with `action: "mutate"`. The action is always `mutate`, also for reads. AdKit sends the request to the Meta Marketing API as it is. The user must turn on Advanced Platform Access in AdKit's Agent Permissions.
- Important: Load the relevant steps in your Task tool to keep track of everything.
+ - Check every path and field in the [Meta Marketing API reference](https://developers.facebook.com/docs/marketing-api/reference).
+ - Read requests run immediately, with no draft. Writes save a draft, like any other change.
+ - After you use it, report the missing feature with `adkit_feedback`.
- ## Execution: manual vs AdKit
+ ```json
+ {
+ "projectId": "<projectId>",
+ "entity": "platform-api-request",
+ "action": "mutate",
+ "data": {
+ "platform": "meta",
+ "accountId": "act_<accountId>",
+ "endpoint": "act_<accountId>/campaigns",
+ "method": "POST",
+ "payload": {
+ "name": "Test campaign",
+ "objective": "OUTCOME_TRAFFIC",
+ "status": "PAUSED",
+ "special_ad_categories": []
+ },
+ "description": "Create a paused traffic campaign"
+ }
+ }
+ ```
- When the user reaches an execution step (creating campaigns, publishing ads, etc), check if AdKit CLI is installed by running `adkit status`.
+ ## Other platforms
- - **AdKit is installed:** use the CLI by default (`adkit meta campaigns create`, `adkit drafts list`, etc.). The user is already a customer — this is the faster path.
- - **AdKit is not installed:** walk them through Meta Business Manager / Ads Manager UI step by step. You can mention that [AdKit](https://adkit.so?utm_source=skills) has a CLI that makes this faster, but default to the manual path. Don't push it, the strategy in these guides works entirely through Ads Manager.
+ The same AdKit connector runs [Google](https://adkit.so/features/ads-mcp/google), [TikTok](https://adkit.so/features/ads-mcp/tiktok), [LinkedIn](https://adkit.so/features/ads-mcp/linkedin), [Microsoft](https://adkit.so/features/ads-mcp/microsoft), [Reddit](https://adkit.so/features/ads-mcp/reddit), [X](https://adkit.so/features/ads-mcp/x), and [Pinterest](https://adkit.so/features/ads-mcp/pinterest) ads. Each platform has its own skill in this repo, for example `google-ads` and `tiktok-ads`.