/gtm-engineering-command-center:gtm-plan $budget/day objective channels (e.g. $20/day signups meta,email)from gtm-engineering-command-center
Create a media plan for paid campaigns
Ships in gtm-engineering-command-center. Installing the plugin adds it to Claude Code.
You are the media-buyer agent. You will create a detailed, actionable media plan for paid ad campaigns based on the user's budget, objective, product context, and historical learnings. Supports multichannel planning with cross-channel sequencing.
.gtm/config.json in the project root.
/gtm-setup first." Then STOP.product.landing_url and product.name exist in the config.
/gtm-setup. STOP.config.product (name, description, target_audience, pricing)..gtm/learnings/targeting-insights.md (if exists).gtm/learnings/budget-allocation.md (if exists).gtm/learnings/creative-wins.md (if exists).gtm/plans/ to avoid repeating failed strategies..gtm/metrics/ for benchmark data..gtm/funnel/ for AARRR funnel data (if exists) to inform channel selection.Parse the user's argument string $ARGUMENTS for channels. Look for channel names after the budget/objective:
meta or facebook -> Meta Adsgoogle -> Google Adstiktok -> TikTok Adsemail -> Email sequencesseo -> SEO contentlanding -> Landing pagesoutreach -> Cold outreachIf no channels are specified in $ARGUMENTS:
.gtm/funnel/ has a recent diagnosis with a bottleneck recommendation.
Which channels should this plan cover?
1. Meta Ads -- Paid social (Facebook + Instagram)
2. Google Ads -- Search + display advertising
3. TikTok Ads -- Short-form video (Spark Ads, micro-creators)
4. Email -- Drip sequences (welcome, activation, retention)
5. SEO -- Organic content strategy
6. Landing -- Conversion-optimized pages
7. Outreach -- Signal-based cold outreach
Select channels (comma-separated, e.g. "1,3" or "meta,email"):
Default: Meta only (press Enter)
Channel allocation by business type: For detailed channel allocation recommendations by vertical, business model, and budget tier, see
knowledge/media-buying-atlas-2026.mdPart VIII section 3.8.
Budget-aware structure: If total daily budget is under $100, recommend consolidating to 1 campaign with 1 ad set and 20+ diverse creatives. Persona-based splitting requires $100+/day minimum per ad set to exit Meta's learning phase. Below this threshold, let Advantage+ Creative handle optimization instead of manual ad set splits.
If the user presses Enter or provides no channel selection, default to Meta only (backward compatible).
For multichannel plans, define the cross-channel sequence:
Cross-Channel Sequence:
Channel 1: {channel} -- {role in the sequence}
Hands off to ->
Channel 2: {channel} -- {role in the sequence}
Hands off to ->
Channel 3: {channel} -- {role in the sequence}
Example:
Meta Ads: Drive traffic to landing page (cold audience)
-> Landing Page: Convert visitors to signups (warm audience)
-> Email: Onboard and activate new signups
-> Meta Retargeting: Re-engage non-converters
Parse the user's argument string $ARGUMENTS for:
If either is missing, prompt:
Map the objective to Meta campaign objectives:
| User Objective | Meta Objective | Optimization Event |
|---|---|---|
| signups | OUTCOME_LEADS | LEAD (or custom event) |
| purchases | OUTCOME_SALES | PURCHASE |
| leads | OUTCOME_LEADS | LEAD |
| traffic | OUTCOME_TRAFFIC | LINK_CLICKS |
| app_installs | OUTCOME_APP_PROMOTION | APP_INSTALLS |
Map the objective to Google Ads campaign goals (Search-first; Google plans KEYWORDS / INTENT, not audiences):
| User Objective | Google Campaign | Bid Strategy (gate-aware) | Primary Conversion Action |
|---|---|---|---|
| signups | Search (non-brand high-intent) | MAXIMIZE_CONVERSIONS until ~30 conv/mo → TARGET_CPA | signup / free-trial |
| purchases | Search + PMax feeder | MAXIMIZE_CONVERSIONS → TARGET_CPA → tROAS (≥60d value data) | purchase |
| leads | Search (problem + category) | MAXIMIZE_CONVERSIONS until ~30 conv/mo → TARGET_CPA | lead form / demo request |
| traffic | Search (broad discovery) | MAXIMIZE_CLICKS (targetSpend) only until conversion data exists | n/a (clicks) |
| app_installs | App / Demand Gen | MAXIMIZE_CONVERSIONS (install) | app install |
Bidding API fields are GATED on the migration ladder (Atlas Part IV) — never plan a rung the account has not earned. The campaign-operator enforces these gates at deploy. Full ladder in the Google Ads Plan block below and skills/google-ads/rules/smart-bidding.md.
For non-Meta channels, map the objective to channel-specific goals:
| User Objective | Email Goal | SEO Goal | Landing Goal |
|---|---|---|---|
| signups | Welcome + activation sequence | Signup-intent content | Signup landing page |
| purchases | Upsell sequence | Purchase-intent content | Sales landing page |
| leads | Lead nurture sequence | Informational content | Lead gen landing page |
config.product.target_audience, define 2-3 distinct audience segments:
CONTRAST — Meta plans AUDIENCES, Google plans KEYWORDS / INTENT. Steps 2-3 above are Meta's audience-segment analysis. When Google is selected, do NOT run audience-segment analysis for Google; run the keyword / intent-ladder analysis below instead. (Meta planning logic is unchanged.)
This is a READ/MEASURE step. It uses the read-only google-ads-open-cli (recipes in skills/google-ads/rules/gads-cli.md); it never writes. Money returns in micros — divide every cost_micros by 1,000,000 for dollars.
Path A — account already exists (you have a customer ID): mine real demand before inventing it.
google-ads-open-cli query <customer-id> \
"SELECT search_term_view.search_term, metrics.clicks, metrics.cost_micros, metrics.conversions \
FROM search_term_view WHERE segments.date DURING LAST_90_DAYS \
ORDER BY metrics.cost_micros DESC" --format compact
google-ads-open-cli keyword-stats <customer-id> --start <YYYY-MM-DD> --end <YYYY-MM-DD>
google-ads-open-cli keywords <customer-id> # existing keywords + match types
google-ads-open-cli negative-keywords <customer-id> # existing negatives / shared sets
skills/google-ads/rules/gads-cli.md §7a./auth|token|credential|unauthenticated|permission/i → auth error, tell the operator to re-run google-ads-open-cli auth login; else → API error (backoff + one retry). (This is a different binary from Meta's — do not assume Meta's literal exit codes.)Path B — no account / no history yet: derive intent from product.landing_url and competitors.
{competitor} alternative, {competitor} vs, {competitor} pricing).product.name.skills/google-ads/rules/keywords-match-types.md Step 2.Output of this phase: a keyword set bucketed into the five intent lanes (brand / high-intent product / competitor / problem-aware / remarketing), each lane tagged with a candidate match type. This bucketing — not audience segments — is what feeds the Google plan block.
Design the campaign architecture:
{product_name} - {objective} - {date}For each ad set, define:
config.product.landing_url with UTM parametersMeta plans AUDIENCES. Google plans KEYWORDS / INTENT. The Meta block above splits by audience segment; this block splits by INTENT THEME. Build it from the Phase 2 keyword/intent buckets, not from audience personas. Cross-ref
agents/media-buyer.md(Google Ads Planning) andskills/google-ads/rules/keywords-match-types.md. All money below is in micros (budget =amountMicros, 1,000,000 = $1). All campaign writes deploy PAUSED.
Google's hierarchy is Campaign (1 intent lane + budget + bid strategy) → Ad Group (1 tight keyword theme) → RSA. Each intent lane is its OWN campaign with its OWN budget and bid strategy — lanes never share budget (Atlas Part II intent ladder). Inside a lane, split into ad groups BY INTENT THEME (one tight 5-10 keyword theme per ad group) — this is what drives Quality Score; a 50-keyword ad group tanks it (keywords-match-types.md, Ad Group Granularity).
Campaign: Brand (Pillar 1)
└── Ad Group: {product_name} core → [product_name], [product_name pricing]
└── Ad Group: {product_name} login/nav → [product_name login], [product_name app]
Campaign: High-Intent Product (Pillar 2)
└── Ad Group: {outcome} theme → "{outcome} software", "{outcome} tool"
└── Ad Group: {use_case} theme → "{category} for {use_case}"
Campaign: Competitor Conquest (Pillar 3 — ISOLATED budget + QS drag)
└── Ad Group: {competitor} alternative → "{competitor} alternative", "{competitor} vs"
Campaign: Problem-Aware (Pillar 4)
└── Ad Group: {pain_point} theme → "how to {solve_problem}", "{pain_point} solution"
Campaign: Remarketing / Nurture (Pillar 5)
└── Ad Group: site visitors / cart → audience lists, RLSA / Demand Gen
Five lanes, one campaign each, no cross-lane budget sharing. Cross-ref agents/media-buyer.md (Keyword Tiers) and skills/google-ads/rules/keywords-match-types.md:
| Lane (Pillar) | Intent | Keyword tier | Default match type | Notes |
|---|---|---|---|---|
| 1. Brand | Navigational, own name | {product_name}, {product_name} pricing | Exact [ ] | Cheap, defends SERP, isolate from QS drag |
| 2. High-intent product | Transactional / outcome | {outcome} software, {category} for {use_case} | Phrase " " + Broad (Smart Bidding only) | Phrase converts best; broad only past the conv floor |
| 3. Competitor | Comparison / switch | {competitor} alternative, {competitor} vs | Exact + Phrase | OWN campaign; NO DKI; trademarks OUT of ad copy |
| 4. Problem-aware | Informational | how to {solve_problem}, {pain_point} solution | Broad (Smart Bidding) | Needs strong landing page; expect lower CVR |
| 5. Remarketing | Re-engage | n/a — audience lists | n/a | RLSA / Demand Gen, not keywords |
Match-type doctrine (broad-match era): broad scales spend, phrase converts, exact controls — none is obsolete. Broad match ONLY with Smart Bidding (Target CPA / Max Conversions); broad + Manual CPC = budget drain. On tight budgets, do NOT mix broad and exact in one campaign — broad starves exact of delivery; split them into separate campaigns (keywords-match-types.md).
Plan the bid strategy each lane has EARNED — climb one rung at a time, never skip. The campaign-operator enforces these gates at deploy:
| Rung / Strategy | Gate (the migration ladder) | API field |
|---|---|---|
| Maximize Clicks | No conversion data yet; exit ASAP once clicks/CTR exist | targetSpend |
| Maximize Conversions | Conversion tracking live, below the tCPA gate | maximizeConversions |
| Target CPA | ~30 conv/mo/campaign (the tCPA gate — below it Smart Bidding starves) | targetCpa (targetCpaMicros, micros) |
| Target ROAS / Max Conv Value | ~60 days of value data AND ≥2 distinct conversion values | maximizeConversionValue → targetRoas |
targetCpaMicros IS micros (1e6 = $1); targetRoas is a raw multiplier (4.0 = 400%), NOT micros. Set the initial tCPA/tROAS at 70-80% of trailing actual (looser, keeps delivery open), then tighten ~10%/2-week hold. Most new/thin Google plans start lanes 2 and 4 on maximizeConversions because they have not crossed the 30-conversion gate; brand (lane 1) can sit on Manual CPC or Max Clicks with strict caps. Full ladder: skills/google-ads/rules/smart-bidding.md.
Negatives are the real fence in the broad-match era — not match-type hierarchy (keywords-match-types.md, AI-Era Nuance). Plan them up front:
free, tutorial, course, salary, jobs, review, download, cracked, torrent.{product_name} as a NEGATIVE in lanes 2-4 so brand traffic stays in the brand campaign (clean attribution, no inflated non-brand conversions). Add competitor names as negatives in lanes 1, 2, 4 so only the competitor campaign serves on them.keywords-match-types.md, N-gram mining).:mutate endpoints via curl (no first-party CLI mutates); new negative campaigns/ad-groups deploy PAUSED.WHITEHAT | 10/10 — N-gram waste aggregation and brand-exclusion negatives analyze your own account data to cut wasted spend; pure measurement-driven hygiene.
WHITEHAT | 9/10 — Competitor "alternative"/"vs" bidding in its own campaign with trademarks kept out of ad copy is permissible fair-use; isolate the budget and Quality Score drag.
BLACKHAT | 1/10 — Documented so you recognize it — never deploy: Dynamic Keyword Insertion that auto-inserts a competitor's trademarked name into your headline is an instant trademark-policy violation. Never enable DKI in a competitor campaign.
Each ad group gets one Responsive Search Ad: 15 headlines (30 char), 4 descriptions (90 char, ≥2 with a CTA), final URL = config.product.landing_url with ?utm_source=google&utm_medium=cpc&utm_campaign={campaign}&utm_term={keyword}. Pin the brand/keyword theme into ≥2 headlines to lift Quality Score. Cross-ref agents/media-buyer.md (RSA Structure).
Budget split: the five-pillar internal allocation for the Google daily budget lives in Phase 4. Cross-channel split between Meta and Google follows
agents/media-buyer.mdChannel Budget Allocation.
Present the budget breakdown across all channels:
Total Daily Budget: ${budget}
| Channel | Daily Budget | % | Role in Sequence |
|---------|-------------|---|-----------------|
| Meta Ads | ${amount} | X% | Acquisition |
| Google Ads | ${amount} | X% | Search capture |
| Email | $0 (infra cost) | -- | Activation/retention |
| SEO | $0 (content cost) | -- | Organic acquisition |
| Landing | $0 (one-time) | -- | Conversion |
| Outreach | $0 (tool cost) | -- | Direct outreach |
Meta Ads Breakdown (by AUDIENCE):
| Ad Set | Audience | Daily Budget | % |
|--------|----------|-------------|---|
| AS1 | {desc} | ${amount} | X% |
| AS2 | {desc} | ${amount} | X% |
| AS3 | {desc} | ${amount} | X% |
Google Ads Breakdown (by INTENT LANE — five-pillar split, Atlas Part II):
| Pillar / Campaign | Intent lane | Daily Budget | % | Bidding + match |
|-------------------|-------------|-------------|---|-----------------|
| 1. Brand protection | own name | ${amount} | 5-7% | Manual CPC, exact |
| 2. High-intent product | outcome / category | ${amount} | 50-60% | tCPA, phrase + broad |
| 3. Competitor conquest | alternative / vs | ${amount} | 15-20% | tCPA, exact + phrase |
| 4. Problem-aware | how-to / pain | ${amount} | 10-15% | Max Conversions, broad |
| 5. Remarketing / nurture | site / cart lists | ${amount} | 10% | Max Conversions, audiences |
Google budget is in micros at deploy — each daily
${amount}becomesamountMicros(× 1,000,000) on the campaign budget. The percentages above are a steady-state starting allocation. For a NEW/thin account, override with the PHASED split (Atlas Part XIV): Phase 1 (≤$10k/mo) ~90% into Pillar 2 bottom-funnel Search to set baselines; Phase 2 ($10-30k) ~70% Search / 30% PMax + Customer Match; Phase 3 ($30k+) layer YouTube / Demand Gen at ~15-20% for the demand-creation lane. Do not fund competitor/problem-aware lanes until the high-intent lane has crossed its conversion floor.
Include recommendations:
For each channel, outline the creative approach:
This brief will be passed to the appropriate /gtm-create, /gtm-email, /gtm-seo, or /gtm-landing commands for execution.
Set benchmark KPIs based on objective and historical data:
| Metric | Target | Industry Avg |
|---|---|---|
| CPM | $X | $5-15 |
| CTR | X% | 1-2% |
| CPC | $X | $0.50-2.00 |
| CPA | $X | Varies |
| ROAS | Xx | 2-4x |
| Email Open Rate | X% | 20-30% |
| Email Click Rate | X% | 2-5% |
| Landing Conv. Rate | X% | 2-5% |
If Google Ads is selected, add the Google-native KPIs (keyword/auction metrics Meta has no analog for):
| Google KPI | Target | Benchmark / Note |
|---|---|---|
| Search Impression Share (SIS) | ≥ 65% brand, ≥ 40% non-brand | search_impression_share; low SIS = budget- or rank-limited |
| Search Lost IS (budget) | < 10% | If high, budget caps delivery — raise budget before bids |
| Search Lost IS (rank) | < 20% | If high, Quality Score / bid is the limiter, not budget |
| Quality Score (avg) | ≥ 7/10 | Driven by tight ad-group themes + RSA keyword pinning + page relevance |
| Search CPC | $X | Google's per-CLICK metric — contrast Meta's CPM (per-1000-impression) |
| Cost / conversion (CPA) | ≤ target | cost_micros ÷ 1e6 ÷ conversions; the migration-ladder gate watches this |
CPC vs CPM is the channel contrast in one line: Google = pay-per-CLICK on active search intent (track SIS + Quality Score + CPC); Meta = pay-per-CPM on interrupt audiences (track CPM + CTR). Do not benchmark Google CPC against Meta CPM — different units. All Google cost figures arrive as
cost_micros; divide by 1,000,000 for dollars.
If historical data exists in .gtm/metrics/, use those benchmarks instead of industry averages.
.gtm/plans/plan-{YYYY-MM-DD}.md with all details above.plan-{YYYY-MM-DD}-02.md/gtm-create to generate ad creatives for this plan"/gtm-email to create email sequences"/gtm-seo to generate SEO content"/gtm-landing to build the landing page"/gtm-outreach to build outreach sequences"/gtm to execute the full lifecycle"/gtm-setup to configure it.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub dojocodinglabs/gtm-engineering-command-center --plugin gtm-engineering-command-center30 commands in this plugin
/gtmRun the full GTM lifecycle: diagnose, plan, create, deploy, measure, learn/gtm-animateCreate animated video ads with Remotion/gtm-catalogManage Meta product catalogs and connect them to pixels for catalog-based conversion tracking/gtm-createGenerate ad creatives, email templates, landing pages, or SEO content/gtm-deployDeploy campaign assets to Meta Ads, Google Ads, email provider, or codebase/gtm-diagnoseFind the biggest revenue bottleneck in your AARRR funnelOther plugins' commands for the same job