AdPix Blog

Marketing mix modeling: what MMM measures, the data it needs and how it works

What marketing mix modeling answers that attribution can't, the weekly data it needs, adstock and saturation in numbers, and how to read ROI vs marginal ROI.

10 min read

Key takeaways

  • Marketing mix modeling (MMM) is a regression on aggregated weekly data that splits a sales or conversion series into a baseline and the incremental contribution of each channel, so it needs no cookies or user-level tracking.
  • Two transformations make it work: adstock carries part of each week's ad effect into later weeks, and saturation makes each extra unit of spend buy less than the one before.
  • Google's Meridian documentation asks for at least two years of weekly data for a geo-level model and three years for a national one; Meta's Robyn guide also sets two years of weekly data as the minimum.
  • Move budget on marginal ROI, not average ROI. A channel with a high average return can already be saturated, while a channel with a modest average can still have room to grow.
  • MMM estimates are only as good as the variation in your spend. Calibrate the model with lift tests, which measure one change at a time.

Marketing mix modeling (MMM) answers one question: how much of your sales did each marketing channel actually cause, and what would the next unit of budget buy in each one? It does this with a regression on aggregated weekly data, such as sales, spend per channel, prices and seasonality, so it works without cookies, click IDs or user-level tracking. The price is data: a reliable model needs about two years of weekly history in which your budget actually moved.

Marketing mix modeling (MMM) is a statistical model that explains a business outcome, such as weekly sales or conversions, as a baseline plus the incremental contribution of each marketing channel and outside factor, using aggregated time-series data rather than user-level journeys.

MMM sits at the top of the measurement stack described in the performance marketing guide: attribution for daily optimisation, lift tests to prove one change, and a mix model to split the whole budget.

What does marketing mix modeling answer that attribution cannot?

Marketing mix modeling estimates the incremental effect of every channel, including channels nobody can click. Attribution only divides credit for conversions it can see among the touchpoints it can see.

Meta’s Robyn guide puts the difference plainly: multi-touch attribution is “very reliant on online signals, whereas MMM does not need user level data and instead it runs off aggregated data”. That has three practical consequences:

  1. Untracked channels count. A fixed-price post in a Telegram channel, a billboard, a podcast read or an influencer story without a tagged link all leave no click trail. If they moved weekly sales, a mix model can see it.
  2. Signal loss matters less. Consent banners, blocked cookies and app-to-browser hops break user-level journeys. Robyn’s documentation calls MMM “privacy-friendly and signal-resilient”.
  3. Credit becomes contribution. Attribution answers “which touch came before the sale?” MMM answers “how many sales would be missing if this channel had been off?”, which is the question a budget decision needs.

The guide to attribution models shows how six attribution rules split the same journey differently. None of them can tell you whether the sale would have happened anyway. MMM and incrementality testing are the two methods that try.

How does a marketing mix model work?

A mix model fits one equation to your weekly KPI: a baseline (what you would sell with no paid media, driven by trend, seasonality and brand), plus a contribution from each channel, plus control variables such as price changes, promotions or competitor activity. The fitted contributions are the answer. Two transformations make the media part realistic.

Adstock: ads keep working after the week you pay for them

Adstock carries part of a week’s ad effect into the following weeks. The simplest form, geometric decay, uses one rate. Robyn describes it as an exponential decay “with theta as the fixed-rate decay parameter”.

With a hypothetical decay rate of 0.6, a single $1,000 burst in week 1 and nothing afterwards works like this:

Week Spend Adstocked spend
1 $1,000 $1,000
2 $0 $600
3 $0 $360
4 $0 $216
Total over time $1,000 $1,000 ÷ (1 − 0.6) = $2,500

The model never sees a sales spike in week 1 alone. It sees a wave that fades over three or four weeks, which is closer to how a video campaign or a burst of influencer posts behaves. Robyn also offers Weibull adstock, which it recommends “for products with longer conversion window”: the effect can build up and peak after the spend instead of starting at full strength.

Saturation: each extra unit buys less

Saturation models diminishing returns. A common choice is the Hill function, which Robyn uses “for a flexible transformation into S- or L-shape saturation”. In its simplest form, a channel’s weekly contribution is:

contribution = maximum × spend ÷ (spend + half-saturation spend)

Take a hypothetical channel whose contribution can never exceed $20,000 a week and reaches half of that at $4,000 of weekly spend:

Weekly spend Contribution Extra contribution from the last $2,000 Return on that $2,000
$2,000 $6,667
$4,000 $10,000 $3,333 1.67
$6,000 $12,000 $2,000 1.00

The channel’s average return at $6,000 is $12,000 ÷ $6,000 = 2.0, which looks healthy. The return on the last $2,000 is 1.0. That gap is the most useful thing a mix model tells you.

How the parameters are estimated

