Meta ads

From squadcodercom/squadcoder · View interactive version

Meta ads is an AI agent skill from the GitHub repository squadcodercom/squadcoder. Expert playbook for planning, building, and optimizing Meta Ads (Facebook + Instagram) — campaign objectives, Advantage+ Sales/Shopping (ASC), Advantage+ Audience, ad-set structure, the Meta Pixel + Conversions API (CAPI) server-side, Aggregated Event Measurement, CBO/ABO budgeting, Reels/Stories/fe

How to use this skill

Skill file

Meta Ads (Facebook + Instagram) — Media Buyer Playbook

A pro operating playbook for building and scaling performance campaigns on Meta. Default to business outcomes, not vanity metrics. When you activate, you build a complete, launch-ready plan (structure + targeting + creative + tracking + optimization cadence), call out the trade-offs, and flag anything that is account-risky (policy, attribution gaps, broken tracking).

Terminology note (2026): "Advantage+ Shopping Campaign (ASC)" has been folded into Advantage+ Sales, and Advantage+ now activates automatically when you combine broad targeting + Advantage+ placements + a campaign-level budget + a purchase/conversion event. This doc uses ASC / Advantage+ Sales interchangeably.


1. Account & campaign architecture

Meta has three levels: Campaign → Ad Set → Ad. Objective and budget-type are set at the campaign level; targeting, placement, and budget (in ABO) at the ad-set level; creative at the ad level.

Objectives (ODAX) — pick by the action you actually want

Rule of thumb: always optimize for the lowest-funnel event you can feed (≈50 of that event per ad set per week). If you can't hit 50 purchases/week, optimize for Add-to-Cart or Initiate-Checkout, or use value rules / VBO once data matures.

Recommended structure (most ecommerce/lead accounts)

  1. Prospecting / scaling: 1× Advantage+ Sales (ASC) campaign, CBO, broad. This is the workhorse — let the system find buyers across placements.
  2. 1× ABO testing campaign — isolated ad sets to test creatives/angles/audiences with equal budget, then graduate winners.
  3. 1× Retargeting campaign (CBO or ABO) — warm audiences (site visitors, IG/FB engagers, ATC-no-purchase, catalog viewers via DPA).

Keep it consolidated. Too many ad sets fragments the ~50-event signal and keeps everything in the learning phase. Fewer ad sets + more budget per ad set = faster exit from learning.


2. Targeting & audiences

Meta's signal has shifted from manual interest-stacking to broad + creative + the algorithm. Targeting is now mostly a seed/guardrail, not a precision tool.

Advantage+ Audience (the modern default)

Audience types

Exclusions (don't skip)

Exclude recent purchasers (e.g. last 30–180d, unless repeat-purchase product), exclude existing leads from lead campaigns, and exclude warm audiences from cold prospecting so the two don't cannibalize.


3. Budget & bidding

CBO vs ABO (Advantage+ Campaign Budget vs Ad-Set Budget)

Bid strategies (pick deliberately)

Avoid setting caps too tight at launch — it suffocates delivery and traps you in learning.

Learning phase & budget pacing


4. Creative — the real lever (specs + best practice)

In 2026, creative is the primary targeting input. Spend most effort here.

Formats & placements

Specs (current)

Creative best practice


5. Conversion tracking & measurement (do this BEFORE spending)

Meta Pixel + Conversions API (CAPI) — run BOTH

Key standard events to map

PageView, ViewContent, Search, AddToCart, InitiateCheckout, AddPaymentInfo, Purchase (with value + currency = ILS), Lead, CompleteRegistration, Contact. For catalog/DPA, content_ids/content_type must match the feed.

Aggregated Event Measurement (AEM) — post-iOS14 reality


6. Dynamic catalog / DPA (Advantage+ Catalog Ads)


7. Optimization workflow (what to check, when)

Cadence — don't touch it hourly. Conversion campaigns need data to breathe.

Daily (5 min): spend pacing vs. budget, any ad set in Learning Limited or rejected ads, sudden CPA spike, broken tracking (events dropping in Events Manager), comment/quality issues.

Every 3 days (after ≥50 events / exit of learning): evaluate at the ad-set and ad level on CPA / ROAS / CTR (link) / CPM / hook-rate (3-sec) / thumb-stop. Kill clear losers; let in-range performers keep running. Never judge within the learning phase.

Weekly: creative refresh (3–5 new), scale winners, prune fatigued creative (rising frequency + falling CTR + rising CPM), audience/placement breakdown, check frequency (cold >2–3 over 7d = fatigue/saturation), review EMQ & AEM.

Scaling rules

Kill rules (guideline, adapt to your CPA)


8. Common mistakes / pitfalls


9. Israel / Hebrew market notes


10. Output — what to produce when this skill activates

When the user asks to build/fix a Meta campaign, deliver a concrete, launch-ready package:

  1. Campaign skeleton — recommended objective + structure (ASC/Advantage+ Sales vs ABO test vs retargeting), CBO/ABO choice with rationale, and a starting budget in ₪/day tied to target CPA and the ~50-event learning rule.
  2. Targeting plan — Advantage+ Audience suggestion vs locked audiences, the custom-audience + lookalike seeds to build, the retargeting ladder, and required exclusions.
  3. Creative brief — 3 variants — distinct angles, with hook lines, primary text (~125c), headline (~30c), CTA, and format/aspect ratio (9:16 Reels/Stories + 4:5 feed), written in native Hebrew/RTL when the audience is Israeli.
  4. Tracking plan — Pixel + CAPI server-side with event_id dedup, the standard events to map (Purchase value in ILS), domain verification + the prioritized 8 AEM events, target EMQ, and (if ecommerce) catalog/DPA setup.
  5. Optimization plan — the check cadence, scaling rules (≤20%/2–3d or duplicate), kill rules vs. target CPA, and which KPIs to judge on (CPA/ROAS + blended MER).
  6. Risk/quality flags — policy concerns, attribution caveats, learning-phase warnings, and anything that needs the user's real account data to finalize.

Always state assumptions, ask for missing inputs (offer, AOV/CPA target, budget, catalog/CRM availability), and never claim in-platform numbers are ground truth — reconcile with real revenue.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.