Google Apps Script · Live report
Velora Paid Media Report
Spend rose 18% but conversions only 6%. A full marketing report built on Google Apps Script that shows why, says where the next dollar should go, and checks whether the numbers can be trusted.
- 01
Overview
Did the budget work? Spend, conversions and cost per consideration against last year, with a trend that marks sales events and launches.
Try it: Drag across the trend chart to zoom into those dates. Click a stage to filter the whole report.
- 02
Why costs moved
A bridge that splits the change in cost per consideration into channel price changes and shifts in the budget mix.
Try it: Click a bar in the bridge to filter the report to that channel.
- 03
Channels
Where each dollar works hardest: spend against cost per consideration, share of spend against share of conversions, and a stage × channel heatmap.
Try it: Click a bubble or a bar to filter. Hover a heatmap cell for its index.
- 04
Campaigns
Every campaign ranked against its stage median, so you can see what to scale and what to cut.
Try it: Click a campaign to see its trend and ad groups below.
- 05
Launches & timing
Did launches and sales events pay off? Lift in conversions per day against the days before, and when people convert by weekday and month.
Try it: Hover a cell in the weekday × month grid for details.
- 06
What to do next
Six actions, each sized in dollars and conversions, written from the data and updated when the filters change.
Try it: Change the date range or a channel filter and watch the actions rewrite themselves.
- 07
Breakdown
A pivot by stage, channel, platform, model and campaign, with shares at every level.
Try it: Click ▸ to open the next level inline. Click a name to filter.
- 08
Data health
Raw against clean data: duplicates, cost loaded in micros, missing days and a renamed platform, then a cost reconciliation that leaves $273 unexplained.
Try it: Hover any mark for the row counts.
- 09
Alerts
Gmail alerts on rules you set, a daily trigger and a delivery log. Anyone can preview the exact email; only the owner can change rules or send.
Try it: Pick a rule and preview the email it would send.
Each consideration cost 11.3% more: spend +18.2%, conversions +6.2%
The question
Paid media spend rose 18.2% year on year, but considerations rose only 6.2%, so each one cost 11.3% more. A CMO wants three answers: did the budget work, where should the next dollar go, and can the numbers be trusted?
The report answers each in turn across nine tabs. Every headline is written from the data as it loads and rewrites itself when you filter, so no sentence carries a stale number.
How it's built
- Google Apps Script, nothing else. One public web-app link serves the page and runs the alerts. There is no BI licence, no server and no database, and viewers don't need to sign in.
- One engine in two places. The same JavaScript calculates in the browser and on the server, so a number in an alert email always matches the report.
- Load once, then instant. The full daily dataset ships compressed, about 1.5 MB, and loads once. After that every filter and drill-down runs in the browser with no query round-trips.
- Custom visuals. Chart.js plus hand-built SVG and HTML for the cost bridge, bubble chart, heatmaps, drag-to-zoom and click-to-filter.
- Alerts in Gmail. Rules and a delivery log in Script Properties and a daily time trigger. Changing rules or sending mail needs a one-time code sent to the owner's Gmail.
- Things BI tools charge extra for. Share links that capture the full view, saved views, Undo, CSV export on every visual, a guided tour and keyboard shortcuts.
About the data
Two years of synthetic daily paid-media data for a fictional carmaker, Velora Motors: 138,161 clean rows and a raw copy of 139,479 rows with known problems injected. The problems are 1% duplicate rows, a week of Bing cost loaded in micros, three missing Pinterest days, rows with more clicks than impressions, and a connector renamed mid-year. The Data health tab finds each one and reconciles raw to clean cost to within $273. No real client data.