Pacing and bidding when conversions arrive late
On synthetic auctions, a bidding rule that counted clicks not yet converted as failures spent only 18% of its budget while its true return beat the target.
Main limitation Base case, mean of 10 runs, on auctions where every conversion rate, value, delay and cost is my assumption and the simulator knows a truth no real account has. Counting every sale whenever it arrived, the rule's return was 1.41 times the target and it lost 73% of the conversion value a bidder knowing the true values earned, 41% to 88% across the delay and drift settings tried; delay curves per segment from history recovered 95% of that loss, one pooled curve 42%, and none of these numbers says what a real account would lose.
A team buying clicks or leads in auctions has to hit a return-on-spend target inside a daily budget, but a sale can take days or weeks to show up. Whatever the bidding rule reads as a poor return, it buys less of. I built a synthetic account where the true value of every click is known, ran each rule on the same auctions, and scored it against that truth.
Naive rule, return against the target
1.41 times
with 18% of the budget spent (13% to 23% across runs); the informed bidder ran at 1.02 and spent 91% (77% to 96%; under the declared 85% on 2 of 10 runs) | Conversion value lost against the informed bidder
73%
naive rule, 67% to 79% across runs; 53% of the conversions | Share of that loss the per-segment curves from history recovered
95%
87% to 103% across runs, above all of it when a run beat the informed bidder; 76% to 87% with double delays; the simulator's own curve, a best case, 95%; one pooled curve 42% | Error of the estimate from logs, per rule
13% to 40%
mean size of the error over runs, inverse propensity with a 5% exploration share, over 7 sets of bids; the learning rules were scored on the bids from their own runs; at most 1.2% on the logging rule's own bids, the control |
Share of the informed bidder's conversion value lost, base case, mean of 10 runs. Bars start at zero.
Every rule, with the lowest and highest run, in the chart and its table
What each rule lost against an informed bidder
Each bar is the share of the informed bidder's conversion value a rule did not earn over the 56 test days. The informed bidder knows every segment's true value and is the reference, not something a team can run. It is not the best possible rule either: some runs of other rules earned more than it did, which is how a rule can land below zero here. The naive rule lost most, because it read the newest clicks, whose sales had not arrived, as clicks that would never sell. The corrections read the same clicks as partly counted: with a curve per segment estimated from history the rule lost 4%, with the simulator's own curve 4%, with one pooled curve 42%, and adding a 5% exploration share to the pooled curve did not help (43%). The matured window, which reads only clicks 15 to 28 days old, lost 25%.
- Mean of the runs
- Lowest to highest run
Show the data
| Rule | Conversion value lost | Return over the target | Budget spent | Conversions lost | Clicks in segment F after its rate rose, against the informed bidder | Days the budget was reached, of 56 |
|---|---|---|---|---|---|---|
| Informed bidder | reference | 1.02 (1.00 to 1.05) | 91% (77% to 96%) | reference | 100% | 2.4 |
| Naive return rule | 73% (67% to 79%) | 1.41 (1.32 to 1.49) | 18% (13% to 23%) | 53% | 10% | 0.0 |
| Pooled curve plus exploration | 43% (33% to 54%) | 1.11 (1.06 to 1.17) | 48% (34% to 56%) | 4% | 18% | 0.1 |
| Delay-corrected, one pooled curve from history | 42% (28% to 52%) | 1.11 (1.05 to 1.17) | 49% (36% to 60%) | 1% | 21% | 0.0 |
| Matured window | 25% (−2% to 48%) | 1.14 (1.09 to 1.18) | 61% (35% to 87%) | 10% | 51% | 1.0 |
| Delay-corrected, curves per segment from history | 4% (−2% to 10%) | 1.05 (1.01 to 1.12) | 85% (75% to 92%) | −4% | 81% | 3.2 |
| Delay-corrected, true curve | 4% (−3% to 9%) | 1.03 (1.00 to 1.07) | 86% (76% to 94%) | −2% | 86% | 2.4 |
| Fixed bids, even pacing | −2% (−5% to 4%) | 1.05 (0.98 to 1.10) | 90% (71% to 96%) | −21% | 63% | 1.5 |
| Fixed bids, spend until the cap | −4% (−7% to 3%) | 1.05 (0.98 to 1.10) | 92% (71% to 99%) | −23% | 64% | 21.3 |
Source: results/summary.json, base case (median delays as declared, segment F rising and B falling by half again on the drift day). Values come from the simulator's truth, which counts every conversion whenever it arrives.
The fixed bids, set on the first test day from a history old enough to be nearly complete and never changed, lost −2.1% with even pacing and −3.5% spending until the cap, which reached the budget on 21.3 of the 56 days on average (0 to 41 across runs). Below zero means more than the informed bidder, but that edge depends on where the bid grid sits. Every rule's bids are rounded to a grid centred on the fixed bids' own bid, so theirs alone are never rounded, and on the first test day of the run traced below the informed bidder's bid rounded onto the same step in all 6 segments. In a check run after these results (the grid-check results), the grid's centre moved half a step: where the fixed bids then rounded mostly down (to 93% of their own bid on average), they lost 6.3% with even pacing and 6.1% with the cap; rounded mostly up (109%), −1.6% and −5.5%. So this page does not count them as better than the informed bidder. The learning rules moved little (Method, Checked after the results). The fixed bids missed the drift in both directions: after segment F's conversion rate rose, they bought 63% of the informed bidder's clicks there, and after segment B's fell, 333%. With longer delays they lose: 5.1% with double delays (below).
What it means
A business that buys traffic in auctions (search clicks, leads from a marketplace, app installs) sets a return target and a daily budget, and a rule turns them into bids. The rule learns from the sales the clicks bring. When those sales take days to arrive, the newest clicks always look worse than they are, and a rule that trusts that read cuts its bids where it has not waited long enough to see. The under-count persists at any volume; buying less there only makes the read noisier.
To measure how far that goes, I simulated an account with 6 audience segments whose sales arrive from hours to weeks after the click (the most valuable ones latest, as bigger purchases are), competition that moves by hour and week, and a change on day 28: the slowest segment, F, starts converting half again as often, and segment B a third less often. Because the account is simulated, I know the true value of every click, which no real account can see. The situation it stands in for is any team paying for traffic whose outcome is confirmed later: a lead that becomes a sale weeks on, an order that is returned or kept, an application approved after review. The data is synthetic so that no customer or account data is shared.
My recommendation: never let a bidding rule read unconverted recent clicks as failures. Count each recent click as the share of its eventual sales that should have arrived by now, from a delay curve per segment estimated from matured clicks; one curve pooled over all segments failed here, because the fast segments dominate it. Watch the slow segments when delays run long against the history: with double delays the per-segment curves recovered 76% to 87% of the loss, against 92% or more otherwise. Then judge any rule on clicks old enough to be complete, and compare rules with a budget-split test, not from logs with a small exploration share.
Terms used on this page
- Return on spend
- Conversion value over spend, counting every sale whenever it arrives. The target here is 3.0: each dollar spent should bring back 3.0 dollars of value.
- Pacing
- How a rule spreads its daily budget over the day: evenly across the hours, or by buying everything it can until the budget runs out.
- Bid
- The most a rule will pay for one click. Here it is a multiplier times the rule's estimate of what a click in that segment is worth, and the multiplier moves each day toward the return target.
- Delay curve
- The share of a segment's eventual sales that has arrived a given time after the click. A correction divides the sales seen so far by that share instead of by the number of clicks.
- Matured clicks
- Clicks old enough that almost all of their sales have arrived.
- Exploration share
- A small share of auctions where the rule bids a level drawn at random around its own, and records the chance of the bid it placed (its propensity).
- Off-policy evaluation
- Estimating how a different set of bids would have done, from the logs of the bids actually placed. Inverse propensity reweights the logged auctions where the other bid would have been the same. DR, a standard estimator, combines a model of each auction's outcome with that weighting.
- Informed bidder
- A reference rule that knows every segment's true value per click, including the change mid-test. Losses are measured against it; it is not the best possible rule.
The feedback loop in one run
Segment F is the slowest: half of its sales arrive more than 8 days after the click. On the first morning of the test, the naive rule read the last 14 days of F's clicks, most of whose sales had not arrived yet, and valued a click at US$2.47 instead of US$8.00. It cut its bid there to 30% of the starting bid, the one the fixed bids kept, and bought 7 F clicks that day, against the informed bidder's 352.
F's clicks convert one time in fifty, so a day's few dozen clicks or fewer often show no sale at all, and the estimate stayed low and swung. When F's conversion rate rose by half, the naive rule could not see it: on the last day it valued an F click at US$4.97 against a true US$12.00 and bought 113. The true-curve rule valued F at US$5.80 on the first day and US$9.99 on the last, when it bought 369 F clicks. The rule with curves per segment from history valued F at US$5.25 and US$8.62, and bought 383 on the last day against the informed bidder's 371.
| Day | True value per click | Naive rule: estimate | Naive rule: clicks | Curves per segment: estimate | Curves per segment: clicks | Informed bidder: clicks |
|---|---|---|---|---|---|---|
| 0 | US$8.00 | US$2.47 | 7 | US$5.25 | 97 | 352 |
| 7 | US$8.00 | US$5.30 | 54 | US$8.72 | 294 | 294 |
| 14 | US$8.00 | US$2.13 | 0 | US$6.14 | 117 | 257 |
| 21 | US$8.00 | US$5.13 | 40 | US$7.38 | 195 | 285 |
| 28 | US$12.00 | US$3.43 | 24 | US$6.91 | 178 | 358 |
| 35 | US$12.00 | US$3.06 | 8 | US$6.47 | 204 | 412 |
| 42 | US$12.00 | US$4.46 | 82 | US$7.18 | 293 | 457 |
| 49 | US$12.00 | US$4.53 | 53 | US$10.75 | 429 | 379 |
| 55 | US$12.00 | US$4.97 | 113 | US$8.62 | 383 | 371 |
Across all 10 runs, the naive rule never got within 20% of F's true value per click after the change (0 of 10 runs), and bought 10% of the informed bidder's F clicks in the second half, its smallest share of any segment. The true-curve rule got there in all 10, after 14.1 days on average, and the curves per segment from history in all 10, after 15.9. The pooled curve never did (0 of 10): pooled over all segments, it is dominated by the fast ones and under-counts how late F's sales come. The matured window never did in 8 runs; in the other 2 it came within 20% after 4 and 11 days, before any click bought after the change was 15 days old, so from an estimate that was already high, not from seeing the change.
Longer delays, bigger drift
The length of the delay drives the naive rule's loss. At the base drift it lost 48% of the value with half the delays, 73% as declared and 88% with double, spending 38%, 18% and 7% of the budget. The drift moved it less: 41% to 50% with half the delays; 71% to 73% as declared; 88% at every drift with double.
The true curve recovered 87% to 99% of the naive rule's loss across the cells. The curves per segment from history came close with half or declared delays (92% or more) and fell to 76% to 87% with double delays, when even an eight-week history has not seen all of the slow segments' sales, so their curves run short. The pooled curve recovered 35% to 72%, the matured window 36% to 84%, both doing worst with long delays.
The fixed bids lose when delays are long (5.1% with double delays at the base drift, against −2.1% as declared), because the history behind them is then incomplete for the slow segments, so the bids set from it start too low. A larger drift lifts their return after the change above the target, which is value left unbought rather than a gain.
| Delay | Drift | Naive rule: value lost | Naive rule: budget spent | True curve: loss recovered | Curves per segment: loss recovered | Pooled curve: loss recovered | Matured window: loss recovered | Fixed bids, even: value lost | Fixed bids, even: return after the drift |
|---|---|---|---|---|---|---|---|---|---|
| half | 1.25 | 50% | 37% | 94% | 93% | 54% | 78% | −2% | 1.04 |
| half | 1.50 | 48% | 38% | 98% | 96% | 59% | 82% | −4% | 1.09 |
| half | 2.00 | 41% | 42% | 99% | 98% | 72% | 84% | −5% | 1.20 |
| as declared | 1.25 | 72% | 19% | 93% | 92% | 43% | 64% | −1% | 1.04 |
| as declared | 1.50 | 73% | 18% | 95% | 95% | 42% | 66% | −2% | 1.09 |
| as declared | 2.00 | 71% | 19% | 97% | 96% | 45% | 69% | −3% | 1.19 |
| double | 1.25 | 88% | 8% | 87% | 76% | 38% | 36% | 5% | 1.06 |
| double | 1.50 | 88% | 7% | 90% | 80% | 36% | 37% | 5% | 1.10 |
| double | 2.00 | 88% | 7% | 94% | 87% | 35% | 39% | 5% | 1.18 |
Could a team have ranked the rules from logs?
The exploring rule bid a level drawn at random in 5% of the auctions it entered and logged the chance of each bid it placed. From those logs, a team can estimate how another set of bids would have done, without running it. I scored every other rule's bids that way and compared the estimate with the truth on the same auctions, which the simulator knows exactly. The two fixed-bid rules set the same bids, so they count once: 7 sets of bids in all.
It could not rank them by return on spend, and return on spend is the wrong yardstick here anyway: the highest true return, 1.41 times the target, belongs to the naive rule, which lost the most value. The estimate of each rule's return was off by 13% to 40% on average (the mean size of the error), in both directions, and the estimated order by return matched the true order with a rank correlation of −0.05 on average for inverse propensity and 0.22 for DR; the estimates put 3.4 of the 7 on the right side of the target on average. Ranked instead by conversion value per entered auction, a second ranking, the order matched better: 0.63 for inverse propensity and 0.71 for DR, 0.39 and 0.64 in the worst run. That yardstick counts value per entered auction with no cost and no budget, so it rises with the bid: the better match mostly says the logs can order the rules by how high they bid, not by the value each earned in its own run.
Most rules here sit close to the target, so a ranking by return needs small errors, and these were not small: an explored auction counts 180 times in the estimate, and sales are rare and vary in value, so a few large sales in the explored auctions move it a lot. DR ranked better; its errors were not smaller. Its mean size of error against inverse propensity's: 26% against 16% on the informed bidder's bids, 28% against 23% on the fixed bids, 25% against 26% on the true curve's and 39% against 40% on the naive rule's. The control worked: the logging rule's own bids were estimated within 1.2% in every run.
| Bids scored | True return over the target | Inverse propensity, error | Inverse propensity, mean size of error | DR, error | DR, mean size of error | Auctions where the bid could be placed |
|---|---|---|---|---|---|---|
| Informed bidder | 1.01 | −6% (−33% to +30%) | 16% | −21% (−53% to +15%) | 26% | 87% |
| Fixed bids (both pacings) | 1.05 | −9% (−41% to +34%) | 23% | −11% (−45% to +47%) | 28% | 92% |
| Naive return rule | 1.41 | −13% (−70% to +83%) | 40% | −6% (−66% to +71%) | 39% | 96% |
| Delay-corrected, true curve | 1.02 | +3% (−50% to +49%) | 26% | −6% (−39% to +34%) | 25% | 90% |
| Delay-corrected, one pooled curve from history | 1.11 | −2% (−15% to +35%) | 13% | −1% (−16% to +36%) | 14% | 99% |
| Delay-corrected, curves per segment from history | 1.04 | +3% (−36% to +46%) | 25% | −3% (−33% to +40%) | 25% | 91% |
| Matured window | 1.14 | −17% (−54% to +27%) | 27% | −18% (−54% to +24%) | 27% | 95% |
| The logging rule's own bids (the control) | 1.13 | 0% (−1% to +1%) | 0% | 0% (−1% to +1%) | 0% | 100% |
Two limits sit under this. Only the fixed bids were scored truly without running them; the learning rules' bids depend on their own purchases, so I scored the bids each set in its own run. Predicting those bids from another rule's logs is a different problem, and the logs cannot solve it. And the outcomes were scored complete, every sale counted whenever it arrived, so these errors come before any delay.
What I predicted before the test, and what held
The first six were written into the design before any rule was compared; the last four were declared after the first run and before the run reported here. Of the first six, two held and four held in part; the spend prediction missed by the most. The estimate from logs of the fixed bids was off by 23% on average, over the predicted 20%.
| Predicted | What happened | Verdict |
|---|---|---|
| The naive rule overshoots the target return (1.3 to 1.7 times) and spends 20% to 40% less than the budget. | Return 1.41 times the target; it spent 82% less than the budget, far more than predicted. | Return held; spend did not hold |
| The naive rule bids segment F furthest below its value and does not get within 20% of it after F's rate rises. | F was its least-bought segment; never within, in 10 of 10 runs. | Held |
| The true-curve correction recovers at least 70% of the naive rule's loss; the curve from history recovers less. | 95% and 42% (one pooled curve). | Held |
| Fixed bids miss after the drift in both directions; even pacing loses less than spending until the cap. | F bought at 63% and B at 333% of the informed bidder's clicks; even pacing lost −2.1%, the cap −3.5%. | First half held; pacing did not |
| Inverse propensity estimates a rule close to the logging rule within 10%, is off by more than 20% for far ones, and DR spreads less. | Closest rule (the pooled curve) 13% on average; naive rule 40%, fixed bids 23%; DR was narrower for some rules and wider for others. | One part of three held |
| Longer delays widen the naive rule's miss; drift size matters most for the fixed bids. | Naive loss 48%, 73%, 88% as delays double; drift moved the fixed bids' return after the change (1.04 to 1.19) but not their loss. | Partly held |
| Added after the first run: the curves per segment recover more of the naive rule's loss than the pooled curve and less than the true curve, least with double delays. | More than the pooled curve and least with double delays in every cell; below the true curve in every cell but the base case, where they recovered slightly more (94.8% against 94.5%). | Did not hold in the base case (within run-to-run spread); held in every other cell |
| Added after the first run: the matured window loses less than the naive rule, and gets within 20% of F's new value later than the true-curve rule, or not at all. | Less loss in every cell (25% against 73% in the base case); never within in 8 of 10 runs, earlier in the other 2, from an estimate already high (The feedback loop, above). | Held in most runs |
| Added after the first run: the fixed bids lose more than under a grid centred on the informed bidder's true-value bid, and even pacing and the cap differ by less than 2 points of the informed bidder's value. | They lost −2.1% against 2.2% under that grid; the pacings differed by 1.4 points here and by less than 2 points in every cell. | First half did not hold; second held |
| Added after the first run: ranked by value per entered auction, the estimates from logs order the rules better than ranked by return. | Rank correlation 0.63 against −0.05 for inverse propensity, 0.71 against 0.22 for DR; the yardstick rises with the bid (above). | Held, on a yardstick that rewards higher bids |
What I would use when
- A delay curve per segment, estimated from matured clicks, rather than one pooled curve. Here the pooled curve recovered 42% of the naive rule's loss and the curves per segment 95%: the pooled curve is dominated by the segments with the most sales, which are the fast ones, and it left the slow, valuable segment starved.
- Counting each recent click by the share of its sales due by now, rather than waiting for clicks to mature before reading them. The matured window lost 25% of the value against 4% for the curves per segment, and it did not see segment F's change within the test, while the curves per segment came within 20% of F's new value in every run.
- A budget-split test to compare rules, rather than estimates from logs. A small exploration share is cheap, and using it to screen candidate bids may be worth a try, though this study did not test that; it did not rank the rules by return here (rank correlation −0.05), and it cannot predict the bids a feedback rule will set.
- A simulator with known truth, like this one, before changing a live rule, rather than trusting the change's first two weeks. It is the only place where the right answer is known.
How I would run this with a team
- Owners. The performance marketing lead owns the return target, the budget and the call to change a rule. A data scientist owns the delay curves per segment, the correction and the matured read. An engineer owns the bid service and the logging of every bid with its propensity. Finance agrees the value of a conversion and the target it implies.
- Cadence. Bids daily. A weekly read on clicks old enough to be complete, next to the corrected read of the recent ones. Delay curves refreshed monthly per segment, with an alert when a segment's recent reports run ahead of or behind its curve. A new rule goes through a budget-split test before it replaces the old one.
- Bad news upward. One line, with the matured number: "We spent less than budget because the last two weeks look worse than they are. On clicks old enough to judge, return is above target, so we are leaving sales unbought; the corrected read of the recent clicks says the same, and they finish reporting in about two weeks."
- Effort. The correction is a small change to how the rule counts clicks; the work is in logging report times per click and keeping the curves fresh. A few engineer-weeks and a few weeks of a data scientist's time, plus the test.
What it is worth
A declared assumption, in US$, like every other input here: an account whose informed bidder would spend US$1.00M a year. In the base case that bidder earns about US$3.05M of conversion value. The naive rule spends about US$0.20M and earns about US$0.84M. The correction with curves per segment from history spends about US$0.93M and earns about US$2.94M: about US$2.10M more value for US$0.73M more spend, a return of about 2.86 on the extra spend. The extra is bought at a little under the target of 3.0, because the clicks a rule adds when it bids more are the dearer ones; the account's return as a whole stays above the target.
The cost side is small: logging report times per click, a delay curve per segment and a test. The larger cost of the naive rule is invisible on its own dashboard: the return it reports meets the target and the true return is higher still; the loss shows only as budget left unspent and segments that stop getting traffic.
Where AI fits
An assistant that writes bidding code or reads campaign logs needs the same test as the rules here: run it first where the answer is known. Ask it what last week's return should look like if sales take a week to arrive, and compare its answer with the matured number you already have. A correct answer to a question with a known answer is the evidence that earns it a question without one.
Limits
- Everything is synthetic and assumed: segments, rates, values, delays, competition and the drift. The method carries; the numbers do not.
- One account in a second-price auction against one competing bid per auction that never reacts to these bids. Real auctions add first-price rules, reserve prices and rivals that learn.
- The informed bidder is a reference, not the best possible rule: some runs of other rules earned more than it did, so a loss below zero is possible. The fixed bids' edge over it in the base case depends on where the bid grid sits, and this page does not count it (Method, Checked after the results).
- The same author built the world and the corrections, and the delays follow the curve shape the true-curve rule assumes, so that rule is a best case, not a forecast.
- The return controller takes a calmer step than the declared one, set after a calibration run of the informed bidder alone and before any learning rule or estimate from logs ran (Method, below). On the world used here the informed bidder spent 77% to 96% of the budget, under the declared 85% on seeds 3 and 4; nothing was tuned.
- The bid grid is centred on the starting bid from the history, not on the informed bidder's true-value bid, which would let the truth into the other rules (declared after the first run).
- 10 runs per cell; the ranges on this page are the lowest and highest run, not confidence intervals.
- Nothing here comes from running bidding or media buying on a real account, and no ad platform or vendor is named or imitated.
Use this at your company
To check your own bidding rule for this, paste this into an AI assistant along with a description of how your rule reads conversions and sets bids.
This method comes from Diogo Travassos's study "Pacing and bidding when conversions arrive late" (https://diogotravassos.dev/pacing-delayed-conversions/). If you can open links, read it first: it works the method through end to end, with its checks. The steps below stand on their own if you can't. Help me check whether our bidding rule under-bids traffic whose conversions arrive late, and what that costs. Inventory: 1. List our segments (or campaigns) with spend, clicks, conversions and conversion value by click date, and the time from each click to its conversion report. 2. For each segment, build its delay curve: the share of eventual conversions reported by each age of the click, from clicks old enough that almost all their conversions are in. Mark the segments where too few conversions make the curve a guess. What our rule sees: 3. For the window our rule reads, compute each segment's return twice: counting unconverted recent clicks as failures, and counting each click as the share of its conversions that should have arrived by its age. Put both next to the matured return of the same clicks, read later. 4. Find the segments where the first read sits furthest below the matured one, and chart what we bid and bought there over time. Falling bids and falling volume in a slow segment are the sign of the loop. A test, not a guess: 5. Before changing the live rule, compare the corrected rule with the current one on a budget split over the same period, and judge both on clicks old enough to be complete. 6. If we log every bid with its propensity, off-policy estimates may help screen candidate bids (the study did not test this); report their spread across periods, and do not rank feedback rules from logs alone. Report back: per segment, how far the early read sits below the matured one, what the corrected rule would bid, the test design and the limits. Say which numbers are assumptions. In your report, say which study you followed and link it: https://diogotravassos.dev/pacing-delayed-conversions/
Method and checks
Data
Explicitly synthetic, generated by the code on fixed seeds: each hour each segment offers a Poisson number of auctions around 42, moved by an hour of day profile with peaks at midday and evening, weekends at 80% of the volume and a weekly factor drawn per seed. Within each hour the auctions come in a random order. Each auction has one competing bid, lognormal around 0.6 times the segment's value per click (spread 0.6 on the log scale), 15% higher at the peaks and 10% lower at weekends. The buyer pays the competing bid when it wins. A won click converts at its segment's rate; the value of a conversion is lognormal around the segment's mean (spread 0.5) and its delay lognormal around the segment's median (spread 1.0). On day 28 segment F's rate is multiplied by the drift factor and B's divided by it. Every draw is made before any rule runs, and every rule in a seed faces the same draws.
| Segment | Conversion rate per click | Mean value of a conversion | Value per click | Median delay, days |
|---|---|---|---|---|
| A | 8% | US$30 | US$2.40 | 0.5 |
| B | 6% | US$50 | US$3.00 | 1.0 |
| C | 5% | US$80 | US$4.00 | 1.5 |
| D | 4% | US$125 | US$5.00 | 3.0 |
| E | 3% | US$200 | US$6.00 | 5.0 |
| F | 2% | US$400 | US$8.00 | 8.0 |
Design, set before the test
- Bids change once a day: a multiplier times the rule's estimate of the value per click, rounded to a grid of steps of about 19%, 16 steps each side of the starting bid: the multiplier the informed bidder reached over the history, which counted every sale, times the history estimate of the value per click. That is the bid the fixed bids keep, so theirs alone are never rounded (Checked after the results, below). The multiplier moves each day toward the return target, measured over the last 14 days.
- The estimate is the value seen so far from those days' clicks over their exposure, pulled lightly toward the history estimate (20 clicks' worth). Exposure is the click count for the naive rule, and the sum over clicks of the share of sales that should have arrived by the click's age for the corrections: from the true curve of the click's segment, from one curve for all segments built from the history's delays, or from one curve per segment built from that segment's history delays. The matured window counts clicks, like the naive rule, but only those bought 28 to 15 days earlier, for both its estimates and its multiplier.
- Even pacing raises or lowers the share of auctions entered each hour to keep spend on an even plan through the day; spend until the cap enters every auction until the budget is reached.
- The exploring rule, in 5% of the auctions it enters, bids a level drawn uniformly from the 9 steps around its own and logs the chance of the bid it placed.
- The history: the informed bidder runs 56 days before the test with no cap. Its mean daily spend is the budget; its estimates from the clicks bought 56 to 29 days before the test, read on the first test day, are every rule's starting estimates, and the delays of the sales seen from those clicks build the curves from history.
- Measures: return on spend over the target, spend over the budget, conversion value and conversions lost against the informed bidder, the days on which a rule reached the budget, and the first day after the drift when a rule's estimate is within 20% of the true value per click and stays there 3 more days. 9 cells (delays at half, as declared or double, by drift factors 1.25, 1.50 and 2.00), 10 seeds each, every run reported; no run failed.
The design was written before any rule was compared; the parameters are in protocol.json.
Return controller, set after the calibration run
Each day a rule moves its multiplier by the return gap raised to the power 0.1, the step held between 0.95 and 1.05. This step was set after a calibration run of the informed bidder alone, before any learning rule or estimate from logs ran, on seeds 0 to 5, which are also test seeds. Five settings were compared: power 0.5, 0.25 and 0.1 on the declared 14-day window, and 0.25 and 0.15 on a 7-day window. This one was the only one that kept the informed bidder's spend inside the band on every seed. The declared step (power 0.5, held between 0.85 and 1.18) reached the target but spent only 61% to 84% of the budget.
Changes declared after the first run
A first run, with the bid grid centred on the informed bidder's true-value bid, came before the run reported here. In it the fixed bids lost 2.2% and the true curve recovered 97%, partly by construction (its summary is results-run1/summary.json). The changes below and the four added predictions were declared after its results and before the run reported here.
- The bid grid is centred on the starting bid from the history, not on the informed bidder's true-value bid, which lets estimates near the truth round onto it, and is widened to 16 steps each side (declared after the first run).
- The auctions within each hour come in a random order, because a budget reached mid-hour would otherwise always cut the same segments first (declared after the first run).
- The world's random stream constant was replaced (declared after the first run).
- The curves per segment and the matured window were added, so that the rules recommended here were run (declared after the first run).
- The days at the cap are counted, and the estimates from logs are ranked by value as well as by return (declared after the first run).
The informed bidder alone on this world spent 77% to 96% of the budget and landed at 1.00 to 1.05 times the target, outside the declared spend band on two seeds (Limits, above); nothing was tuned.
Checked after the results
After the results, a check moved the grid's centre half a step up and, separately, half a step down, for every rule, on the base case's 10 seeds. The check was declared before it ran, with how it would be read. It is not a declared rule and changes no result reported above. A half step either way leaves the rules that learn on the same set of steps, so they gave the same results under both offsets: the naive rule lost 74% of the informed bidder's value (against 73% above), the curves per segment recovered 97% of that loss (95%), the true curve 94% (95%) and the pooled curve 46% (42%). The informed bidder spent 90% of the budget. The fixed bids' own bid fell between two steps: rounded mostly down (93% of their own bid on average) they lost 6.3% with even pacing and 6.1% with the cap; rounded mostly up (109%), −1.6% and −5.5%. The rule set before the check kept the finding that the fixed bids earned more than the informed bidder only if it held under both offsets. It did not, so the page does not make it. The output is results/grid-check.json.
Estimates from logs
The logs are every auction the exploring rule entered in the test: segment, day, the bid level placed, its propensity, and the outcome. A schedule is a bid level per segment and day; the two fixed-bid rules share one. Inverse propensity counts each logged auction where the schedule's level equals the placed level, weighted by one over the propensity. DR adds a direct model (the mean outcome per segment, week and level in the logs, falling back to the segment and level, then to zero) and corrects its error the same way. Each estimates value and cost per entered auction; their ratio is the return. Schedules are ranked by return and by value per entered auction. The truth on the same auctions is exact, because the competing bid and the outcome of every auction are drawn in advance. Outcomes are complete: every conversion is counted whenever it arrives.
Checks
- Unit tests on small cases written into the test code: the bid grid, the propensities at the grid's edges, the delay curve, the exposure each rule counts (including the curves per segment and the matured window's days), the pull toward the history estimate, the rank correlation, inverse propensity on the logging schedule, a grid centre that is not the true bid, the random order within each hour and the count of days at the cap.
- A positive control for the corrections: with every delay set to zero, the naive rule and the three corrections set the same bids, and with delays they do not.
- A positive control for the estimators: the logging rule's own bids, estimated from its logs, land on the truth (the last row of the table above).
Reproduce and download
From this folder, with the packages in requirements.lock: python3 -B -m pdc.run calibrate, python3 -B -m pdc.run cells, python3 -B -m pdc.run summarize, python3 -B -m pdc.report, then python3 -B -m pytest tests and python3 -I tools/check_numbers.py. The check after the results is python3 -B -m pdc.gridcheck. Downloads: results/summary.json (every cell and rule), results/calibration.json, the per-run files under results/cells and results/traces, the first run's summary in results-run1, and README.md.