Allocating an eCommerce ad budget: marginal returns and incrementality

TL;DR

Difficulty: Advanced

Give every channel the same return on the next euro, and grow the total budget while that return is above breakeven.

  • The average ROAS describes money already spent. Decisions need the marginal ROAS, the return on the next euro.
  • Draw a response curve per channel (a Hill curve works well) and read the marginal return off it.
  • Move money from lines where the next euro earns little to lines where it earns a lot, until the marginal returns are equal.
  • Calibrate every curve with holdout or spend step tests, never with platform reports alone.
  • Move in steps close to your data, check cash, and follow the season with the same rule, every month.

Every month the same question: one budget, several channels, and each platform says it deserves more. This chapter shows how to answer it with response curves and marginal returns, anchored to tests, and how the same €16,500 at an invented homeware shop in Limerick goes from €4,145 to €8,786 of contribution without a euro added.

The next euro is the only one you can still decide

Every shop that advertises on more than one channel ends up with the same question at the end of the month: there is a budget, there are four or five places to spend it, and each platform says it deserves more. How do you split it so that the money earns the most?

Most shops give more to the channel with the best return so far. That sounds sensible and is usually wrong. The return so far is an average over every euro already spent. Your decision is only ever about the next euro, and the next euro almost never earns what the average euro earned.

This chapter shows the method that answers the question properly. You draw a response curve for each channel: how much extra revenue each level of spend brings. You read the marginal return off each curve, the return on the next euro. You then move money until the next euro earns the same everywhere. The curves come from tests, not from the platforms' reports, and a simple monthly routine keeps them honest. At the end there is Python code that fits a curve and splits a budget, so you can do it with your own numbers.

It builds on two earlier chapters. ROAS, POAS and MER explains why the platforms' return on ad spend (ROAS) overstates what ads earn and where the breakeven line sits. Where should an online shop advertise describes the channels themselves. If either is new to you, read it first.

Example: today's €16,500 at Shannonside

Shannonside Home is the example shop of this series: an online homeware shop in Limerick (shannonsidehome.example) selling ceramics, kitchen textiles, lamps and small furniture. Niamh owns it, Callum is her developer. All figures are the example's, invented for teaching.

Niamh spends €16,500 a month on ads: €10,600 on Google and €5,900 on Meta. Callum has split that into the five lines that actually behave differently, and over the past months he has measured with holdout tests how many orders each line really causes (the incremental orders, the ones that would not have happened without the ad). Revenue here is net revenue, without VAT, at €68.29 per order. Contribution before marketing is €22.44 per order, so every euro of net revenue leaves 22.44÷68.29=0.32922.44 \div 68.29 = 0.329, or 32.9 cent, before the ads are paid. These are the figures from the ROAS, POAS and MER chapter, which works them out step by step.

LineSpendIncremental ordersIncremental net revenueAverage ROASContribution after ads
Brand search€1,75050€3,4151.95minus €628
Google Shopping, non brand€6,500475€32,4384.99€4,159
Google Search, non brand€2,350200€13,6585.81€2,138
Meta prospecting€2,85091€6,2142.18minus €808
Meta retargeting€3,050104€7,1022.33minus €716
All five€16,500920€62,8273.81€4,145

Contribution after ads is net revenue times 0.3286, minus spend. For brand search: 3,415×0.3286−1,750=−6283{,}415 \times 0.3286 - 1{,}750 = -628, a loss of €628. Added up, the ads leave Niamh €4,145 a month, the same figure the ROAS chapter arrived at by a different route.

Three of the five lines lose money on average. The obvious reaction is to cut those three and pour the money into the two that earn. By the end of this chapter you will see that the right answer is more interesting: one of the three losers deserves far more money, not less.

Average return and marginal return answer different questions

The average return of a channel is everything it brought divided by everything it cost. The marginal return is what the next euro brings. They are different numbers because channels get less efficient the more you spend on them. The Foundations section on marginal and average explains the general idea.

ROASavg(x)=R(x)x,ROASmarg(x)=ΔRΔx\text{ROAS}_{\text{avg}}(x) = \frac{R(x)}{x}, \qquad \text{ROAS}_{\text{marg}}(x) = \frac{\Delta R}{\Delta x}

where xx is the monthly spend on the channel, R(x)R(x) is the incremental net revenue that spend brings, Δx\Delta x is a small extra amount of spend and ΔR\Delta R is the extra incremental net revenue it brings. When the step is very small, ΔR/Δx\Delta R / \Delta x becomes the slope of the curve, written R′(x)R'(x).

The rule that follows: a euro is worth spending when its marginal return is above breakeven. With 32.9 cent of contribution per euro of net revenue, breakeven is 1÷0.3286=3.041 \div 0.3286 = 3.04. Every euro that brings back more than €3.04 of incremental net revenue adds profit. Every euro that brings back less takes it away, however good the average looks.

Example: brand search at three spend levels

Brand search shows the gap at its widest. People searching for "Shannonside Home" find the shop's own organic result anyway, so most of what a brand ad collects would have arrived for free. That is exactly what large field experiments at eBay found: when eBay switched off its brand keyword ads, 99.5% of the lost paid clicks came back through the organic results1.

Some brand spend still earns. A competitor may bid on Niamh's name, and a small budget keeps her ad on top for the searches where that matters. Callum's curve for brand search, which the next section explains, gives these figures:

Brand spendIncremental net revenueAverage ROASMarginal ROAS
€200€1,4907.454.74
€350€2,0495.852.93
€875€2,9273.340.96
€1,750 (today)€3,4151.950.33

