Independent black-box audit suite for Google PMax, Demand Gen & Meta Advantage+ AI advertising campaigns
pip install ad-sentry==0.1.0 Copy PIP instructions
Ad Sentry is an independent, mathematically rigorous advertising audit and delivery reconciliation engine for performance marketing teams and agencies.
Automated AI ad platforms — Google Performance Max, Google Demand Gen, and Meta Advantage+ Shopping (ASC) — routinely obscure channel delivery splits, bleed spend into non-converting "Zombie Products", trigger blurry auto-generated video on YouTube Shorts, suffer cross-campaign inventory collisions, and report inflated vanity ROAS driven by view-through conversion credit.
Ad Sentry cuts through black-box reporting to give advertisers and agencies full transparency, causal incrementality validation ($1/\mu$), and client-ready White-Label pitch decks.
┌─────────────────────────────────────────────────────────────────────────────┐ │ AD SENTRY AUDIT MATRIX │ ├───────────────────────┬────────────────────────────┬────────────────────────┤ │ Google PerformanceMax │ Google Demand Gen Overlap │ Meta Advantage+ (ASC) │ ├───────────────────────┼────────────────────────────┼────────────────────────┤ │ • Channel x Format │ • YouTube/Gmail/Discover │ • Audience Network │ │ reconciliation │ inventory collision │ placement leakage │ │ • Asset Group Grader │ • Engaged-View (EVC) │ • 1-Day View vs Click │ │ (9:16 Shorts check) │ conversion de-duplication│ Ghost-ROAS isolation │ │ • "Zombie Products" │ • Multi-asset creative │ • Existing customer │ │ shopping feed audit │ fatigue detection │ budget cap audit │ │ • Pure search demand │ • Cross-campaign reach │ • Dynamic Product Ad │ │ (zero cost fabric.) │ cannibalization │ vs Video format split│ └───────────────────────┴────────────────────────────┴────────────────────────┘ ⚡ Quickstart Installation Install the CLI tool and core suite directly from PyPI:
pip install ad-sentry (Note: pip install pmax-sentry also installs this suite for backward compatibility).
ad-audit version # or use the pmax-audit alias: pmax-audit version 📊 Core Audit Capabilities 1. Google Performance Max: Reconciliation, Asset Grader & Zombie Products Audit delivery across Google Search, Display, YouTube, Discover, Gmail, and Maps while grading creative completeness and detecting non-converting shopping feed SKUs:
ad-audit report --customer-id 1234567890 --start-date 2026-10-01 --end-date 2026-10-31 --margin 0.40 Terminal output delivers 4 forensic audits in seconds:
Detect inventory collisions across YouTube in-stream, Discover feed, and Gmail between PMax and Demand Gen campaigns:
ad-audit meta report --account-id act_1234567890 --start-date 2026-10-01 --end-date 2026-10-31 --margin 0.40 4. Search Demand Category Insights Categorize search term intent (Brand vs Generic) with zero fabricated spend:
ad-audit insights --customer-id 1234567890 --start-date 2026-10-01 --end-date 2026-10-31 -b "yourbrand" 💼 Agency Pro: Standalone White-Label Pitch Decks Agencies use Ad Sentry to turn raw audit findings into beautiful, client-ready presentation pitch decks that win $2,000–$10,000/month management retainers.
Generate a standalone HTML pitch deck ready for client presentations:
Ad Sentry operates on an Open-Core model. The CLI, reconciliation algorithms, mock clients, and terminal/CSV/JSON reporting are 100% free and open-source under the Apache-2.0 license.
To unlock White-Label HTML pitch decks, causal experiment designs, and multi-client agency features, licenses are available via Polar.sh:
# Check available checkout tiers ad-audit license buy # Activate your key instantly ad-audit license activate # Verify active status ad-audit license status 🤖 Model Context Protocol (MCP) for AI Agents Ad Sentry includes a native Model Context Protocol (MCP) server. Run audits directly inside Claude Desktop, Cursor, or Antigravity.
ad-mcp # or alias: pmax-mcp Claude Desktop Configuration Add to your claude_desktop_config.json:
{ "mcpServers": { "ad-sentry": { "command": "ad-mcp" } } } Cursor Configuration Add to your .cursor/mcp.json:
# Clone the repository git clone https://github.com/flovv/ad-sentry.git cd ad-sentry # Install dependencies in editable mode pip install -e ".[dev,all]" # Run full test suite with coverage pytest -v --cov 📄 License This project is licensed under the Apache-2.0 License. Agency Pro features and commercial distribution benefits are managed via Polar.sh.
ad-audit pmax performance-max meta-ads advantage-plus demand-gen google-ads zombie-products creative-audit incrementality roas mcp polar
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




