Agent Mama

TECHNICAL PAPER · MODELS · RETURN PREDICTION

Return prediction: bidding on the profit after returns

Returns arrive weeks after the bid is placed. This paper describes how our model predicts them for every order, how the predicted profit is used in ad bidding, and what a controlled test showed.

Agent Mama · Test data from Q3 2026

+19%more profit on the same ad spend in a controlled geo test
0.71 vs 0.60ranking of orders by real profit, our value against sales
140,000orders in the evaluation, scored with 95% of returns in

Ad platforms bid on the value of an order at the moment it is placed. That value is sales, and a part of it is later returned. We replace it with the predicted profit after returns, so the platform learns to find the orders that stay profitable.

1The problem

Two customers buy the same three items for €100. One keeps everything. The other sends the jeans back a month later, and the profit of the order falls from €52.50 to €22. At the moment of the bid the two orders are identical.

The ad platform learns from the value it is sent at the order. Sent €100 for both, it treats them the same and looks for more customers like the second one. In some markets 30 to 50% of orders come back, and the biggest baskets come back most, so a platform that is trained on sales is drawn to the customers who return the most.

A and B: same basket, €100 A: €52.50 predicted: €27 B, actual: €22 order placed jeans sent back, 30+ days Black jeans Blue sweater Red sweater The jeans, sent back
Figure 1. The profit of two identical orders over time, and the prediction for order B made when the order was placed. Example figures.

2The model

The model is trained per store, on that store’s own orders and returns. For every new order it predicts the probability of a return and the profit that is left, per order and per order line. The prediction can include the shipping and handling cost of the return itself.

INPUTWHAT THE MODEL LEARNS FROM
CustomerThe customer’s own return history.
ProductReturn trends for the item and its category.
BasketThe order mix: sizes, number of items, the same item in several versions.
MarketCountry and macro data.

Table 1. Inputs to the return prediction model.

Returns are not treated as bad. Profit that will be returned is not profit, so it is left out of the value the bid is based on.

3How the value is used

At checkout the predicted profit of the order, after order costs and predicted returns, is sent to the ad platform as the value of the order. The platform’s own bidding then works toward profit per order. Nothing changes for the customer.

ORDERSENT TODAYSENT WITH AGENT MAMAACTUAL PROFIT
A, all items kept€100€52.50€52.50
B, jeans returned€100€27€22

Table 2. The value of the two example orders. Product cost €40; shipping, warehouse and payment €7.50; the return costs €6.50 and recovers €16 of product cost.

4Evidence

We measured two things: whether the value ranks orders correctly, and whether the ad platform earns more profit when it is trained on it.

0.71our return model
0.62gross margin, without returns
0.60sales, the value the ad platform uses
Figure 2. Ranking of orders by real profit (Gini; 1 is a perfect ranking, 0 is chance). 140,000 orders from Q3 2026, scored when at least 95% of the returns were in.

Almost all of the gain over sales comes from the return model, and it is largest in the markets where returns are highest.

GEO TEST
CustomerA European apparel brand, anonymised.
Design3 test markets trained on our value, 4 control markets left on sales.
PeriodQ3 2026, at the same ad spend.
Result+19% more profit on the same ad spend, after adjusting for season and for markets that were not changed.
ConfidenceAbout 90% that the effect is above zero.
CheckProfit for the whole shop in the test markets was 3% above expected.

Table 3. The controlled geo test.

5Limits

No model knows what one customer will do, and the prediction for a single order is not exact. In the example, order B is predicted at €27 and ends at €22. What bidding needs is the ranking: that orders likely to come back are valued lower than orders likely to be kept.

In the evaluation the predicted level was 7% low, within our tolerance, and the error was the same in all risk groups. The evidence here is one test with one company. The model is trained on each store’s own returns, so it needs that history before it can be used.

6Questions

What is return prediction?

A model that estimates, when an order is placed, how likely it is to be returned and how much profit is left after the return.

Why not wait for the real returns?

Because the bid is placed long before the return arrives. Returns show 30 days or more after the order, and by then the ad platform has already learned from the sales value.

What data does it need?

Your orders with costs and your returns, 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 predicted value is sent through that tag. For Google Ads we also support offline conversion import, as a fallback. The signal itself does not depend on which platform bids on it.

See what your own returns do to your ad profit.

Get your free Profit X-ray