At €1,750 the average says 1.95, below breakeven but not catastrophic. The margin says 0.33: the last euro brings back 33 cent of net revenue, which leaves 0.33×0.3286=0.110.33 \times 0.3286 = 0.11, about 11 cent of contribution, for a euro spent. Somewhere between €200 and €350 the marginal return crosses breakeven. That is where brand spend should stop, and at that point the average return is excellent.

Every channel flattens out, and a response curve shows how

Why does the next euro earn less than the last? Three reasons, and every paid channel has all three to some degree. First, each channel reaches a limited number of people who are ready to buy, and the most likely buyers are reached first. Second, in an auction the extra reach costs more per click, because you have to outbid more competitors (the auction theory article shows the mechanics). Third, the same people see the ad more often, and the fifth showing adds less than the first.

A response curve draws this. The spend goes along the bottom, the incremental revenue up the side, and the curve bends over as spend grows. Google's researchers built exactly this shape into their media mix models, with flexible curves for diminishing returns and a separate term for the way advertising carries over into later weeks2.

The Hill curve and its three numbers

A common choice is the Hill curve. Google's open source Meridian model uses it for saturation and describes it with two parameters, a half saturation point and a slope3. Written for a shop's monthly spend, see Foundations: ratios and rates for the fractions involved:

R(x)=Rmax⁡⋅xsxs+KsR(x) = R_{\max} \cdot \frac{x^{s}}{x^{s} + K^{s}}

where R(x)R(x) is the incremental net revenue at monthly spend xx, Rmax⁡R_{\max} is the ceiling (the most incremental revenue the channel could ever bring, however much you spent), KK is the half saturation point (the spend at which the channel reaches half its ceiling) and ss is the slope, which sets the shape. With s=1s = 1 the curve bends over from the very first euro. With ss above 1 it starts slowly, rises steeply and then flattens, an S shape.

Example: the Shopping curve, worked through

Callum's curve for non brand Google Shopping has Rmax⁡=170,725R_{\max} = 170{,}725, K=27,711K = 27{,}711 and s=1s = 1. At today's spend of €6,500:

R(6,500)=170,725×6,5006,500+27,711=170,725×0.190=32,438R(6{,}500) = 170{,}725 \times \frac{6{,}500}{6{,}500 + 27{,}711} = 170{,}725 \times 0.190 = 32{,}438

So the curve says Shopping brings 32,43832{,}438 euro of incremental net revenue at €6,500, which matches the tested 475 orders at €68.29 each. The ceiling of €170,725 is far away, so Shopping still has plenty of room. Doubling the spend to €13,000 would bring 170,725×13,000/40,711=54,517170{,}725 \times 13{,}000 / 40{,}711 = 54{,}517, which is 68% more revenue for 100% more spend. That is diminishing returns in one line.

The marginal return, read straight off the curve

The slope of a Hill curve has a convenient form. It needs only numbers you already have. The derivation uses the chain rule, but the result is simple. Foundations: marginal and average shows why a slope is a marginal value.

R′(x)=R(x)x⋅s⋅(1−R(x)Rmax⁡)R'(x) = \frac{R(x)}{x} \cdot s \cdot \left(1 - \frac{R(x)}{R_{\max}}\right)

where R′(x)R'(x) is the marginal ROAS at spend xx, R(x)/xR(x)/x is the average ROAS at that spend, ss is the slope parameter and R(x)/Rmax⁡R(x)/R_{\max} is how far the channel already is towards its ceiling. In words: the marginal return is the average return, times the slope, times the share of the ceiling still left.

Example: marginal returns for all five lines

For Shopping, the average is 32,438/6,500=4.9932{,}438 / 6{,}500 = 4.99, the slope s=1s = 1 and the share used up 32,438/170,725=0.1932{,}438 / 170{,}725 = 0.19:

R′(6,500)=4.99×1×(1−0.19)=4.04R'(6{,}500) = 4.99 \times 1 \times (1 - 0.19) = 4.04

So the next euro in Shopping brings 4.044.04 euro of net revenue, well above the breakeven of 3.043.04.

For Meta retargeting, the curve has Rmax⁡=7,967R_{\max} = 7{,}967, so the line is already at 7,102/7,967=0.8917{,}102 / 7{,}967 = 0.891 of its ceiling. Retargeting only reaches people who have already visited the shop, and most of them are already reached:

R′(3,050)=2.33×1×(1−0.891)=0.25R'(3{,}050) = 2.33 \times 1 \times (1 - 0.891) = 0.25

So the last euro in retargeting brings back 0.250.25 euro. For Meta prospecting the curve has s=2s = 2 and Rmax⁡=62,144R_{\max} = 62{,}144, so it is only at 6,214/62,144=0.106{,}214 / 62{,}144 = 0.10 of its ceiling:

R′(2,850)=2.18×2×(1−0.10)=3.92R'(2{,}850) = 2.18 \times 2 \times (1 - 0.10) = 3.92

So prospecting has a poor average, 2.182.18, and an excellent marginal return, 3.923.92. Here is the whole picture:

LineSpendAverage ROASMarginal ROASNext euro against breakeven of 3.04
Brand search€1,7501.950.33loses money
Shopping, non brand€6,5004.994.04earns
Search, non brand€2,3505.814.26earns
Meta prospecting€2,8502.183.92earns
Meta retargeting€3,0502.330.25loses money

Meta prospecting is the line that loses money on average and deserves more. It loses on average because the first few euro of an S curve are spent below the point where the channel starts working. The next euro land on the steep part.

