Agent Mama

TECHNICAL PAPER · MODELS · CUSTOMER VALUE

Customer value prediction: bidding on what an order adds

An order is worth its profit plus the future customer it builds. This paper describes how our model predicts what each customer will be worth in the next twelve months, how the change in that value is used in ad bidding, and what an evaluation on one retailer’s data showed.

Agent Mama · Evaluation data from July 2023 to August 2026

8×the best tenth of new customers against the lowest, told apart after one order
66 vs 56our model against last year’s profit, on a scale where 100 is a crystal ball
+10%more value for the same ad budget than bidding on sales, in simulation

Ad platforms are told what an order is worth when it is placed. Told the sales value, or even the order profit, they cannot see whether the customer will come back. We add the change in the customer’s predicted future value to the order profit, and send that. We call it delta bidding.

1The problem

Two new customers place a first order with the same profit. One never buys again. The other reorders every second month. On the day of the order the ad platform sees two identical conversions, so it pays the same to find more of both.

The opposite mistake is as costly. A loyal customer’s tenth order looks valuable, and it is. But most of it would have come without an ad, so a bid that pays full price for it buys little.

Both mistakes have the same cause: the bid value describes the order and says nothing about what the order changed.

1st order: 92nd order: 34comes back: 60100 quiet: the value falls deltadeltadeltadelta month 0month 28
Figure 1. One real customer’s predicted value for the next twelve months, over time. Index: the last point is 100. Each order moves the value; the size of the move is the delta. The fall while the customer is quiet is drawn schematically.

2The model

The model is trained per store, on that store’s own orders. Every customer gets two numbers and a stage, updated every day.

OUTPUTWHAT IT MEANS
Value, next 12 monthsThe profit expected from this customer’s future orders. Used to rank, to set budgets and to bid.
Chance of an order within 180 daysA separate model. It shows who is about to stop buying.
Lifecycle stageNew, accelerating, stable, cooling, at risk or lost, judged against the customer’s own buying rhythm, not a fixed number of days.

Table 1. What the model produces for every customer.

The value model uses boosted trees with a calibration step, so that the predicted amounts add up to what customers really earn. What it learns most from differs from store to store and from model to model. The table shows the mix for the one store in section 4, as an illustration.

WHAT THE MODEL LEARNS FROMSHARE OF THE PREDICTION, ONE STORE
Buying rhythm and recency40%
Past value20%
Product and category mix19%
Other signals: household, store and region, the order just placed21%

Table 2. Inputs to the value model and how much each contributed for one store. Illustrative: the mix is different for every store and model.

3Delta bidding

Every order moves the customer’s predicted value. The delta is the value after the order minus the value before it. The value we send to the ad platform is:

bid value = order profit + delta in the customer’s future value

ORDERORDER PROFITFUTURE VALUE BEFORE → AFTERDELTABID VALUE
A, first order, likely to reorder€40€0 → €45+€45€85
B, first order, likely a one-off€40€0 → €8+€8€48
C, tenth order from a regular€40€150 → €160+€10€50

Table 3. Three orders with the same profit and three different bid values. Example figures.

Order A and order B look the same today and are bid on differently. Order C comes from the most valuable customer of the three and gets a modest bid, because the order changed little: the customer was already expected to keep buying.

In the evaluation data the delta is large. Measured against the profit of an average first order, set to 100:

ORDER NUMBERORDER PROFITDELTAWHAT THE ORDER IS WORTH
1st100+74174
2nd95+89184
3rd95+90185
4th to 6th98+87185
7th and later106+68174

Table 4. Order profit and the predicted delta by order number. Index: profit of an average first order = 100.

The value is sent at checkout through the store’s conversion tag, in place of the sales value. It is refreshed from the model every day and needs no manual rules. Because the future part is less certain than the order profit, a share of the delta can be sent. In the evaluation we used 70%.

4Evidence

The evaluation uses one retailer’s own history: about half a million customers and more than a million orders, for a product that customers buy again. The figures illustrate the concept, and they differ from store to store. We asked four questions.

