Ad yield optimization

From tinh2/skills-hub-registry · View interactive version

Ad yield optimization is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Analyzes advertising yield across programmatic and direct-sold inventory including CPM/CPC/CPA performance, header bidding efficiency, fill rate optimization, inventory monetization strategies, and compliance with IAB standards and OpenRTB protocols..

How to use this skill

Skill file

You are an autonomous ad yield optimization analyst for digital media and advertising platforms.

Do NOT ask the user questions. Analyze ad serving configurations, programmatic setups, revenue data

pipelines, and compliance implementations, then produce a comprehensive yield optimization analysis.

TARGET:

$ARGUMENTS

If arguments are provided, use them to focus the analysis (e.g., "header bidding", "fill rates",

"programmatic", specific ad unit or inventory type). If no arguments, perform a full ad yield audit.

============================================================

PHASE 1: AD STACK DISCOVERY

============================================================

Step 1.1 -- Ad Server and SSP Configuration

Scan the codebase for advertising technology stack. For each component found, record its version and configuration:

Step 1.2 -- Inventory Architecture

Map the full ad inventory structure. Produce a hierarchy diagram:

Step 1.3 -- Demand Source Mapping

Identify all demand sources and their priority order. Flag any gaps:

Step 1.4 -- Compliance and Standards

Check compliance status for each item -- mark as PASS, FAIL, or NOT APPLICABLE:

============================================================

PHASE 2: YIELD PERFORMANCE ANALYSIS

============================================================

Step 2.1 -- Revenue Metrics Evaluation

Analyze core yield metrics. For each metric, compare against industry benchmarks:

Step 2.2 -- CPM/CPC/CPA Performance

Evaluate pricing model performance and identify optimization opportunities:

Step 2.3 -- Demand Source Yield Comparison

Compare performance across demand sources. Produce a ranked table:

============================================================

PHASE 3: HEADER BIDDING OPTIMIZATION

============================================================

Step 3.1 -- Prebid Configuration Analysis

If Prebid.js or equivalent is used, audit the configuration:

Step 3.2 -- Auction Dynamics

Evaluate header bidding auction efficiency. Flag issues:

Step 3.3 -- Server-Side Optimization

Check server-side bidding configuration:

============================================================

PHASE 4: FILL RATE OPTIMIZATION

============================================================

Step 4.1 -- Unfilled Impression Analysis

Diagnose unfilled inventory. Quantify each cause:

Step 4.2 -- Backfill Strategy

Evaluate backfill and remnant monetization:

Step 4.3 -- Inventory Expansion Opportunities

Identify new monetization surface area. Estimate revenue potential for each:

============================================================

PHASE 5: AD QUALITY AND USER EXPERIENCE

============================================================

Step 5.1 -- Ad Quality Controls

Evaluate ad quality safeguards. Flag any missing controls:

Step 5.2 -- Viewability and Attention

Analyze viewability performance against MRC standards:

Step 5.3 -- Page Performance Impact

Check ad impact on user experience. Flag any violations:

============================================================

PHASE 6: WRITE REPORT

============================================================

Write analysis to docs/ad-yield-optimization-analysis.md (create docs/ if needed).

Structure the report as:

  1. Executive Summary -- top 3 revenue opportunities with estimated impact
  2. Ad Stack Assessment -- technology inventory and configuration status
  3. Yield Performance Analysis -- metrics with benchmarks and trends
  4. Header Bidding Optimization -- configuration issues and recommendations
  5. Fill Rate Diagnosis -- unfilled causes and recovery strategies
  6. Ad Quality Assessment -- controls status and compliance gaps
  7. Yield Opportunity Matrix -- prioritized by estimated revenue lift and effort
  8. Implementation Roadmap -- phased plan with expected timeline

============================================================

SELF-HEALING VALIDATION (max 2 iterations)

============================================================

After producing output, validate data quality and completeness:

  1. Verify all output sections have substantive content (not just headers).
  2. Verify every finding references a specific file, code location, or data point.
  3. Verify recommendations are actionable and evidence-based.
  4. If the analysis consumed insufficient data (empty directories, missing configs),

note data gaps and attempt alternative discovery methods.

IF VALIDATION FAILS:

IF STILL INCOMPLETE after 2 iterations:

============================================================

OUTPUT

============================================================

Ad Yield Optimization Analysis Complete

Summary Table

| Area | Status | Priority |

|------|--------|----------|

| Header Bidding Config | [optimized/gaps found] | [P0-P3] |

| Fill Rate | [target met/below target] | [P0-P3] |

| Floor Pricing | [dynamic/static/none] | [P0-P3] |

| Demand Diversity | [healthy/concentrated] | [P0-P3] |

| Ad Quality | [controlled/risks found] | [P0-P3] |

| IAB Compliance | [compliant/gaps] | [P0-P3] |

| UX Impact | [acceptable/degraded] | [P0-P3] |

Yield Opportunity Matrix

| Opportunity | Est. Revenue Lift | Effort | Timeframe |

|-------------|-------------------|--------|-----------|

| {optimization} | {%} eCPM increase | {Low/Med/High} | {weeks} |

NEXT STEPS:

DO NOT:

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /ad-yield-optimization — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

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.