Line chart of incremental net revenue against monthly spend from 0 to 12,000 euro for five invented ad lines. Shopping rises steadily to 51,591 euro at 12,000. Meta prospecting starts slowly, an S shape, then rises to 41,219 euro. Non brand search rises fast and flattens at 33,290 euro. Brand search and Meta retargeting flatten almost at once, near 4,000 and 7,700 euro. Tap or click to open full screen and move around

The S curve has a threshold

An S shaped curve means a channel can look useless at a small budget and work well at a larger one. This matters most for prospecting on Meta, TikTok or YouTube, where the platform needs enough conversions to learn whom to show the ad to, and where a message needs a few showings before it sticks. Meta documents a learning phase for ad sets, a period in which its delivery system is still working out whom to show the ads to4.

Example: prospecting below and above the threshold

On Callum's prospecting curve, the marginal return at different spend levels is:

Prospecting spendIncremental net revenueAverage ROASMarginal ROAS
€1,200€1,2001.001.96
€2,850 (today)€6,2142.183.92
€4,800€14,8923.104.72
€7,300€26,2013.594.15
€9,500€34,3343.613.23

The marginal return rises from €1,200 to €4,800 and only then falls. A shop that tested prospecting at €1,200 a month, saw an average of 1.00 and switched it off, would have drawn the wrong conclusion from a correct number. The marginal return peaks at about €4,800 and is still above breakeven at €9,500.

Line chart of marginal ROAS against monthly spend for five invented ad lines at Shannonside Home, with a dashed breakeven line at 3.04. Brand search and Meta retargeting drop below breakeven within the first 1,200 euro. Non brand search crosses breakeven near 4,000 euro. Shopping stays above breakeven until close to 12,000 euro, where it reaches 3.00. Meta prospecting starts at 0.51, rises to a peak of 4.72 at 4,800 euro and falls to 2.31 at 12,000. Tap or click to open full screen and move around

The log curve, a simpler alternative

Some analysts use a logarithmic curve instead. It has one parameter fewer and no ceiling. See Foundations: logarithms if logs are rusty.

R(x)=a⋅ln⁡(1+xb),R′(x)=ab+xR(x) = a \cdot \ln\left(1 + \frac{x}{b}\right), \qquad R'(x) = \frac{a}{b + x}

where aa sets the height of the curve, bb sets how soon it bends, ln⁡\ln is the natural logarithm and R′(x)R'(x) is again the marginal ROAS.

Example: Hill and log fitted to the same point

Callum fits a log curve to non brand search so that it passes through today's point, €13,658 of revenue at €2,350, with the same marginal return of 4.26. That gives a=20,819a = 20{,}819 and b=2,535b = 2{,}535. Check at €2,350: 20,819×ln⁡(1+2,350/2,535)=20,819×0.656=13,65820{,}819 \times \ln(1 + 2{,}350 / 2{,}535) = 20{,}819 \times 0.656 = 13{,}658. Now compare the two curves further out:

Search spendHill curveLog curve
€2,350€13,658€13,658
€4,700€21,565€21,835
€9,400€30,351€32,256
€23,500€40,171€48,494

Near the data the two agree within about 1%. Far away they part, because the log curve never stops rising. The lesson is not which curve is right. It is that no curve knows anything about spend levels you have never tried. Keep decisions close to the range your data covers, and test before you go further.

The best split gives every channel the same marginal return

Now the central rule. Suppose the next euro in retargeting brings €0.25 and the next euro in prospecting brings €3.92. Move one euro from retargeting to prospecting and you lose €0.25 of revenue and gain €3.92. Keep moving, and the gap shrinks: retargeting's marginal return rises as you cut it, prospecting's eventually falls as you add. You stop when the two are equal, because then moving a euro gains nothing.

Apply the same argument to every pair of channels, and you get the condition for the best split of a fixed budget. Economists call it the equimarginal principle. In the language of optimisation it is the condition a Lagrange multiplier produces. The optimisation under uncertainty article derives it for two channels, so here it is stated for any number. For the fractions, see Foundations: marginal and average.

R1′(x1)=R2′(x2)=⋯=Rn′(xn)=λ,∑i=1nxi=BR_1'(x_1) = R_2'(x_2) = \dots = R_n'(x_n) = \lambda, \qquad \sum_{i=1}^{n} x_i = B

where xix_i is the spend on channel ii, Ri′(xi)R_i'(x_i) is its marginal ROAS at that spend, nn is the number of channels, BB is the total budget and λ\lambda is the common marginal return all funded channels settle at. A channel whose best marginal return is below λ\lambda even at its first euro gets nothing. If λ\lambda comes out above breakeven, the budget is too small to fund everything worth funding. If it comes out below breakeven, the budget is too big.

Example: the first €100 moved

Callum moves €100 from retargeting to prospecting. Retargeting loses about 100×0.25=25100 \times 0.25 = 25 euro of net revenue and prospecting gains about 100×3.92=392100 \times 3.92 = 392 euro. The net change in revenue is 392−25=367392 - 25 = 367, and in contribution 367×0.3286=120.60367 \times 0.3286 = 120.60, so about €121 a month more for the same total spend. A hundred euro moved, €121 of profit found. That is how large the gaps between marginal returns are in a typical account.

Example: the full split of €16,500

Callum solves for the λ\lambda at which the five spends add up to exactly €16,500. It comes out at λ=4.15\lambda = 4.15. Each line's spend is then where its marginal return equals 4.15. Rounded to the nearest €10:

LineTodayBest splitChangeMarginal ROAS at best splitContribution after ads
Brand search€1,750€240minus €1,5104.12€308
Shopping, non brand€6,500€6,040minus €4604.15€4,000
Search, non brand€2,350€2,460plus €1104.16€2,180
Meta prospecting€2,850€7,290plus €4,4404.16€1,306
Meta retargeting€3,050€470minus €2,5804.18€992
Total€16,500€16,500€0€8,786

