Skip to content
Centriu
Centriu Axis

Daily Ad-Spend Series Delta-Versus-Cumulative Integrity Automation: Caught at 9x Before It Ever Shipped

An internal audit of Centriu Axis's paid-media reporting tools found a real, specific gap: the existing tool for describing a client's campaigns could only report the LIFETIME total since a campaign began — its own documentation warns the person using it that they cannot say spend "dropped in August" or compare two periods with it, and a separate ROAS column it might have relied on is hardcoded to a fixed 1.00 with an explicit internal note never to cite it. A new tool was built specifically to answer that question honestly: real day-by-day spend, impressions, clicks and conversions, plus a genuine comparison against the immediately preceding period of equal length. Before it shipped, live testing against a real connected account caught a serious defect in its first version: it was summing each day's CUMULATIVE running total across the requested window instead of computing the ACTUAL day-to-day change — inflating spend by roughly 9 times on a real 8-day campaign (a genuine delta of R$197.78 misreported as R$15,817 summed). The fix derives each day's real figure as the difference from the previous recorded snapshot for that same campaign, with a floor that prevents a data correction from ever producing a negative daily figure.
Caught by live testing, not review
9x inflated, now a real delta
Command center screen with real metrics
Caught at 9x, before anyone outside the team saw it.

A running total and a day's actual activity are different numbers that are easy to conflate

A metric recorded as "the total so far" is genuinely useful for one question — how much has been spent in total — and genuinely useless, on its own, for a completely different one: how much changed today, or this week, compared to before. Building a report that answers the second question from data shaped for the first requires one deliberate, explicit step — subtracting the previous total from the current one — and skipping that step doesn't produce an error. It produces a normal-looking number that happens to be wildly wrong, because it silently answers a different question than the one being asked.

How the underlying problem shows up before you fix it

A reporting tool is built specifically to answer "how much changed over a period," but the underlying data it reads is stored as a running cumulative total rather than a per-period figure.

A new calculation summing a series of values produces numbers that look plausible in isolation — no error, no obviously broken output — while being an order of magnitude off from the real figure.

An existing tool's own documentation explicitly warns that it cannot answer a comparison or trend question, which is itself a signal that whatever eventually DOES try to answer that question needs deliberate, careful design, not a quick repurposing of the same data.

A calculated field exists specifically labeled as something not to be trusted or cited (a fixed placeholder value), and a new feature risks accidentally depending on it simply because the field exists and looks like real data.

A newly built calculation is validated only against synthetic or small test data, rather than against a real account's real numbers, where an order-of-magnitude error is far more likely to be conspicuous and caught.

Why summing a series of running totals is such an easy mistake to make unnoticed

Writing a query that groups rows by day and sums a spend column is one of the most natural, common patterns in reporting code — it is exactly correct when each row already represents that day's own activity. The mistake only exists at all because the SOURCE rows here represent something different: each one is a cumulative snapshot, a running total as of that day, not that day's own contribution. The two cases look identical in the query itself; the only way to tell them apart is to know, explicitly, what the underlying data actually represents — and a query that's syntactically correct and returns a number gives no signal at all that it answered the wrong question.

How Centriu Axis found the error by testing against real numbers, not by reading the code twice

The tool this fix concerns was built to close a real, previously-documented gap: Axis's existing campaign-reporting tool could only ever report a LIFETIME total since a campaign's start, with its own text stating plainly that it cannot support a question like "did spend drop in August," and a ROAS figure available elsewhere in the product marked internally as a fixed placeholder never to be cited as real. The new tool reads the same daily snapshot table Centriu Maestro's own ad-metrics pipeline writes — real per-campaign totals recorded once a day — specifically to compute genuine daily change and a genuine period-over-period comparison, along with CTR, cost-per-click and cost-per-acquisition calculated directly from real spend, click and conversion figures rather than from any placeholder column.

Before release, the function was tested against a real, connected account's real data — not synthetic test rows — specifically because the underlying table records a cumulative, lifetime-basis total in every row: a full, running sum since that campaign's first day, not that day's own activity. The first version of the new tool's query summed those cumulative totals directly across every day in the requested window — a natural-looking, syntactically correct aggregation that answers a completely different question than the one intended. Against one real account, an 8-day campaign with a genuine period spend of R$197.78 was reported by that first version as R$15,817 — roughly nine times too high — a discrepancy large enough to be immediately, unmistakably obvious the moment it was checked against what the account's own real spend actually was.

The fix replaces the direct sum with a delta calculation: each day's real figure is computed as that day's recorded cumulative total MINUS the immediately preceding recorded snapshot for that same specific campaign, using a windowed lookback rather than a plain aggregate. A floor is applied to that difference so that a data correction or reset on the advertising platform's own side — which could otherwise produce a negative "delta" — never reports as negative spend; it reports as zero for that day instead. The same delta logic, not a second, separately-written calculation, is reused for the day-by-day series, the per-campaign breakdown, and the current-period-versus-previous-period comparison, so the three views of the same underlying data can never quietly drift out of sync with each other.

What is actually built today

A day-by-day spend, impressions, clicks and conversions series computed as the real delta between consecutive daily snapshots for each campaign — never a running cumulative total presented as if it were one day's activity.

A genuine period-over-period comparison against the immediately preceding window of equal length, computed from the same delta logic as the daily series.

