Media buying

From TerminalSkills/skills · View interactive version

Media buying is an AI agent skill from the GitHub repository TerminalSkills/skills. Plan and execute media buying across digital and traditional channels — programmatic advertising, DSP platforms, direct buys, and budget allocation. Use when tasks involve programmatic ad buying, real-time bidding (RTB), demand-side platform setup, media plan creation, CPM/CPC/CPA optimization, cros

How to use this skill

Skill file

Media Buying

Overview

Plan and execute paid media across programmatic, direct, and social channels. Optimize spend allocation, audience targeting, and cross-channel performance.

Instructions

Budget allocation framework

Allocate budget across channels based on funnel stage. The percentages and CPM/CPC/CPA ranges below are planning heuristics, not sourced benchmarks; replace them with your own account data.

AWARENESS (top of funnel) — 30-40% of budget (heuristic)
├── Programmatic display (CPM $2-8)
├── YouTube/CTV (CPM $10-25)
├── Podcast sponsorships (CPM $15-30)
└── Influencer partnerships

CONSIDERATION (middle) — 30-40%
├── Paid social (Meta, TikTok, LinkedIn)
├── Sponsored content / native ads
├── Retargeting display (CPM $3-12)
└── Search non-brand keywords

CONVERSION (bottom) — 20-30%
├── Search brand keywords (highest ROAS)
├── Retargeting (cart abandoners, high-intent)
├── Email/SMS (near-zero marginal cost)
└── Affiliate partnerships (CPA-based)

Media plan template (all figures illustrative)

## Media Plan — Q2 2026
**Objective**: Generate 500 qualified leads at <$80 CAC
**Total Budget**: $40,000/month

| Channel | Monthly Budget | Model | Target CPA | Expected Volume |
|---------|---------------|-------|------------|-----------------|
| Google Search (brand) | $5,000 | CPC | $25 | 200 leads |
| Google Search (non-brand) | $8,000 | CPC | $65 | 123 leads |
| Meta Ads | $12,000 | CPA | $90 | 133 leads |
| LinkedIn Ads | $8,000 | CPC | $120 | 67 leads |
| Programmatic Display | $4,000 | CPM | N/A | 500K impressions |
| Content syndication | $3,000 | CPL | $75 | 40 leads |

Programmatic advertising (RTB)

1. User visits a webpage with ad space
2. Publisher's SSP sends bid request to ad exchange (typical RTB timing; illustrative)
3. Ad exchange broadcasts to connected DSPs
4. DSPs evaluate user data + campaign rules → submit bid (illustrative timing)
5. Highest bidder wins, ad is served (~100ms total)

Key players:
- DSP: Where advertisers buy (DV360, The Trade Desk, Amazon DSP)
- SSP: Where publishers sell (Google Ad Manager, Magnite)
- DMP/CDP: Audience data (Lotame, Adobe Audience Manager)

DSP campaign structure: Advertiser → Campaign → Insertion Order (by objective) → Line Item (by audience) → Creatives.

Targeting layers

AUDIENCE: First-party data, third-party (DMP), contextual, lookalike, intent signals
INVENTORY: Domain allowlists/blocklists, app vs web, viewability (MRC standard: 50% of pixels for 1 continuous second for display, 30% for large display ads of 242,500+ pixels, 50% for 2 continuous seconds for video), ad position
ENVIRONMENTAL: Geography, device, dayparting, frequency caps, browser/OS

Buying models

All ranges below are illustrative, not benchmarks.

CPM  (Cost Per 1000 impressions): Awareness/reach. Range: $2-50
CPC  (Cost Per Click): Consideration/traffic. Range: $0.50-15
CPA  (Cost Per Acquisition): Performance/conversion. Range: $10-500
CPV  (Cost Per View): Video campaigns. Range: $0.01-0.10
CPL  (Cost Per Lead): B2B lead gen. Range: $20-200

Brand safety

Pre-bid: Domain allow/blocklists, category exclusions, keyword blocklists,
         brand safety vendors (Integral Ad Science, DoubleVerify)
Post-bid: Viewability measurement (MRC standard, see above), IVT detection,
          brand suitability scoring, placement reports

Cross-channel optimization

Attribution windows: each platform sets its own click and view windows, and they change over time. Read the current setting in each platform's ad settings before you compare CPA across channels. Meta's Ads Manager offers several click and view windows; do not assume a fixed default. Do not mix windows in one blended CPA.

Budget reallocation: Review weekly. A heuristic is to move 10-20% from high-CPA to low-CPA channels, wait about a week, and remeasure. If CPA increases after budget increase, you've hit diminishing returns — pull back. Optimize for marginal CPA, not average CPA.

Negotiating direct deals

For premium placements (homepage takeovers, newsletter sponsorships, podcast ads): request the rate card and negotiate a discount (the size depends on the deal; no benchmark is implied), ask for added value (bonus impressions, social posts), request performance guarantees and historical data, negotiate cancellation terms, get makegood policy in writing.

Examples

Create a programmatic media plan

We're launching a B2B SaaS product targeting CTOs and VP Engineering at companies with 100-1000 employees. Budget is $25,000/month for programmatic display and video. Create a full media plan using DV360 — campaign structure, audience segments (first-party site visitors + third-party intent data), creative specs, frequency caps, and brand safety settings. Include a 4-week optimization timeline.

Optimize cross-channel budget allocation

We run ads across Google Search ($15K/mo), Meta ($20K/mo), LinkedIn ($10K/mo), and programmatic display ($5K/mo). Our blended CPA is $95 but varies wildly by channel. Analyze the marginal CPA for each channel at different spend levels and recommend a reallocation to reduce blended CPA by 20%. Include the data I need to collect and the rebalancing schedule.

Set up brand safety for programmatic campaigns

We're a financial services company running programmatic display across 500+ publisher sites. Set up comprehensive brand safety — domain allowlist of premium financial and business publishers, category exclusions, keyword blocklists specific to our industry, and viewability thresholds. Include a weekly audit process to catch new placement issues.

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.