Ad campaign optimization

From TerminalSkills/skills · View interactive version

Ad campaign optimization is an AI agent skill from the GitHub repository TerminalSkills/skills. Optimize paid advertising campaigns across Google Ads, Meta, TikTok, LinkedIn, and other platforms. Use when tasks involve bid optimization, audience targeting, creative testing, ROAS improvement, attribution modeling, budget allocation, campaign structure, retargeting strategies, lookalike audience

How to use this skill

Skill file

Ad Campaign Optimization

Overview

Optimize paid advertising across platforms — Google Ads, Meta (Facebook/Instagram), TikTok, LinkedIn, Twitter/X. Improve ROAS, reduce CAC, and scale winning campaigns.

Instructions

Campaign structure

Organize campaigns by objective, then ad sets by audience, then ads by creative variant:

Account
├── Campaign: Prospecting (Cold)
│   ├── Ad Set: Lookalike 1% (interest-based seed)
│   │   ├── Ad: Video A — problem/solution hook
│   │   ├── Ad: Video B — testimonial hook
│   │   └── Ad: Static C — benefit-focused
│   ├── Ad Set: Interest targeting (competitor audiences)
│   │   ├── Ad: Video A
│   │   └── Ad: Static D — data-driven hook
│   └── Ad Set: Broad targeting (algorithm-optimized)
│       ├── Ad: Video A
│       └── Ad: Video E — UGC style
│
├── Campaign: Retargeting (Warm)
│   ├── Ad Set: Website visitors 7-30 days
│   ├── Ad Set: Video viewers 50%+ (14 days)
│   └── Ad Set: Cart abandoners (7 days)
│
└── Campaign: Retention (Existing customers)
    ├── Ad Set: Upsell (purchased product A)
    └── Ad Set: Win-back (inactive 60+ days)

Key principles:

Audience strategy

Prospecting (cold):

Retargeting (warm) — build exclusion-layered audiences:

Tier 1 (hottest): Cart/checkout abandoners, 0-7 days
Tier 2: Product page viewers, 7-14 days
Tier 3: Any website visitor, 14-30 days
Tier 4: Video viewers (50%+), 14-30 days
Tier 5: Social engagers, 30-60 days

Each tier excludes all tiers above it.
Tier 1 gets highest bid/budget (closest to conversion).

Lookalike seed quality (in order): Top 25% LTV customers > Repeat purchasers > All purchasers > Add-to-cart users > High-engagement visitors. Seed quality matters more than size; check the platform's current minimum and recommended seed size.

Creative strategy

Break winning ads into components:

HOOK (first 3 seconds)
├── Pattern interrupt: unexpected visual/sound
├── Curiosity gap: "I tried X for 30 days..."
├── Problem callout: "Tired of [specific pain]?"
└── Social proof: "500K people already switched"

BODY (next 10-20 seconds)
├── Problem amplification → Solution introduction
├── Proof elements: testimonials, data, demos
└── Differentiation: why this, not alternatives

CTA (final 3-5 seconds)
├── Direct: "Start your free trial"
├── Urgency or risk reversal
└── Social: "Join 50,000 happy customers"

Formats by platform:

Creative testing:

Bid strategy and budget

Awareness:    CPM bidding, optimize for reach
Consideration: CPC bidding or landing page view optimization
Conversion:   CPA/ROAS bidding (needs steady conversion volume; too few conversions makes the bid model unstable)
Retention:    Value-based bidding (optimize for LTV)

Start with a 70/20/10 split (a heuristic): 70% prospecting, 20% retargeting, 10% testing. Scale winners by increasing budget 20-30% every 3 days (a rule of thumb, not a platform rule).

Meta's learning phase ends only after an ad set gets enough optimization events. When volume is thin, consolidate ad sets, move the optimization event up the funnel, or increase budget. Check the Meta Business Help Center article "About the Learning Phase" for the current threshold.

Attribution

Last-click:       Simple but undervalues awareness
First-click:      Values discovery but ignores nurturing
Time-decay:       More credit to recent touchpoints
Data-driven:      ML-based, available at scale (Google, Meta)

Google Ads and GA4 now offer only last-click and data-driven models for new reporting; the rule-based models above are concepts for comparison, not selectable options there.

Cross-platform solutions: UTM parameters (tag every link), incrementality testing (a holdout group, e.g. 10%), Marketing Mix Modeling (statistical model), post-purchase surveys.

Performance metrics

EFFICIENCY: CPA (well under LTV), ROAS (against your break-even ROAS), CTR and CPC (against your own account baseline)
QUALITY: Conversion rate, bounce rate, frequency, Quality Score (Google 1-10)
SCALE: Daily spend, CAC trend, impression share, audience saturation

Examples

Set up a Meta Ads campaign for an e-commerce launch

We're launching a DTC skincare brand with $3,000/month ad budget on Meta. Our product is $45, target audience is women 25-40 interested in clean beauty. Set up the full campaign structure — prospecting, retargeting, creative strategy, and bid optimization. Include audience definitions, exclusion rules, and creative brief for the first 5 ads.

Diagnose and fix a declining ROAS

Our Google Ads ROAS dropped from 4.2x to 2.1x over the past month. Monthly spend is $15,000 across Search and Performance Max campaigns. Analyze potential causes (creative fatigue, audience saturation, competition, seasonality) and provide a 2-week recovery plan with specific actions for each campaign type.

Build a multi-platform attribution model

We run ads on Meta, Google, TikTok, and LinkedIn with $50K/month total spend. Each platform reports different ROAS numbers and we suspect double-counting. Design an attribution framework that gives us a single source of truth for cross-platform performance. Include UTM structure, holdout testing plan, and weekly reporting template.

Guidelines

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.