All work

Digital Advantage Media, 2026

One place where every client's ad spend, leads and sales outcomes meet. A cloud data pipeline across Meta, Google and client CRMs feeds a dashboard, AI insights, automated monthly reports and alerts. It began as DAM's internal analytics tool and is now one platform for staff, clients and self-serve businesses.

  • Analytics
  • Data Engineering
  • AI Insights

The problem

Spend in one tab, leads in another.

Account managers at DAM ran close to thirty client accounts. Spend lived in Meta Ads Manager and Google Ads. Leads lived in each client's own Google Sheet, every one with different columns, date formats and status words. Whether a lead was relevant, visited the site or booked lived in a third place again.

So the question every client actually asks — “what did my money buy?” — took an afternoon of copy-paste to answer, and the monthly report was rebuilt by hand every month.

Three sources per client, none joined

Cost per qualified lead was guesswork

Monthly reports assembled by hand

Hours per client, numbers that drifted

Nobody watching accounts overnight

Broken campaigns found days late

The solution

A pipeline first, a dashboard second.

I built the data layer before the screens. A nightly cloud job pulls every account from the ad platforms and every client's lead sheet, cleans and joins them, and publishes one mart per client. Everything else — the dashboard, the insights, the reports, the alerts — reads from those marts, so no two views can disagree on a number.

Data flow

  1. ExtractMeta · Google · CRM sheets
  2. CleanDates, statuses, columns
  3. JoinSpend × lead outcomes
  4. MartOne per client
  5. ServeDashboard · reports · alerts

Performance Dashboard

Spend, leads, cost per lead and funnel outcomes per client, with free date-range comparison and creative-level views. Staff and client logins see only what they are scoped to.

Insights That Do Arithmetic, Not Guessing

An Insights tab opens on up to four act / watch / working cards computed from plain thresholds — spend with zero results, cost 1.5× the average, an engine 20% cheaper. ‘Ask why’ then hands the card to AI with the right dataset.

One-Click Monthly Reports

Generates the client's monthly Word report. The pipeline computes every figure; AI only writes the words, and a check rejects any number the model invents.

Overnight Anomaly Alerts

Each campaign is compared with its own trailing 7 days — spend spikes, silent delivery, cost-per-lead jumps — and a Slack digest lands every morning with deep links into the ad account.

Competitor Ads

Pulls competitors' live ads from the Meta and Google ad libraries on demand and summarises the angles they are running, inside the client's own view.

Client Brief

Each client's strategy brief lives in the tool. AI drafts it from the website, call notes or an old deck; an account manager approves each section before anything downstream reads it.

One platform

From internal tool to product.

Clients kept asking for the view the account managers had, so Cerno became one platform with one login. Staff, client logins and businesses that sign up on their own all use the same site; what each person sees follows the email they have proven, not a separate deployment.

Access Follows Identity

Any sign-in method works, but agency-level access needs a confirmed address. Each client login is scoped to its own accounts, checked server-side on every request.

Self-Serve Onboarding

A business names itself, connects its own Google Ads and Meta accounts through OAuth, and gets the same dashboard the agency uses, filled by the same pipeline.

Week on Week

Any campaign, ad set or ad as eight whole Monday-to-Sunday weeks side by side. A client asked for it; it shipped to staff and client views together.

SEO Next to Paid

Search Console and GA4 sit beside the ad data, and a panel matches paid search terms to organic rankings to show where SEO would lower the cost of paid.

Judgement calls

The decisions that made it trustworthy.

  • Numbers come from code, words from AI. A model never computes a figure that reaches a client — reports are reconciled against the raw lead data before release (58 of 58 client-months matched exactly).
  • Alerts tuned on real data, not defaults. DAM campaigns average under one lead a day, so a naive "spent money, zero leads" rule fired on most healthy campaigns. Lead-volume gates and a 2× threshold cut noise to about ten alerts a day across fifteen clients.
  • A green job is not proof. An early cloud run reported success while silently publishing empty data. I added guards that refuse to publish when fewer than half the clients built, and a daily freshness watchdog that judges data age, not run status.
  • Knowing when not to ship. An ad-level verdict engine works for e-commerce clients but lead-gen data was too thin to judge individual ads — so I scoped it to sales accounts and documented what data would unlock the rest.

Tech stack

Python pipeline, Next.js front end.

Python + pandasParquetMeta Marketing APIGoogle Ads APIGoogle Sheets APIGitHub ActionsNext.jsVercelSupabase StorageClaude + GeminiSlack Webhooks

Extraction and transforms run as a scheduled GitHub Actions job; the site is a Next.js app on Vercel reading published marts from storage. Built with AI-assisted development, with every change going local → dev → production.

Outcomes

What actually changed.

28

Client accounts

Refreshed every morning

21

Monthly reports

Generated, not hand-built

41%

Faster build

26 → 15 min, same output

100%

Reconciled

Reports vs raw lead data

  • Account managers answer "what did my money buy?" from one screen instead of three exports.
  • Monthly client reports went from a manual rebuild to a button, with numbers that cannot drift from the dashboard.
  • Broken or runaway campaigns surface the next morning in Slack, not at month end.
  • Cut the nightly build time by about 40% by fixing the slowest transforms and running clients in parallel — verified byte-identical output before shipping.