Skip to content

A profit-aware advertising dashboard that exposes the truth behind ROAS. Visualizes real net margins and COGS for Google, Meta, and TikTok ads. Built with React, TypeScript, and Tailwind.

Notifications You must be signed in to change notification settings

mikedsayre/ProfitGuard-AI

Repository files navigation

ProfitGuard AI Logo
# Swan Lake AI: ProfitGuard (Automated Margin Protection)

Deploy with Vercel React Tailwind CSS Simulation Mode

🦢 The Problem: ROAS is Deceptive

Traditional Google Ads management focuses on ROAS (Return on Ad Spend). However, high-ROAS campaigns can often be unprofitable when accounting for variable margins, COGS (Cost of Goods Sold), and fulfillment overhead.

ProfitGuard AI is a "Profit-Aware" dashboard designed to solve the ROAS vs. Profit mismatch across all major ad platforms (Google, Meta, TikTok).

👉 Launch Live Demo


🛠️ How ProfitGuard Works

  1. Define Economics: Set your product COGS (%) using the Business Economics panel. The app instantly recalculates "Real Profit" for every campaign.
  2. Universal Import: Upload a CSV report from Google, Meta, or TikTok. Our smart parser auto-detects columns like "Amount Spent" and "Conversion Value."
  3. Analyze: The Action Plan engine audits your data to find:
    • "Bleeders": Campaigns with negative margins despite high revenue.
    • "Scalers": High-profit opportunities ready for budget increases.
    • "Platform Shifts": Opportunities to move budget from expensive Search to cheaper Social channels.
  4. Distribute: Use the Copy Report feature to generate a formatted text audit instantly—ready for Slack, Email, or CRM updates.
  5. Protect: Visualize "Safety Guards" that would auto-pause ads breaching your profit floor.

🚀 Key Features

🌍 Universal Platform Support

Stop managing platforms in silos. Our smart parser auto-normalizes headers from all major ad networks.

  • Supported: Google Ads, Meta (FB/IG), TikTok, Pinterest.

📋 Action Plan & Automated Reporting

The Action Plan acts as an automated strategist. It identifies immediate waste and unit-economic flaws.

  • One-Click Report: Copy a professional, text-formatted audit summary to your clipboard.

📈 Advanced COGS Engine

Model complex business economics with one-click presets for SaaS, Manufacturing, Retail, and Dropshipping.


💻 Local Development

Want to run ProfitGuard locally or contribute?

  1. Clone the repo:

    git clone [https://github.com/mikedsayre/ProfitGuard-AI.git](https://github.com/mikedsayre/ProfitGuard-AI.git)
    cd ProfitGuard-AI
  2. Install dependencies:

    npm install
  3. Start the dev server:

    npm run dev
  4. Build for production:

    npm run build

👨‍💻 About the Author

Built by Mike Sayre - Swan Lake Digital Senior MarTech & AI Strategist

🌐 swanlakedigital.com


Disclaimer: This is a portfolio application demonstrating MarTech logic and UI/UX design. Use in production environments requires a valid ad network developer token.

About

A profit-aware advertising dashboard that exposes the truth behind ROAS. Visualizes real net margins and COGS for Google, Meta, and TikTok ads. Built with React, TypeScript, and Tailwind.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published