Change the arrival order, keep one spend effect.
- 01Win noticeNo spend effect
- 02Billing noticeRecord spend for this bid
- 03VAST impressionNo second spend effect
- 04Billing notice retryDeduplicate the repeated signal
The first accepted billable signal accounts spend.
Record the event before applying the outcome.
Separate wins from billing.
A win notice is not itself a spend event. The first accepted billable signal, billing notice or VAST impression, accounts spend for the bid.
Replay unacknowledged work.
Spool consumers resume from their acknowledged positions. In a split deployment, events can be forwarded to control for aggregation.
Keep a diagnostic trail.
Sampled auction captures use the adtrace format, while delivery aggregates make outcomes available to the control plane.
Is this exactly-once event delivery?
The spool uses at-least-once delivery. Deduplication and once-per-bid accounting handle repeated signals. That is distinct from promising exactly-once transport across the whole deployment.