The same €16,500 now leaves 8,7868{,}786 instead of 4,1454{,}145 euro of contribution, almost twice as much. Nothing was added to the budget. Every line now earns more on the next euro than the breakeven of 3.04, so every line contributes, including the two that lost money at today's spend.

Grouped bar chart comparing today's monthly spend with the best split of the same 16,500 euro across five invented ad lines. Brand search falls from 1,750 to 240 euro, Shopping from 6,500 to 6,040, non brand search rises from 2,350 to 2,460, Meta prospecting rises from 2,850 to 7,290 and Meta retargeting falls from 3,050 to 470. Contribution after ads rises from 4,145 to 8,786 euro. Tap or click to open full screen and move around

Read the table with care. Shopping goes down slightly, though it has a high marginal return, because prospecting at €7,290 is even better, and the money is fixed. Meta as a whole rises from €5,900 to €7,760 although Meta lost money in the ROAS chapter: the loss came from retargeting, not from the platform. And the jump in prospecting from €2,850 to €7,290 goes far beyond anything Niamh has ever spent there, which brings its own problem. The section on tests deals with it.

How big the total budget should be

The split answers "where does the money go". The total answers "how much money". The same marginal logic answers both: keep raising the budget while λ\lambda, the marginal return of the best split, is above breakeven.

The value of one more euro of budget follows directly from λ\lambda, see Foundations: marginal and average:

v=λ⋅m−1v = \lambda \cdot m - 1

where vv is the extra contribution from one more euro of budget, spread the best way, λ\lambda is the common marginal ROAS at the current budget and mm is the contribution per euro of net revenue (here 0.3286). When vv falls to zero, the budget is at its best size.

Example: what each extra euro of budget is worth

At €16,500, λ=4.15\lambda = 4.15, so v=4.15×0.3286−1=0.36v = 4.15 \times 0.3286 - 1 = 0.36. Each extra euro, well placed, leaves 36 cent. Callum repeats the best split at other totals:

Monthly budgetλ\lambdaValue of the next euroContribution after ads
€12,0004.6954 cent€6,726
€14,0004.4747 cent€7,742
€16,5004.1536 cent€8,786
€19,0003.8527 cent€9,571
€21,0003.6119 cent€10,020
€23,5003.3410 cent€10,376
€26,0003.102 cent€10,521
€26,6003.040 cent€10,527

The best total on these curves is about €26,600, where contribution peaks at €10,527. In that split Google gets about €16,000, close to the €15,200 the ROAS chapter found with a single curve for all of Google. Notice how flat the top is: going from €23,500 to €26,600 adds only €151. The last few thousand euro are close to worthless, and they carry the most risk, because they sit furthest outside the data. A sensible plan stops well short of the mathematical top.

Line chart of monthly contribution after ads against total monthly ad budget for the invented Shannonside Home. Contribution rises from 6,726 euro at a 12,000 euro budget to 8,786 at 16,500, 10,020 at 21,000 and 10,376 at 23,500, then flattens, peaking at 10,527 euro at a budget of about 26,600. Today's split of 16,500 earns only 4,145, shown as a separate dashed line for comparison. Tap or click to open full screen and move around

New customers are worth more than their first order

So far each order is worth its own contribution and nothing more. But a first order from a new customer brings a chance of later orders, and in this series 28% of first time customers buy again within twelve months. Prospecting mostly brings new customers, retargeting mostly brings back people who would have come anyway. Counting the future orders shifts the balance further towards prospecting. The chapter on customer acquisition cost, payback and LTV to CAC shows how to value a new customer properly, and the repeat purchase chapter how to estimate the repeat rate.

Example: a simple uplift for prospecting

A cautious version counts one repeat order for 28% of new customers: 0.28×22.44=6.280.28 \times 22.44 = 6.28 euro of extra contribution per first order. Per euro of net revenue that is 6.28÷68.29=0.0926.28 \div 68.29 = 0.092. So for prospecting, where nearly every order is a first order, the contribution per euro becomes 0.329+0.092=0.4210.329 + 0.092 = 0.421, and the breakeven marginal ROAS drops from 3.04 to 1÷0.421=2.381 \div 0.421 = 2.38. Callum keeps this as a second column in his sheet rather than mixing it into the main one, because the repeat rate is an estimate with its own uncertainty, and a twelve month payback needs cash in the meantime.

Cash can be the tighter limit

The best budget on paper assumes money is free until the orders pay it back. It is not. Ads are paid within days. More orders also mean more stock bought in advance, and the contribution arrives over the following weeks. A budget that maximises contribution can still empty the bank account.

Google Ads makes the timing less predictable than a monthly figure suggests: a campaign may spend up to twice its average daily budget on a single day, though over a month it charges no more than 30.4 times the average daily budget5. Plan cash on the monthly ceiling, not on the daily figure.

Example: from €16,500 to €21,000

Niamh asks what it would take to go from €16,500 to €21,000. Split the best way at each level:

  1. Extra ad spend: 21,000−16,500=4,50021{,}000 - 16{,}500 = 4{,}500 euro a month.
  2. Extra incremental net revenue: 94,402−76,951=17,45194{,}402 - 76{,}951 = 17{,}451 euro a month.
  3. Stock for those sales, at a product cost of 48% of net revenue (the 52% gross margin turned round): 0.48×17,451=8,3760.48 \times 17{,}451 = 8{,}376 euro, bought before the goods sell.
  4. Cash out up front: 4,500+8,376=12,8764{,}500 + 8{,}376 = 12{,}876 euro.
  5. Extra contribution: 10,020−8,786=1,23410{,}020 - 8{,}786 = 1{,}234 euro a month.

