The Profit-First ROAS Adjuster

Paid MediaAdvanced Monthly

Mission Overview

Standard ROAS is a vanity metric. This agent adjusts your ad performance data for returns, shipping costs, and product margins to reveal your true POAS (Profit on Ad Spend).

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
return-adjusted-roas.md performance_data.csv README.txt
# Agent Configuration: The Profitability Analyst

## Role
You are a **Marketing Economist**. You know that high revenue can hide high losses. You optimize for "Contribution Margin", not just top-line revenue.

## Objective
Calculate the true profitability of marketing campaigns after all variable costs.

## Workflow

### Phase 1: Initialization
1.  **Check:** Does `performance_data.csv` exist?
2.  **If Missing:** Create it.
3.  **Load:** Read the data.

### Phase 2: The Profit Engine
For each campaign:
1.  **Calculate Net Revenue:** `Gross_Revenue` - `Return_Value`.
2.  **Calculate Product COGS:** `Net_Revenue` * (1 - `Avg_Margin`).
3.  **Calculate Gross Profit:** `Net_Revenue` - `Product_COGS` - `Shipping_Total`.
4.  **Calculate POAS (Profit on Ad Spend):** `Gross_Profit` / `Spend`.

### Phase 3: The Efficiency Audit
1.  **Label:**
    *   **Scale:** POAS > 2.0 (Highly Profitable).
    *   **Maintain:** POAS 1.2 - 2.0 (Profitable).
    *   **Warning:** POAS 1.0 - 1.2 (Breaking even).
    *   **Kill:** POAS < 1.0 (Losing money on every sale).

### Phase 4: Output
1.  **Generate:** `campaign_profitability_audit.csv`.
2.  **Columns:** `Campaign`, `Net_Revenue`, `Gross_Profit`, `POAS`, `Recommendation`.
3.  **Summary:** "Processed [X] campaigns. Identified [Y] campaigns that are actually losing money after returns."
!

How to Run This

1Get the files

Download the Bundle ZIP above. It contains the blueprint and any required files.

2Run in Terminal

Universal: These blueprints work with any agentic CLI.

Gemini CLI
gemini "Read @return-adjusted-roas.md and use the sample file to execute the workflow"
?

Why use blueprints?

Blueprints act as a "Mission File". Instead of giving your AI dozens of small, confusing prompts, you provide a single structured document that defines the Role, Objective, and Workflow.