Case study · Automation
Finding the ad spend that did not add up.
Spend pulled straight from five ad platforms, checked against the agency's own reporting every day, with the gaps ranked by how much money they involve.
- Client
- Advertising agency
- Sector
- Marketing services
- Built by
- Senka
- Built with
- Python, pandas, Great Expectations, FastAPI, React, PostgreSQL, Docker, Google Cloud Run
Watch it work, in about a minute.
5
ad platform APIs connected: Meta, Google Ads, TikTok, Reddit, Simpli.fi
98.5%
of spend reconciled on an $8M validation dataset
250+
automated tests
6
pipeline stages, each with an output you can inspect
How it is wired
From five platforms to one answer.
1 · Comes in
- Meta
- Google Ads
- TikTok
- Simpli.fi
- Vendor exports
2 · Agents and automation
- Ingest and clean
- Validate (2% variance rule)
- Reconcile
- Analyse and report
3 · Goes out
- Gaps ranked by money
- Client dashboards: spend, trends, ROAS
- Pacing against media plans
Where a person checks. A human review queue decides on every flagged gap. Corrections are recorded separately and never change the source data.
The problem
Dashboard numbers did not always match what the ad platforms reported, and nobody could say where, by how much, or which gaps mattered.
What we built
- A six-stage pipeline: ingest, clean, validate, reconcile, analyse, report.
- Live connectors to five ad platforms, plus a config file that maps messy vendor exports without new code.
- Data-quality checks with a 2% variance rule and a statistical test that tells a broken integration apart from random noise.
- A human review queue. Corrections are recorded separately, so every changed number has a paper trail.
- An admin app and password-protected client dashboards with spend, trends, ROAS and pacing against media plans.
The result
Tested on a dataset with deliberately planted problems, the engine found all 221 missing campaign-days, 112 empty values and 89 duplicate keys, and ignored rounding noise under 2%.