So €12,876 of working capital buys €1,234 a month of contribution. The stock is not lost, it turns back into money as it sells, but while the higher budget runs, roughly that sum stays tied up. €1,234 a month on €12,876 is nearly 10% a month, a fine return if Niamh has the cash. If the cash would come from an overdraft at a high rate, or would delay paying a supplier, the step to €19,000 is the safer one: it needs about €7,300, a bit over half the working capital, and brings €785 a month. The maths of the curves cannot make this call. It only makes the price of each choice visible.

Seasonality: spend more when buyers are there, less when they are not

Demand is not flat through the year. A homeware shop sells far more in November and December than in February. The response curves move with it: in a busy month the same spend reaches more people who are ready to buy, so the ceiling is higher.

The rule does not change. Over a year, the best plan gives every month the same marginal return as well as every channel. That means spending more than in proportion in strong months and less than in proportion in weak ones. The simplest way to write the season into the curves is a demand index for each month, see Foundations: seasonality:

Rt(x)=dt⋅R(x)R_t(x) = d_t \cdot R(x)

where Rt(x)R_t(x) is the incremental net revenue at spend xx in month tt, dtd_t is the demand index of that month (1.0 is an average month, 1.45 is 45% busier) and R(x)R(x) is the curve for an average month.

Example: Niamh's year with €198,000

Callum's demand index, from three years of order history, runs from 0.80 in February to 1.45 in November. The annual budget is 12×16,500=198,00012 \times 16{,}500 = 198{,}000 euro. He compares three ways to spread it: the same €16,500 every month, a budget in proportion to the index, and the best plan, with one common marginal return for every month and every line. Meta prospecting keeps a floor of €1,800 a month, so it never stops learning.

MonthDemand indexBest plan spendContribution, best planContribution, €16,500 flat
January0.85€11,429€3,737€4,993
February0.80€7,043€2,242€3,729
March0.90€14,113€5,604€6,257
April0.95€15,956€7,354€7,522
May0.95€15,956€7,354€7,522
June0.90€14,113€5,604€6,257
July0.85€11,429€3,737€4,993
August0.85€11,429€3,737€4,993
September1.00€17,628€9,172€8,786
October1.10€20,688€13,025€11,314
November1.45€29,829€28,470€20,165
December1.40€28,627€26,105€18,900
Year€198,240€116,140€105,430

The best plan lands at €198,240, €240 over the budget, because in February prospecting runs either at its floor or well above it, nothing in between. Over the year the best plan leaves 116,140−105,430=10,710116{,}140 - 105{,}430 = 10{,}710 euro more than the flat budget. A budget in proportion to the index leaves €113,328, so even the simple rule captures most of the gain.

Two things in the table look strange at first. January earns less under the best plan than under the flat budget. That is correct: money taken out of January earns more in November, so January is deliberately starved. And February spends far less than January, although the index is only slightly lower. That is the S curve of prospecting: in February its best marginal return falls below the year's common level, so it drops to its floor of €1,800 instead of shrinking smoothly.

Grouped bar chart of monthly ad spend for an invented homeware shop over one year. The flat plan spends 16,500 euro every month. The best seasonal plan spends 11,429 in January, 7,043 in February, between 11,429 and 17,628 from March to September, 20,688 in October, 29,829 in November and 28,627 in December. Both plans spend about 198,000 euro in the year, and the seasonal plan leaves 10,710 euro more contribution. Tap or click to open full screen and move around

Pacing inside the month

A monthly plan still has to be spent day by day. Automated bidding already adapts to the usual weekly and seasonal patterns. For short events where the conversion rate jumps, such as a sale weekend, Google Ads offers seasonality adjustments that tell Smart Bidding to expect the change. Google recommends them for events of one to seven days, and warns that results may suffer if they run longer than 14 days6. For a whole season, change the budgets, not the bidding's expectations.

Example: pacing November

Callum sets November's €29,829 as weekly budgets weighted by last year's weekly orders, with the Black Friday week at about a third of the month. For the four day Black Friday sale itself, he adds a seasonality adjustment to the Shopping and Search campaigns that run on target ROAS, raising the expected conversion rate by the uplift seen in last year's sale. Every Monday he checks the Google Ads report for search lost impression share due to budget, the share of the time the ads were not shown because the budget ran out7. Above zero on a line whose marginal return is above the month's level, he moves money in from a line that is not using its budget.

Curves come from tests, not from platform reports

Everything so far depends on the curves being right. And the easy way to draw them, plotting each week's spend against the revenue the platform reports for that week, gives curves that are badly wrong.

The platform's revenue is attributed, not incremental. It includes the people who would have bought anyway, and the share of those varies by channel, as the brand and retargeting lines above show. Worse, spend and sales move together for reasons that have nothing to do with the ads: you spend more in December because December sells more. A curve fitted to that data mistakes the season for the effect of the ads. The eBay study shows how far off this goes: a simple regression of sales on paid search spend put the return on investment above 4,100%, and still above 1,400% with controls for time and region, while the experiment found a loss of 63% of the money spent, with a 95% range from a loss of 124% to a loss of 3%1. Brett Gordon and colleagues compared 15 large experiments at Facebook with the observational methods advertisers usually use, and found the observational methods often failed to reproduce the experimental results, even with rich data on every user8.