The decay rates, saturation points and channel coefficients are estimated from the data. Google’s 2017 paper by Jin, Wang, Sun, Chan and Koehler fits “carryover and shape effects” with a Bayesian approach “to make use of prior knowledge accumulated in previous or related media mix models”. Google’s open-source Meridian follows that line: it is a Bayesian model that supports geo-level data and lets you “inject your existing business knowledge into the model through priors”. Robyn takes a different route, using ridge regression (“the L2-form of the regularisation”) and Meta’s Nevergrad optimiser to search the adstock and saturation settings.

What data does marketing mix modeling need?

You need a weekly KPI, weekly spend (and ideally impressions or clicks) for every paid channel, and the outside factors that also move sales, for a minimum of about two years. Meridian’s data guide calls weekly data the best practice because it strikes “an advantageous equilibrium between the degree of variation and the extent of noise”, and asks for “a minimum of two years’ worth of weekly data for geo-level models and three years of data for national-level models”. Robyn’s guide sets the same two-year weekly minimum, and four to five years if only monthly data exists.

Input Granularity Why the model needs it
KPI (revenue, orders or sign-ups) Weekly, per region if possible The series the model explains
Spend per channel Weekly Converts contribution into ROI
Impressions or clicks per channel Weekly Exposure; spend can stand in if nothing else exists
Prices, discounts, promotions Weekly Otherwise their effect is credited to media
Holidays, seasonality, trend Weekly Separates baseline from media
Population per region Once per region Scales geo-level models

Why so much history? Meridian’s own example is blunt: two years of weekly data give 104 points, which in a typical national model means “four data points per parameter”, a sample it calls “too low to estimate the model reliably”. Its remedies are more history or splitting the data by region, because each region adds observations.

Volume is not enough on its own. The model learns from weeks in which spend changed. If every channel spent the same amount every week, or all channels rose and fell together in the same seasonal pushes, the model cannot separate their effects, and its estimates will lean on its assumptions instead of your data.

For Iranian teams, two inputs get lost most often. The first is spend on fixed-price posts in Telegram channels and Instagram pages, which never appears in any ad platform export, so log it weekly yourself. The second is the sales history itself, if it lives only in a GA4 property: the guide to exporting GA4 data covers how to keep a copy before you need it.

How do you read marketing mix model results?

Read four outputs, in this order: the decomposition, each channel’s ROI, its marginal ROI, and the uncertainty around both. Here is a hypothetical online store that averages $50,000 of revenue a week, modelled on two years of weekly data:

Weekly spend Weekly contribution (model) ROI (average) Marginal ROI (next $1)
Baseline (no paid media) $32,000
Google search ads $3,000 $9,000 3.0 1.2
Meta ads $4,000 $6,000 1.5 0.9
Paid Telegram and Instagram posts $1,500 $3,000 2.0 2.6
Total $8,500 $50,000

Suppose the store makes a 50% gross margin, so it needs $2 of revenue per $1 of spend to break even (a break-even ROAS of 2.0; the ROAS guide shows the arithmetic).

  • Search has the best average ROI, 3.0, but the next dollar returns only 1.2. It is saturated: trim it.
  • Meta ads return 1.5 on average and 0.9 at the margin, both below break-even. Cut the weakest campaigns first.
  • Paid posts look ordinary on average, 2.0, but return 2.6 at the margin. This is where the next dollar should go.

Now compare that with what a last-click report from the same store might show: search credited with $15,000 a week, a ROAS of 5.0, because search ads sit right before the purchase and collect sales that brand, posts and word of mouth created. The mix model gives search $9,000. Neither number is “the truth”, but the gap between them is a warning that last-click is over-crediting search.

Read the uncertainty last, but never skip it. A Bayesian model gives each ROI as a range, a credible interval, rather than a single number. If search’s ROI interval runs from 1.4 to 4.6, the model is telling you it does not know search’s return precisely, and the right move is a test, not a budget cut.

ROAS calculatorReturn on ad spend and your break-even point.Try it free

What are the limits of marketing mix modeling?

A mix model is an estimate built on assumptions, and it fails in predictable ways:

  • Small samples let assumptions win. Jin and colleagues found that “prior distributions have a big impact on the posteriors when the sample size is small and may lead to biased estimates”, and that the optimal media mix “has a large variance due to the variance of the parameter estimates”.
  • Search ads are biased upward. A 2018 Google paper on paid search in MMM names “selection bias due to ad targeting”: search ads appear when people are already looking to buy, so the model can mistake demand for ad effect.
  • Channels that move together cannot be separated. If you raise every channel at Nowruz and Black Friday, the model sees one combined push.
  • It is slow. Weekly data and a two-year window mean a mix model describes the last year or two, not last week’s creative change.
  • It misses what you do not feed it. A promotion, a price rise or a stock-out left out of the inputs gets credited to whatever media ran that week.

The fix for most of these is the same: run deliberate experiments. A lift test on one channel gives the model a measured anchor, and both Meridian (which lets you encode such knowledge as priors) and Robyn (through a calibration error term it calls MAPE.LIFT) can use those results.

Marketing mix modeling vs attribution vs lift tests: which should you use?

Use all three, each for its own question:

