AdIntel AI is a premium growth analytics and AI optimization platform designed to analyze Google Ads performance reports and generate high-impact growth strategies. Powered by Streamlit, Pandas, Plotly, and the Gemini API, the application looks and feels like a modern B2B SaaS dashboard.
- Intelligent CSV Upload: Auto-detects and processes standard Google Ads CSV export columns (Spend, Conversions, CPA, ROAS, CPC, CTR, Impression Share, Devices, etc.). Includes instant Demo Data loading for frictionless testing.
- Interactive Visual Dashboard: High-impact Plotly visualizations including:
- Spend and Conversion trends
- Campaign Efficiency Matrices (scatter chart of CPC vs. Conversions)
- Wasted Spend and High-CPA warning lists
- Device and Impression Share analysis
- AI Insight Engine (Gemini 2.5):
- Insight Prioritization: Standardized ranking (🔴 High Impact, 🟡 Medium Impact, 🟢 Optimization Opportunity).
- Estimated Opportunity Loss: Rule-based & LLM calculations demonstrating where dollars are wasted (e.g. "Campaign X is wasting ~$2,300/month").
- Top 5 Immediate Actions: High-priority checklist outlining exact immediate steps to stop the bleed and scale wins.
- Full Executive Strategy: Sounding like a top-tier performances marketing partner.
- AI AdIntel Chat Assistant: An interactive context-aware chatbot that keeps memory and answers queries directly about your campaign data (e.g. "Which campaigns should I pause?", "Where is my budget wasted?").
- Bonus Executive PDF Export: Generate a beautifully formatted performance audit PDF on-demand to share with stakeholders or clients.
- Frontend: Streamlit
- AI Core: Gemini API via Google Generative AI SDK (
gemini-2.5-flash) - Data Engineering: Pandas
- Visualization: Plotly
- PDF Generation: ReportLab
- Styling: Injected CSS (Vanilla CSS) for a sleek, glassmorphic dark-mode appearance with premium fonts and styling tokens.
- Python 3.9 - 3.11 installed.
Navigate to the project root:
cd adintel-aipip install -r requirements.txtCopy .env.example to .env and fill in your Gemini API key:
cp .env.example .envOpen .env and add your key:
GEMINI_API_KEY=AIzaSy...Note: You can also paste your Gemini API key directly into the Streamlit sidebar at runtime if you do not want to set environment variables.
streamlit run app.pyThe app will automatically open in your browser at http://localhost:8501.
adintel-ai/
├── .env.example
├── .gitignore
├── README.md
├── app.py # Main Streamlit application
├── requirements.txt # Python dependencies
├── components/
│ ├── __init__.py
│ ├── chat_interface.py # AI Chat assistant interface
│ └── dashboard.py # Dashboard visualizations and metric grids
├── services/
│ ├── __init__.py
│ └── gemini_service.py # Gemini API integrations and prompting
├── styles/
│ └── main_css.py # Elegant CSS styling tokens
└── utils/
├── __init__.py
└── data_processor.py # CSV parser, dummy generator, anomaly detector