So the curves need experiments. Experiments are also noisy: Randall Lewis and Justin Rao analysed 25 large field experiments at retailers and brokerages and found that the median confidence interval on the return on investment was more than 100 percentage points wide9. A small shop cannot measure everything precisely. It can measure the few things that move the most money, and calibrate the curves with them. The five ways to prove a campaign worked and the attribution chapter explain how holdout and geo tests are designed. This chapter uses their results.

Calibrate the height of a curve with a holdout result

A holdout test tells you, at one spend level, how much of the platform's claim is real. If the platform data gives the shape of a curve, the test fixes its height. Multiply the whole curve by the incrementality factor, see Foundations: ratios and rates:

Rcal(x)=k⋅Rplatform(x),k=NtestNclaimedR_{\text{cal}}(x) = k \cdot R_{\text{platform}}(x), \qquad k = \frac{N_{\text{test}}}{N_{\text{claimed}}}

where Rcal(x)R_{\text{cal}}(x) is the calibrated curve, Rplatform(x)R_{\text{platform}}(x) is the curve fitted to the platform's attributed revenue, kk is the incrementality factor, NtestN_{\text{test}} is the number of orders the test showed the line causes and NclaimedN_{\text{claimed}} is the number the platform claimed over the same period.

Example: calibrating Meta prospecting

Meta claims 185 orders a month from prospecting at €2,850, worth 185×68.29=12,634185 \times 68.29 = 12{,}634 euro of net revenue. Callum's holdout showed 91 incremental orders. So k=91/185=0.49k = 91 / 185 = 0.49. He fits a Hill curve to the weekly platform figures, then multiplies its ceiling by 0.49, which brings the curve down to €6,214 at €2,850, the tested figure. The slope parameter stays as fitted. This assumes that the share of real orders is the same at every spend level, which is an assumption, not a fact: at higher spend prospecting reaches colder audiences, where fewer buyers would have come anyway, so kk may rise. That is one more reason to test again after a big move.

Measure the slope directly with a spend step test

A holdout measures the average at one level. To measure the marginal return directly, change the spend, not by switching off, but by raising it in some regions and keeping it in others. The difference in extra revenue divided by the difference in spend is the marginal return between the two levels, see Foundations: marginal and average:

ROAS^marg=ΔRtestΔxtest\widehat{\text{ROAS}}_{\text{marg}} = \frac{\Delta R_{\text{test}}}{\Delta x_{\text{test}}}

where ROAS^marg\widehat{\text{ROAS}}_{\text{marg}} is the measured marginal return, ΔRtest\Delta R_{\text{test}} is the extra incremental revenue in the test regions against their prediction from the control regions, and Δxtest\Delta x_{\text{test}} is the extra spend in the test regions. Google's researchers described the geo experiment design for exactly this kind of question in 201110. Google Ads offers Conversion Lift based on geography to some accounts11, and Meta's open source team publishes GeoLift, code for exactly this analysis12.

Example: raising Shopping by half in 30% of the country

Callum picks regions that carry 30% of Shannonside's revenue and raises Shopping spend there by 50% for a month: from 30% of €6,500, which is €1,950, to €2,925. The extra spend is €975. The curve predicts that moving the whole country from €6,500 to €9,750 would add 44,435−32,438=11,99744{,}435 - 32{,}438 = 11{,}997 euro, so 30% of that, €3,599, in the test regions, a marginal return of 3,599/975=3.693{,}599 / 975 = 3.69.

The test measures €3,470 of extra revenue against the prediction from the control regions. That is a marginal return of 3,470/975=3.563{,}470 / 975 = 3.56. Given the noise in a single month, the rough range on this estimate runs from about 2.8 to 4.4, so the test confirms the curve without pinning it down exactly. Both the curve's 3.69 and the measured 3.56 sit above breakeven, so the extra Shopping money would earn. The decision holds even at the low end of the range, which is the only kind of test result worth acting on.

Step outside the data only in small steps

The best split moved prospecting from €2,850 to €7,290, and retargeting from €3,050 to €470. Niamh's data covers prospecting between about €1,800 and €3,500 a month. Everything beyond that is the curve's guess. The S shape, the ceiling, the slope: all extrapolated. So the practical rule is to move each line part of the way towards its target, with limits that keep it near the observed range, test at the new level, and then refit.

Example: September's stepped plan

September is an average month, with a demand index of 1.0, so the budget stays at €16,500. Callum sets limits for it: brand search and retargeting may fall by half at most, to €900 and €1,500. Prospecting may rise to €4,000 at most, about 40% more than today. The other lines stay inside the ranges they have run at. Within those limits he solves for the best split of €16,500 again:

LineTodayStepped planMarginal ROAS at the stepped plan
Brand search€1,750€9000.92
Shopping, non brand€6,500€7,3003.86
Search, non brand€2,350€2,8003.86
Meta prospecting€2,850€4,0004.58
Meta retargeting€3,050€1,5000.85
Total€16,500€16,500

Contribution after ads rises from €4,145 to €7,020, about €2,875 a month, without leaving the ground the data covers. The full gain to €8,786 waits for the next test. Brand search and retargeting are still below breakeven at their limits, so next month they fall again, and the cut to brand search runs as a test of its own: if competitors start appearing above Niamh's name, the curve was wrong and the cut stops.

Marketing mix modelling for the long view

Tests calibrate one line at one moment. A marketing mix model (MMM) estimates all the curves at once from two or more years of weekly data, including the carry over of advertising into later weeks and channels with no clicks at all, such as print or podcasts. Its strength is the whole picture, its weakness the same confounding that the eBay study showed, which is why good models are calibrated with experiments. Meta's open source Robyn package, for example, calibrates its models with geo tests and lift studies and includes a budget allocator that reallocates spend with a constrained solver13. Google's Meridian uses the Hill curve from earlier in this chapter for saturation3. The media mix modelling article explains adstock, saturation and the model itself in depth, so I will not repeat it here.