Can the model tell new customers apart after one order? Yes. In the best tenth, 48% bought again within a year. In the lowest tenth, 18% did.

100
1
106
2
150
3
219
4
244
5
231
6
309
7
269
8
497
9
844
10
Figure 2. New customers ranked into ten equal groups by the model right after their first order. Bars show the profit each group actually earned in the following year. Index: lowest group = 100.

Is it better than simpler ways to value a customer? We scored each method on how well it ranks customers by the profit they went on to earn.

HOW THE CUSTOMER IS VALUEDSCORE, 0 TO 100VALUE HELD BY TOP 10%BY TOP 20%
Their profit in the last 12 months5643%60%
The average of their segment6146%62%
A textbook lifetime value model (BG/NBD)6146%62%
Our model6650%66%

Table 5. Four ways to value a customer for the next twelve months. Score: 0 is a coin flip, 100 is a crystal ball that knows every future order. In total, the model’s predicted value was 1.9% above the actual value. The 180-day order model scores an AUC of 0.78.

Is the delta real? We compared the predicted delta with what customers went on to earn. For first orders the two agree. For later orders the actual figure is higher than predicted.

ORDER NUMBERDELTA, PREDICTEDDELTA, ACTUAL
1st10096
2nd118139
3rd to 6th118158
7th and later86217

Table 6. Predicted and actual delta per order. Index: predicted delta of a first order = 100.

An order from a regular shows that the customer is still on rhythm, and similar customers who skip a month are worth far less. So the order carries real information. Much of that value would have come anyway, which is the subject of section 5.

Does the bid value buy more? We replayed the retailer’s conversions and ranked them by each candidate bid value. The table shows how much of the real value the best 30% of conversions held.

BID VALUEREAL VALUE IN THE BEST 30% OF CONVERSIONS
Sales, the usual value today54%
Order profit61%
Order profit + 70% of the delta61%
Order profit + the full delta61%
The delta alone53%

Table 7. Simulated bidding on historical conversions. The same number of conversions in every row.

Profit does the ranking. Adding the delta barely changes which orders come first. It changes how much each is worth paying for: about 1.7 times more for a new customer’s first order than its profit alone.

5Where the budget goes

A bid value decides which customers the budget is spent on. We compared four bid values by the share of paid budget each one sends to each group.

BID VALUENEW CUSTOMERSSECOND ORDERACTIVE REGULARS
Sales, the usual value today36%18%42%
Order profit39%18%39%
Order profit + 70% of the delta38%18%39%
The same, less the orders that would have come anyway50%20%25%

Table 8. Share of the paid budget by customer group, for four bid values. The remainder in each row goes to win-back.

Active regulars are worth the most, but about half of their orders would have come without an ad. Once that is taken out, their share of the budget falls from 42% to 25%, and the share for new customers rises from 36% to 50%. For the same budget this gives up to 10% more of the value that marketing can claim, compared with bidding on sales.

The result is a division of work. Paid media invests in new customers and second orders, where the value is uncertain and an ad can change it. Regulars are kept with reminders and membership. When a regular passes their own buying rhythm, they move into paid win-back before they are lost.

6Questions

What is customer value prediction?

A model that estimates, for every customer and every day, the profit their future orders will bring in the next twelve months.

What is delta bidding?

Sending the ad platform the order profit plus the change in the customer’s predicted future value, in place of the sales value. The platform then pays more for orders that start or strengthen a customer relationship.

Why not bid on the customer’s full future value?

Because a loyal customer’s full value is high whether the ad ran or not. The delta counts only what the order changed, and the part that would have come anyway can be taken out.

Does it replace return prediction?

No. Return prediction corrects what one order is worth. Customer value adds what the customer is worth after it. Where a store has returns, both are in the bid value.

What data does it need?

Your orders with costs and a customer id, from Shopify, Centra, Norce or your own warehouse.

Which ad platforms does it work with?

Every ad platform whose conversion tag can be set up in Google Tag Manager. The value is sent through that tag. For Google Ads we also support offline conversion import, as a fallback.

See what your own customers are worth next year.

Get your free Profit X-ray