CTR, cost-per-click and cost-per-acquisition calculated directly from real spend, click and conversion figures — never from the product's separately-documented, fixed-placeholder ROAS field.

A floor preventing a data correction or platform-side reset from ever reporting a negative daily figure — it reports zero for that day instead.

An explicit, built-in caution returned alongside every result: a campaign's very FIRST recorded snapshot has no prior day to compare against, so its figure can represent the campaign's entire history to that point rather than one day — flagged directly so an unusually large single-day figure isn't mistaken for genuine daily activity.

Confirmed today via direct inspection: the delta-based calculation, not a direct sum, remains the current definition of this tool's underlying query.

Nine times too high, caught before anyone outside the team ever saw it (illustrative figures, matching the real, measured discrepancy)

An 8-day campaign genuinely spent R$197.78 in real advertising cost over that window. The first version of the new reporting tool, tested against that exact real account before release, reported R$15,817 for the same window — because it summed eight cumulative running totals instead of computing seven real day-to-day deltas. The discrepancy was large enough to be caught immediately by comparing the tool's output against the account's own actual numbers, before the tool was ever released for anyone to rely on.

What changes operationally

Centriu Axis can now answer a genuine day-by-day and period-over-period question about a client's paid-media spend — a real gap the platform's own existing tool explicitly could not answer — with figures derived from real, delta-based daily activity rather than a running cumulative total, and calculated cost metrics that never depend on a documented, fixed-placeholder value.

When this is not the right fit

This tool reports real spend, impressions, clicks and conversions — it explicitly does not compute or return a ROAS figure, because doing so honestly would require the client's own revenue data, which the platform does not currently consolidate from this reporting path. A team expecting a return-on-ad-spend number from this specific tool will not find one here.

A plausible-looking number vs. one verified against reality

A calculation that reads cleanly, runs without error, and returns a normal-looking figure can still be answering an entirely different question than the one intended — and nothing about the code itself signals that mismatch. Centriu Axis caught this one specifically because the fix was tested against a real account's real, already-known numbers before release, where a nine-times discrepancy was immediately, unmistakably visible — a standard code review reading the query in isolation would have had no comparably obvious signal that anything was wrong.

Related systems

Main system: Centriu Axis. Complementary when relevant: Centriu Maestro.

What it does NOT do

  • Does not sum cumulative running totals across a reporting window to represent daily activity — every daily and comparison figure is computed as the delta between consecutive snapshots for the same campaign.
  • Does not report a negative daily figure when a platform-side data correction produces a downward-looking difference — a floor reports zero for that day instead.
  • Does not compute or return a ROAS figure from this tool — that would require client revenue data this reporting path does not currently consolidate.
  • Does not treat a campaign's first recorded snapshot as a normal single day of activity — the response explicitly flags that a first-snapshot figure can represent the campaign's entire history to that point.
  • Does not rely on the product's separately-documented, fixed-placeholder ROAS column for any calculation this tool performs.
  • Does not modify, pause, or otherwise touch any live campaign on any advertising platform — this tool is read-only reporting.

Security and governance

This reporting tool resolves the requesting agent's own organization and restricts client lookup to that agent's assigned portfolio before returning any figure. Any personal or business data involved remains subject to Brazil's LGPD (Law No. 13,709/2018). Full detail on access control lives at /governanca and /iso.

Pricing and contracting

Included at no extra cost with any Centriu contract. Values and terms come from the official pricing table at /precos (Centriu's central source — never restated here).

Frequently asked questions

What question could Axis not answer about ad spend before this tool existed?

Whether spend went up or down over a specific period — the existing tool could only report a lifetime cumulative total since a campaign began, with its own documentation stating plainly it could not support a period comparison.

What was the actual defect found before release?

The first version summed cumulative running totals across a reporting window instead of computing real day-to-day deltas, inflating a real 8-day campaign's genuine R$197.78 spend to a reported R$15,817 — roughly 9 times too high.

How was the defect caught?

By testing the new tool against a real, connected account's real numbers before release — a discrepancy that large was immediately, unmistakably visible once compared to the account's own actual spend.

Does this tool report ROAS?

No — genuine return-on-ad-spend requires the client's own revenue data, which this reporting path does not consolidate; the product's existing ROAS column is a documented, fixed placeholder never used here.

What happens with a campaign's very first recorded data point?

It has no prior day to compare against, so its figure may represent the campaign's entire history to that point rather than one day's activity — the tool explicitly flags this rather than presenting it as a normal daily figure.

What does Centriu Axis cost?

It is sold by subscription with a published starting price — exact current values are on the central pricing page.

See how Centriu Axis reports real daily ad-spend trends

Reach our commercial team directly, or leave your details below — we'll follow up with guidance for your case.

Sources

  1. Centriu Axis — public product page — Centriu, 2026-07-20 · link(primária)
  2. Centriu Axis — public factsheet (API, JSON) — Centriu, 2026-07-21 · link
  3. Centriu Maestro — public product page — Centriu, 2026-07-20 · link(primária)
  4. Centriu Maestro — public factsheet (API, JSON) — Centriu, 2026-07-21 · link
  5. Law No. 13,709/2018 — Brazil’s General Data Protection Law (LGPD) — Presidência da República (Brazil), 2018-08-14 · link

Last material update on .

By · AI-assisted production, with human review