Example: when Niamh needs a model

Shannonside has 14 months of clean weekly data, and Meta and Google spend rose together over that time, so a model could not yet tell them apart. The stepped plans help: by moving lines in different directions in different months, Callum creates the variation a model needs. With two years of data and four calibrating tests, the model takes over the yearly plan, and the tests keep checking it. Until then, the five curves above, each anchored to a test, do the job grand.

Fitting a curve and splitting a budget in Python

The method fits in about 30 lines of Python with NumPy and SciPy. The code does two things. First it fits a Hill curve to one line's monthly spend and calibrated revenue with curve_fit from SciPy, which finds the parameters that make the curve pass as close as possible to the data points by least squares14. Then it splits a budget across all five lines with minimize from SciPy, using the SLSQP method, which handles limits on each line and the condition that the spends add up to the budget15. Foundations: regression explains least squares fitting.

import numpy as np
from scipy.optimize import curve_fit, minimize

def hill(x, r_max, k, s=1.0):
    """Incremental net revenue at monthly spend x (a Hill curve)."""
    x = np.asarray(x, dtype=float)
    return r_max * x**s / (x**s + k**s)

# 1. Fit one channel: monthly spend and calibrated incremental net revenue
spend = np.array([3550, 4500, 5300, 5900, 6500, 7300, 8000, 8700])
revenue = np.array([19700, 23500, 27700, 29700, 32400, 36000, 37900, 41000])
params, cov = curve_fit(hill, spend, revenue, p0=[100000, 15000])
print("Shopping fit: r_max=%.0f k=%.0f" % tuple(params))
print("standard errors:", np.sqrt(np.diag(cov)).round(2))

# 2. Allocate a budget across channels, with floors and ceilings
m = 0.3286           # contribution per euro of net revenue
budget = 16500
channels = {         # r_max, k, s, floor, ceiling
    "brand":       (4097, 350, 1.0, 900, 1750),
    "shopping":    (170725, 27711, 1.0, 3500, 9400),
    "search":      (51218, 6463, 1.0, 1200, 3500),
    "prospecting": (62144, 8550, 2.0, 1800, 4000),
    "retargeting": (7967, 372, 1.0, 1500, 3050),
}
names = list(channels)

def contribution(x):
    return sum(m * hill(xi, *channels[n][:3]) - xi for n, xi in zip(names, x))

result = minimize(lambda x: -contribution(x),
                  x0=[budget / len(names)] * len(names),
                  bounds=[channels[n][3:] for n in names],
                  constraints=[{"type": "eq", "fun": lambda x: x.sum() - budget}],
                  method="SLSQP")
for n, xi in zip(names, result.x):
    print(f"{n:12s} {xi:8.0f}")
print("contribution after ads: %.0f" % contribution(result.x))

A few notes for a first reading. The function hill is the curve from earlier, with the slope at 1 unless you pass another value. curve_fit needs a starting guess, p0, for the ceiling and the half saturation point. It returns the fitted values and a covariance matrix, whose diagonal gives the standard errors. In the second part, minimize looks for the smallest value of a function, so the code hands it minus the contribution. The bounds are each line's floor and ceiling, and the constraints entry forces the spends to add up to the budget.

Example: what the script prints for Shannonside

Run on Callum's eight months of Shopping data, the fit gives a ceiling of €171,173 with a standard error of €14,774, and a half saturation point of €27,776 with a standard error of €2,984. Those are close to the curve used throughout this chapter, and the standard errors are honest about the uncertainty: the ceiling could plausibly be €142,000 or €201,000, because eight months between €3,550 and €8,700 say little about what happens at €25,000. If you also let the slope float, the fit becomes unstable, because the data cannot tell a steeper curve with a lower ceiling from a flatter one with a higher ceiling. Fix the slope at 1 for search and Shopping unless you have data across a wide range.

The allocation part, with the limits of the stepped plan, prints brand 900, Shopping 7,301, search 2,799, prospecting 4,000 and retargeting 1,500, with a contribution after ads of €7,019. That is the stepped plan from the previous section, give or take rounding. Set the floors to zero and the ceilings high, and it returns the full best split instead.

A monthly budget routine

The method is only useful if it runs every month, with the same steps, in the same order. Here is the routine I would set up for a shop like this one. It takes about two hours once the data flows.

Tap or click to open full screen and move around

The steps, with what each one needs:

StepWhat you doWhat it needs
1. Close the monthTake orders, net revenue and refunds from the shop's own database, not from the ad platformsOrder data, the tracking plan in place
2. Update the curvesRecalibrate any line with a new test result, otherwise keep the curveThe latest holdout or step test
3. Marginal returnsCompute the marginal ROAS of each line at the spend it ran atThe curves, the formula from this chapter
4. Solve the splitEqualise marginal returns within limits that keep each line near its dataThe script, this month's floors and ceilings
5. Check cashAdd the stock needed for the planned sales to the ad spend and compare with the cash forecastA cash forecast, the forecasting chapter
6. SeasonScale next month's budgets with the demand indexOrder history by month
7. Book a testPick the line where the curve is least certain and the money at stake is largestA test calendar, one test at a time per line

Example: Niamh's October review