Attribution Lift / incrementality test Marketing mix model
Question Which touchpoints came before conversions? Did this one change cause more sales? What does each channel return, and where does it saturate?
Data User-level journeys A test and a control group or period Aggregated weekly history
Speed Daily Two to six weeks per test Months of history, refreshed weekly or monthly
Sees untracked channels No Yes, for the channel tested Yes
Main weakness Credit is not causation One question at a time Needs history and spend variation
Best for Daily campaign optimisation Proving or calibrating one channel Splitting an annual budget

The attribution column covers both single-touch rules and multi-touch models; the multi-touch attribution guide works through Markov chain and Shapley credit on a hand-checkable example and shows why that credit still needs calibrating before it feeds a model or a budget. If you have under two years of history or only one paid channel, start with lift tests. The incrementality testing guide covers holdout, geo and time-based designs and how to read a confidence interval.

How do you start with marketing mix modeling?

  1. Start the history now. Record weekly revenue, orders and spend per channel, including fixed-price posts and agency fees, in one sheet.
  2. Write down every price change, promotion and stock-out with its dates. These become control variables.
  3. Vary spend on purpose. Change one channel’s budget by 20% or more for two to four weeks at a time, rather than moving every channel together.
  4. Run a lift test on your biggest channel so the model has a calibrated anchor when you build it.
  5. Pick a tool. Meridian (Python) and Robyn (R) are free and open source but need an analyst who can prepare data and check model diagnostics. A built-in model trades flexibility for setup time.
  6. Decide on marginal ROI and interval width, and re-test the channel whose estimate is widest.

AdPix is a web analytics platform that replaces Google Analytics 4: realtime, acquisition, engagement, conversion and e-commerce reports, plus attribution, lift testing and marketing mix modelling, with no data sampling and a free plan. Its marketing mix model and its lift tests are on the Pro plan (2,990,000 toman a month) and AdPix 360, not on Free or Starter. The AdPix MMM walkthrough covers the spend file it needs, how it reports confidence and how lift results calibrate it, and the AdPix lift test guide shows how to measure a single budget change. Because AdPix’s tracking runs on every plan, including Free, you can start collecting the weekly history today and decide about the model once you have it.

ROAS calculator

Return on ad spend and your break-even point. The free plan covers 100,000 page views a month for each website, no credit card. Setup takes under five minutes.

Frequently asked questions

What is marketing mix modeling?

Marketing mix modeling is a statistical method that uses aggregated weekly data on sales, ad spend and outside factors to estimate how much each marketing channel caused. It reports each channel's contribution, return on investment and response curve, and it needs no user-level tracking.

How much data does a marketing mix model need?

Google's Meridian documentation recommends at least two years of weekly data for a geo-level model and three years for a national model. Meta's Robyn guide also sets two years of weekly data as the minimum, and four to five years if only monthly data exists.

What is the difference between MMM and attribution?

Attribution splits credit for tracked conversions among the touchpoints a user clicked or viewed, so it depends on user-level signals and tends to over-credit channels close to the purchase. MMM models total sales against spend over time, so it covers untracked and offline channels and estimates incremental effect rather than credit.

What are adstock and saturation in MMM?

Adstock is the carryover of an ad's effect into later weeks, usually modelled as a decay rate. Saturation is diminishing returns: as spend in a channel rises, each extra unit of spend adds fewer conversions, which a curve such as the Hill function captures.

Can a small business use marketing mix modeling?

Only with enough history and enough spend variation. With under two years of weekly data, one or two channels or a flat budget every week, a lift test on one budget change gives a more reliable answer than a mix model.

Do I need lift tests if I have a marketing mix model?

Yes, ideally. Lift tests measure the effect of one change with a control group, and both Meridian and Robyn can use experiment results to calibrate the model, which narrows the range of each channel's estimated return.

Sources and methodology

The store, its spend, revenue, decomposition, decay rate and response curve are hypothetical and chosen so the arithmetic is easy to follow; every result was calculated for this article. Data requirements and model features come from Google's Meridian documentation and Meta's Robyn documentation, read on 1 December 2026, and from two Google research papers. AdPix plan placement comes from the adpix.io pricing page.

  1. Google for Developers: Meridian, amount of data needed
  2. Google for Developers: Meridian, collect and organize your data
  3. Google for Developers: Meridian introduction
  4. Jin, Wang, Sun, Chan, Koehler (2017): Bayesian Methods for Media Mix Modeling with Carryover and Shape Effects
  5. Chen, Chan, Koehler, Perry, Wang, Sun, Jin (2018): Bias Correction for Paid Search in Media Mix Modeling
  6. Meta Robyn: An Analyst's Guide to MMM
  7. Meta Robyn: Key features (adstock, saturation, ridge regression, calibration)

This article was drafted with AI assistance and reviewed by the AdPix team before publishing. Editorial policy

About the authorFounder, AdPix · Builder of AdPix

Founder of AdPix, the web analytics platform built for Iranian teams. Every article on this blog is reviewed by the founder before it is published.

Web analyticsAttributionCampaign measurement

Analyze your data, decide with more confidence

With AdPix, analyze campaign performance and grow in step with your business needs.