Marketing measurement, round 7: a geo test that checks itself
In simulation, tested on the same generator, daily spend checks caught a leak into the held-out regions and a pacing change within 3 days in at least 99.8% of runs, a check on revenue the ads cannot move caught only 19.1% of regional demand shocks, and a test read at its planned end with a 60-day conversion lag showed a median 30% of the true lift.
The same simulated software company as the media mix round, its 40 regions and its nine test worlds. There, one geo test switched paid search off in half the regions for 8 or 10 weeks and was read once at the end, on the assumption that nothing went wrong and every sale was booked by then. Here the same test runs 400 times per world, day by day, with sales booked days after they happen, and breaks on purpose in four ways I set. Five checks watch it from launch to readout. The checks that read spend caught their breaks within days. A regional drop in demand moves no spend, so only a check on existing-customer revenue, which the ads cannot move, could see it, and it caught 19.1% of them after they began; shock runs no check flagged drifted the read by a median 21.0% either way, against 15.0% on healthy tests no check flagged. A conversion lag needs no daily check: the lag curve says before launch how much will still be missing at readout. My call: run the spend checks daily, check the lag before launch and wait it out, and treat a quiet demand check as weak evidence, not as proof the test is clean.
Spend breaks caught within 3 days 99.8% or more of leak and pacing runs (100% and 99.8%), 3,600 of each across 9 worlds (same generator) | Regional demand shocks caught 19.1% by the existing-customer revenue check after the shock began, on a median day 31 of the shock; 12.3% to 27.3% by world (same generator) | Healthy tests flagged 7.3% by any check from launch to readout; 5.3% to 9.8% by world (same generator) | Lift read with a 60-day lag 30% of the true lift at the planned end (median); its 90% interval held the truth in 8.8% of runs (same generator) |
Main limitation One simulated company with breaks, break sizes and a lag I set, scored against its own truth: which check catches which break follows from how each break was built, and the regions share one national trend apart from the shock. | |||
Synthetic data: made-up regions and sales of one simulated company, so no customer or company record is used. It stands in for any business that tests a paid channel by switching it off in some regions; it shows a method and claims no media buying or marketing employment.
Round 2: a media mix model, checked. Its nine worlds, its regions and its geo test are reused here unchanged, and no model is refitted.
In plain words
A geo test switches a channel off in some regions and compares their sales with the rest. It is one of the few ways to measure what a channel causes rather than what it is credited with, which is why the media mix round used one to check its model. But a test that runs for weeks can go wrong while it runs: ads can leak into the regions meant to go without, the spend in the other regions can fall behind plan, demand can drop in a few regions for reasons that have nothing to do with the ads, and sales can take longer to book than the test lasts.
This page breaks the media mix round's test in each of those ways, on a simulated company where the true lift is known, and asks which daily check notices, how fast, and how wrong the read is when nobody does.
- Geo test
- Switching a channel off in some regions and comparing their sales with the regions where it stays on.
- Held-out regions
- The regions where paid search is switched off for the test; the live regions keep it.
- Lift
- What the channel causes per week: here, the sales paid search brings in at its planned spend.
- Conversion lag
- The days between a sale happening and the sale being booked where the team can see it.
- Still to arrive
- The share of the test's sales that will not be booked by the day the test is read.
- Drift
- How far the read lands from the true lift, as a share of the true lift.
- 90% interval
- The range the test reports around its read; on a sound test it holds the true lift about 9 times in 10.
Which check catches which break
Every check runs at the end of each test day on the data up to that day, and the balance and still-to-arrive checks also run before launch. A flag is recorded and never acted on, so every run is read at its planned end and the drift below is what a team that ignored the flag would report.
On a test that nothing broke, at least one check flagged 7.3% of runs (5.3% to 9.8% by world). Most of that is the balance check at launch, which compares the two halves' sales trends before the test: in this generator the regions share one national trend, so it only ever flags noise, about 3.9% of the time here. The daily spend checks flagged a healthy test in 1.4% (pacing) and 0.03% (held-out spend) of runs, and the existing-customer revenue check in 2.1%.
The spend breaks were easy. A campaign running without the regional exclusion put 10% of the planned spend into the held-out regions; the held-out spend check, which flags above 5% over three days, caught it in every run, on a median day 2 of the leak, counting its first day as 1. A pacing change that cut the live regions to 70% of plan was caught by the pacing check in every run, within 3 days in 99.8%. Both breaks move the spend each check reads well past its threshold, so the checks could hardly miss; what matters is that someone looks every day.
The demand shock was hard. Six regions drawn at random lost 20% of their sales from a day in the second or third week. It moves no spend, no lag and no history, so the first four checks read it exactly as they read a healthy test. Only the check on existing-customer revenue, which the ads cannot move but the regional drop also hits, could see it: it caught 19.1% of shock runs after the shock began (12.3% to 27.3% by world), on a median day 31 of the shock. The runs it flagged were the ones that moved the read most, as the next section shows.
| Test | Balance at launch | Held-out spend | Pacing | Still to arrive | Existing-customer revenue | Any check |
|---|---|---|---|---|---|---|
| No break | 3.9% | 0.0% | 1.4% | 0.0% | 2.1% | 7.3% |
| Spend leak into held-out regions | 3.9% | 100.0% caught (median day 2) | 1.4% | 0.0% | 2.1% | 100.0% |
| Pacing change in the live regions | 3.9% | 0.0% | 100.0% caught (median day 3) | 0.0% | 2.1% | 100.0% |
| Regional demand shock | 3.9% | 0.0% | 1.4% | 0.0% | 19.1% caught (median day 31) | 23.8% |
| A 60-day conversion lag | 3.9% | 0.0% | 1.4% | 100.0% caught (at launch) | 2.1% | 100.0% |
How far the read drifts
On a healthy test the read sits a little under the truth, a median −5.1%: with the company's usual 3-day lag about 3.6% of the test's sales are still to be booked at the end, and about 1% of the planned spend always reaches the held-out regions. Its 90% interval held the true lift in 88.7% of runs (86.5% to 90.8% by world).
Read anyway, both spend breaks understate the lift, in every world: the leak by a median 16.8% and the pacing change by 20.9%. A leak of only 10% of the spend costs more than 10% of the lift, because the first dollars of a channel buy the most. These two reads are the reason the spend checks matter, and the checks never let one through unflagged.
The shock is the case where unflagged does not mean clean. Of the shock runs no check flagged (76.3% of them), half drifted by more than 21.0% either way, against 15.0% for healthy tests no check flagged, and their interval held the truth in 71.9% of runs against 88.7%. The runs the check did flag had drifted a median 46.1%.
| Test | Drift, median | Drift, 5th to 95th percentile | Interval holds the truth |
|---|---|---|---|
| No break | −5.1% | −43% to 33% | 88.7% |
| Spend leak, read anyway | −16.8% | −55% to 21% | 78.3% |
| Pacing change, read anyway | −20.9% | −59% to 17% | 72.1% |
| Demand shock, every run | −7.3% | −72% to 59% | 64.3% |
| Demand shock, no check flagged | −7.5% | −65% to 49% | 71.9% |
| 60-day lag, read at the planned end | −70.3% | −109% to −33% | 8.8% |
Every run: each test, its read, interval and the day each check first flagged (gzip CSV); per world: every cell and check (CSV).
Reading before the sales arrive
The media mix round read its test the day it ended. With a 3-day lag that is nearly fine: about 3.6% of the test's sales are still to be booked. With a 30-day lag it is 41%, and the read is a median 55% of the true lift; with a 60-day lag, 67% is missing and the read is 30% (19% to 33% by world). The interval does not warn you: it is as narrow as on a healthy test, because its width comes from the noise before the test, which the lag does not change, so it held the truth in only 8.8% of 60-day runs.
The share still to arrive is the one figure the readout needs, and it is known before launch. From a sample of 400 past sales with the day each happened and the day it was booked, the check estimated it within a few points (at the 60-day lag, 65% to 75% against a true 67%). Flagging above 10% caught every run with a lag of 14 days or more at launch and none at 3 days; at 7 days, where 9.3% is still to arrive, it flagged 13.3%.
The simplest fix is to keep counting after the test ends: keep comparing the two halves until the lag curve says under 5% is still to arrive, then divide the summed gap by the weeks the test ran. At a 60-day lag that meant a median 113 more days and a read of 97% of the truth, with an interval 1.95 times as wide that held it in 89.5% of runs. At 90 days the wait hit its 26-week cap in 53% of runs. Correcting an early read for the value still to arrive, rather than waiting, is what the pacing study on delayed conversions works through for bidding; this page keeps only what the geo readout needs.
Median lift read as a share of the true lift, at each mean conversion lag. Hollow circle: read at the planned end; filled dot: read after waiting.
Show the data
| Lag | Still to arrive at the planned end | Planned read, median share of truth | Interval holds the truth | Wait, median days | Waited read, median share of truth | Interval holds the truth, waited | Interval width, waited over planned |
|---|---|---|---|---|---|---|---|
| 3-day lag | 3.6% | 94.9% | 88.7% | 0 | 94.9% | 88.7% | 1.00 |
| 7-day lag | 9.3% | 88.8% | 84.1% | 4 | 94.7% | 88.7% | 1.04 |
| 14-day lag | 19.3% | 77.9% | 70.0% | 15 | 96.2% | 88.9% | 1.13 |
| 30-day lag | 40.8% | 55.2% | 32.0% | 46 | 96.8% | 90.1% | 1.40 |
| 60-day lag | 67.2% | 29.7% | 8.8% | 113 | 97.4% | 89.5% | 1.95 |
| 90-day lag | 80.0% | 18.0% | 4.4% | 182 | 97.1% | 90.2% | 2.47 |
Every lag and world: the read by lag (CSV).
One shock, day by day
One run, chosen by a stated rule written into the protocol before the run: the world with the median true lift, and in it the first demand-shock run that the existing-customer revenue check flagged. In world 6 (longer carryover, retargeting 8 points) the test runs 8 weeks and paid search truly causes US$18K a week. On day 9 six regions lost 20% of their sales. They held 14.3% of the company's sales in the held-out half and 2.3% in the live half, so the held-out half fell further and the gap between the halves, which the test reads as lift, grew.
The existing-customer revenue gap climbed past 3 standard errors on day 49 of the test, day 41 of the shock, and 7 days before the planned end. The test read US$22K a week, 23% above the truth; its 90% interval still held the truth, so the read alone gave no sign. 50 of the 400 shock runs in this world were flagged.
| Test day | Lift read so far, a week | Existing-customer revenue gap, in standard errors | Check |
|---|---|---|---|
| Day 7 | US$11K | 1.4 | |
| Day 14 | US$11K | 1.3 | |
| Day 21 | US$14K | 1.6 | |
| Day 28 | US$19K | 2.1 | |
| Day 35 | US$18K | 2.6 | |
| Day 42 | US$21K | 2.9 | |
| Day 49 | US$21K | 3.0 | flags |
| Day 56 | US$22K | 3.1 |
What a team should do with it
- Check the lag before launch. The share of the test's sales still to arrive at readout comes from past sales alone. Above about 10%, plan the wait into the test, or the read is short: here a 60-day lag read 30% of the lift.
- Read spend by region every day. A leak into the held-out regions and a pacing change in the live ones both showed in spend within days. Read anyway, a 10% leak cut the read by a median 16.8% and a 30% pacing cut by 20.9%.
- Add a revenue the ads cannot move. Existing-customer revenue in the same regions was the only check that saw a regional demand shock, and it caught 19.1% of them after they began. Use it, and do not read its silence as a clean test.
- Treat the balance check as a launch gate. It compares the halves before the test starts and cannot see anything that happens during it.
- Report the read with what was still to arrive. A read with 41% of its sales unbooked, as at a 30-day lag here, should say so beside the number, not in a footnote.
Limits
- One simulated company with breaks, break sizes and a lag I set, scored against its own truth: which check catches which break follows from how each break was built, and the regions share one national trend apart from the shock.
- Each break has one size and one shape, chosen by me: a 10% leak, a 30% pacing cut, six regions down 20%, a lag of 3 to 90 days. Larger breaks are caught sooner, smaller ones later or never; the days to flag here describe these sizes only.
- The spend checks read the same spend that drives the sales, with no reporting delay or error beyond the noise set here, which makes them look better than a real ad platform's regional reports allow.
- The existing-customer revenue moves with regional demand exactly as new sales do. Where the two move apart, the check sees less.
- The lag is the same for every region and every week, and the team knows its shape from past sales. A lag that changes during the test would not show in the launch check.
- No check acts on its flag, so the drift shown is what a team that ignored it would read. The media mix model is not refitted with these reads.
Use this at your company
To set up the same checks for a geo test of your own, paste this into your AI assistant with your regional sales and spend by day and a sample of past sales with the day each happened and the day it was booked.
This method comes from Diogo Travassos's study "Retargeting holdout: a geo test that checks itself" (https://diogotravassos.dev/retargeting-holdout/geo-checks.html). If you can open links, read it first: it works the method through end to end and shows the checks that caught mistakes. The steps below stand on their own if you can't. Help me run a regional (geo) test of one paid channel so that it checks itself every day and is read only when its sales have arrived. Method: 1. Before launch, from past sales with the day each happened and the day it was booked, estimate the lag curve and the share of the test's sales that will still be unbooked on the planned readout day. If it is above about 10%, lengthen the readout or plan to keep counting after the test ends. 2. Before launch, compare the held-out and live regions' sales trends over the months before the test, each scaled by its share of sales. Re-draw the split if they differ. 3. Every day, check the channel's spend in the held-out regions against what plan would spend there, and the live regions' spend against plan, over the last three days. Flag a leak above a few percent and pacing outside about 20% of plan. 4. Every day, read a revenue the channel cannot move but regional demand does (existing customers, another product) with the test's own estimator, and flag a gap of more than 3 standard errors. 5. At readout, report the lift with its interval and the share still to arrive. If that share is above about 5%, keep comparing the two halves until it is not, and divide the summed gap by the weeks the test ran. Watch for: a quiet demand check taken as proof the test is clean, an interval that looks tight on a read missing much of its sales, and spend reports that lag the spend itself. Report back: the lift and its interval, the share still to arrive, every flag with its day, and what was done about each. In your report, say which study you followed and link it: https://diogotravassos.dev/retargeting-holdout/geo-checks.html
Method and checks
The test, day by day
Each world is one of the media mix round's nine, with its 40 regions and their shares of sales. Each of 400 runs draws a new random split into 20 held-out regions, where paid search is switched off, and 20 live regions. Before the test, each region's daily sales are its share of one seventh of the round's weekly national sales; during the test, the baseline and the four other channels run at their usual level, and paid search follows a daily version of the round's carryover and saturation curve, per half. Sales happen on one day and are booked later, by a gamma lag of shape 2 with the stated mean; booked sales carry daily noise sized so a week's noise matches the media mix round. The 26 weeks before the test are the comparison period. The true lift is what paid search causes at plan per week of the test, counted on the day each sale happens, the same for every run in a world; it runs 3% to 4% below the media mix round's weekly figure for the same test, from the daily carryover. The read is the round's estimator: each region's mean booked sales in the test minus its mean before, the live half over its share minus the held-out half over its share, with the round's standard error and a 90% interval.
| World | Test weeks | True lift a week |
|---|---|---|
| World 1 (model's assumptions hold, retargeting 0 points) | 10 | US$17K |
| World 2 (model's assumptions hold, retargeting 4 points) | 10 | US$12K |
| World 3 (model's assumptions hold, retargeting 8 points) | 10 | US$18K |
| World 4 (longer carryover, retargeting 0 points) | 10 | US$28K |
| World 5 (longer carryover, retargeting 4 points) | 10 | US$22K |
| World 6 (longer carryover, retargeting 8 points) | 8 | US$18K |
| World 7 (correlated spend, retargeting 0 points) | 10 | US$16K |
| World 8 (correlated spend, retargeting 4 points) | 10 | US$31K |
| World 9 (correlated spend, retargeting 8 points) | 10 | US$19K |
The breaks and the checks
Breaks start on a day drawn from 8 to 21 of the test, the same day for every break in a run, and last to the end. Spend leak: 10% of the planned spend runs in the held-out regions, on top of the 1% that always reaches them. Pacing change: the live regions spend 70% of plan. Demand shock: six regions drawn at random lose 20% of their sales and of their existing-customer revenue. Lag: a mean of 60 days from launch; the sweep runs healthy tests at 3, 7, 14, 30, 60 and 90 days.
Balance at launch: the gap between the halves' weekly sales before the test, each over its share, regressed on the week; flag when the slope's p-value is below 0.05. Held-out spend: the last three days' spend there over what plan would spend with search on; flag above 5%. Pacing: the live regions' last three days against plan; flag below 80% or above 120%. Still to arrive: from 400 past sales, the share of the test's sales unbooked at the planned end; flag above 10%. Existing-customer revenue: as large as the baseline and moving with the same demand, with less noise (2% of it a week, against 3% for new sales), booked the same day; the test's estimator on it, from launch to the day; flag beyond 3 standard errors, from day 7. Days to flag count from the break's first day (1 = that day).
What I predicted before running it (10 of 10 held)
Reworded here in the page's terms; the original wording is in the geo checks protocol file, committed before any code. Change 1 to the protocol (eight implementation clarifications, the clarifications file) was committed with the code, before the published run and before any run on the media mix round's worlds. It settles how days to flag are counted (from the break's first day; a flag before the break is a false alarm, not a catch), that every break of a run shares its noise, split and pre-period, and that spend after the test is exactly plan. It changes no rate, size, check, threshold or prediction.
| Prediction | Result | Note | |
|---|---|---|---|
| 1 | On healthy tests, any check flags at most 15% of runs, in every world. | held | |
| 2 | On healthy tests, the 90% interval holds the true lift in at least 80% of runs, in every world. | held | A wide band: at least 80% for an interval meant to hold 90%. Measured 86.5% to 90.8% by world. |
| 3 | The held-out spend check flags the leak within 3 days in at least 95% of runs, in every world. | held | |
| 4 | The pacing check flags the pacing change within 5 days in at least 95% of runs, in every world. | held | |
| 5 | The existing-customer revenue check flags the demand shock in 10% to 60% of shock runs, across all worlds. | held | A wide band, 10% to 60%. Measured as the prediction states it, any flag before readout: 19.5%; caught on or after the shock's first day: 19.1%. |
| 6 | Unflagged shock runs drift less than those the existing-customer check flagged, in at least 7 of 9 worlds. | held | Directional only: which group drifts more, not by how much. |
| 7 | With a 60-day lag the planned read is below 50% of the true lift in every world, and its interval holds the truth in at most 20% of runs. | held | |
| 8 | The still-to-arrive check flags at least 99% of 60-day-lag runs at launch and at most 1% of healthy runs. | held | |
| 9 | Waiting until under 5% is still to arrive brings coverage to at least 80% at lags of 7, 14 and 30 days. | held | |
| 10 | Read anyway, the leak and the pacing change each understate the lift in every world. | held |
Every prediction held. Predictions 2 and 5 were wide bands and prediction 6 names only a direction, so those three held easily; the notes give the measured values.
Downloads and reproduction
- All results (JSON), every cell and check per world (CSV), the read by lag (CSV) and every run (gzip CSV). The design, with the predictions, is in DESIGN-geo-checks.md.
- Code: the geochecks folder, NumPy and SciPy, reading the media mix round's world files without refitting. Every random draw comes from a fixed random stream, so the run replays byte for byte. The tests check the lag curve, the share still to arrive and the daily search curve, run every break on a made-up world, and replay the first world row for row. The README gives the commands.