On the first Monday in October, Callum closes September: €16,500 spent on the stepped plan, and 0.3% fewer orders than the curves predicted, well within the noise. No new test result came in, so the curves stay. The marginal returns at September's spend range from 0.92 for brand search to 4.58 for prospecting, far more than half a point apart, so he solves again. The limits move on: brand search may fall to €450, retargeting to €750, prospecting may rise to €5,600. October's demand index is 1.10, so the total is €20,688 from the seasonal plan. Niamh's cash forecast has room for it, including the extra stock for the Christmas range. The budgets go in, and the test calendar gets a prospecting holdout at the new level for the first weeks of October, before the Black Friday weeks make every test noisy, because prospecting is the line where the most money now rides on the least data.

Mistakes that break the allocation

Most budget mistakes come from mixing up which number answers which question. These are the common ones, each with the check that catches it.

MistakeWhat goes wrongThe check
Steering by average ROASMoney flows to lines with a good past, not a good next euroCompute the marginal return for every line
Using the platform's revenueBrand and retargeting look like the best lines because they collect orders that would have come anywayCalibrate every curve with a test
Mixing basesA ROAS on gross revenue compared with a breakeven on net revenueUse one basis everywhere (this chapter uses net revenue)
Jumping to the optimumThe curve is extrapolated far beyond the data, and a large jump unsettles the platforms' automated biddingMove part of the way, within limits, and test
Cutting a channel below its thresholdAn S curve looks hopeless at a small budgetTest at a budget large enough to reach the steep part
Ignoring cashA profitable budget that the bank account cannot carryAdd the stock to the spend and check the forecast
Changing everything at onceNo test can tell which change did whatMove lines in different directions in different months

Example: the mistake Niamh nearly made

Before this routine, Niamh's plan for spring was to cut Meta by half, because Meta "lost money", and give the €2,950 to Google, which "earned". In practice she would have cut prospecting and retargeting equally. On the curves, that plan moves retargeting from €3,050 to €1,525 and prospecting from €2,850 to €1,425, and adds the money to Shopping and search in proportion. It leaves about €6,140 of contribution. That beats today, because it cuts waste in retargeting, but it falls short of the stepped plan's €7,020 and far short of €8,786, because it also halves prospecting, where the next euro was about to earn the most. The average view could not tell the two halves of Meta apart. The marginal view could.

Conclusion

The question "how do I split my budget" has a precise answer: give every channel the same return on the next euro, and grow the total while that return is above breakeven. The average return cannot tell you this, because it describes money already spent. Draw a response curve per channel, read its marginal return, and move money from lines where the next euro earns little to lines where it earns a lot. Anchor every curve to a test, because platform reports and simple regressions mistake people who would have bought anyway for the effect of the ads. Move in steps that stay close to what the data covers, check the plan against cash, follow the season with the same rule, and repeat it every month. For Shannonside Home that turns the same €16,500 from €4,145 of contribution into €7,020 next month, and towards €8,786 once the tests confirm the curves.

If your budget follows last month's ROAS, book the free workshop: we draw the response curves for your channels, plan the first test, and the first two weeks of work are on me.

Sources

  1. 1.

    Thomas Blake, Chris Nosko and Steven Tadelis, Consumer heterogeneity and paid search effectiveness: a large scale field experiment, NBER Working Paper 20171, 2014, published in Econometrica, volume 83, number 1, 2015, https://www.nber.org/papers/w20171

  2. 2.

    Yuxue Jin, Yueqing Wang, Yunting Sun, David Chan and Jim Koehler, Bayesian methods for media mix modelling with carryover and shape effects (American spelling in the original), Google Inc., 2017, https://storage.googleapis.com/gweb-research2023-media/pubtools/3806.pdf

  3. 3.

    Google, Meridian documentation, media saturation and lagging (the Hill function with half saturation point and slope), Google for Developers, checked 22 November 2026, https://developers.google.com/meridian/docs/basics/media-saturation-lagging

  4. 4.

    Meta, About the learning phase for ad sets in Meta Ads Manager, Meta Business Help Centre, checked 22 November 2026, https://www.facebook.com/business/help/112167992830700

  5. 5.

    Google, About overdelivery and your average daily budget, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/2375423

  6. 6.

    Google, About seasonality adjustments, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/10369906

  7. 7.

    Google, Get impression share data, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/7103314

  8. 8.

    Brett R. Gordon, Florian Zettelmeyer, Neha Bhargava and Dan Chapsky, A comparison of approaches to advertising measurement: evidence from big field experiments at Facebook, Marketing Science, volume 38, number 2, pages 193 to 225, 2019, working paper version, https://www.kellogg.northwestern.edu/faculty/gordon_b/files/fb_comparison.pdf

  9. 9.

    Randall A. Lewis and Justin M. Rao, The unfavorable economics of measuring the returns to advertising, The Quarterly Journal of Economics, volume 130, number 4, pages 1941 to 1973, 2015, https://ideas.repec.org/a/oup/qjecon/v130y2015i4p1941-1973.html

  10. 10.

    Jon Vaver and Jim Koehler, Measuring ad effectiveness using geo experiments, Google Inc., 2011, https://research.google/pubs/measuring-ad-effectiveness-using-geo-experiments/

  11. 11.

    Google, About Conversion Lift, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/12003020

  12. 12.

    Meta Open Source, GeoLift, checked 22 November 2026, https://facebookincubator.github.io/GeoLift/

  13. 13.

    Meta Marketing Science, Robyn, an open source marketing mix modelling package, checked 22 November 2026, https://facebookexperimental.github.io/Robyn/

  14. 14.

    The SciPy community, scipy.optimize.curve_fit, SciPy documentation, checked 22 November 2026, https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.curve_fit.html

  15. 15.

    The SciPy community, scipy.optimize.minimize, SciPy documentation, checked 22 November 2026, https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.minimize.html