How a media mix model separates baseline sales from media
Media mix modeling and marketing mix modeling name the same method, and both terms are in common use. Google's open-source Meridian and Meta's open-source Robyn both call it MMM.
The model starts from one outcome, usually weekly sales, and explains it with independent variables. Robyn's guide lists media, non-media marketing such as promotions and discounts, seasonality and holidays, and context variables such as competitor activity, price and macroeconomic factors. What the media variables cannot explain becomes the baseline: the sales a brand would have made anyway.
Two transformations make the media terms realistic. Adstock captures carryover, the share of an ad's effect that lands in later weeks. Saturation encodes diminishing returns: each extra unit of exposure raises sales, at a declining rate. Meridian adds priors, so a team can feed existing knowledge into the model, plus control variables and geo-level data that carry more statistical information. The output is each channel's contribution, its ROI and a response curve showing how returns change with spend.
An MMM project with retail media as one channel, step by step
Robyn's guide gives typical timings for a first study; refreshes run faster. Here is that sequence with retail media inside it.
- Define the questions (1 to 2 weeks). Write down what the model must answer, for example how much each retail media network contributed and where the next dollar should go.
- Collect the data (4 to 6 weeks). Pull weekly spend and impressions per network, plus sales, price, promotions and seasonality. Robyn recommends exposure metrics such as impressions for modeling and spend for computing ROI. When network pushes and price promotions land in the same weeks, the model needs promotion data to split the two.
- Review the data (1 to 2 weeks). Check accuracy and look for multicollinearity, where two inputs move together and the model cannot split their effects.
- Model (4 to 8 weeks). Fit, check and refit. Robyn asks for at least 2 years of weekly data and about one input variable per 10 observations.
- Analyze and recommend. Read contributions, ROI and response curves per network.
- Plan budgets. Meridian's fixed budget scenario finds the channel split that maximizes ROI for a set budget; its flexible scenario finds how far spend can grow before marginal ROI drops to a target. The budget allocation entry covers marginal-return logic in depth.
What MMM can and cannot tell a retail media buyer
MMM answers the cross-network question better than any other method. IAB rates econometric approaches "best suited" for comparing performance across commerce media networks, because they give a unified, cross-channel view, while experiments are rarely practical for that job given ecosystem silos. It is also useful for long-term ROI validation and for deciding how much Amazon, Walmart or Instacart should get next quarter.
The limits are just as clear. IAB calls econometric methods backward looking and lacking granularity, often hurt by multicollinearity and weak for one-off campaigns or fast-changing trends. It also calls them too slow for short-term optimization of always-on campaigns. A model built on weekly network totals says little about which SKU, keyword or bid is working. Those calls sit with campaign data, closed-loop attribution and tests. Read the model as a guide to how much each network deserves, and keep product-level decisions inside each network's reporting, where ROAS and incremental sales are tracked per SKU.
Calibrating MMM with lift tests
A regression finds correlations, so its channel estimates need an outside check. Robyn strongly recommends calibrating MMM with experimental results treated as ground truth, people-based conversion lift or geo-based incrementality studies, and running those studies on an ongoing basis. Google now offers Meridian GeoX for running geo experiments that calibrate an MMM.
In retail media, the calibration inputs are network lift studies and holdout tests. IAB describes experiments as ground truth for benchmarking platform claims and econometric models as useful for macro-level benchmarking over longer cycles. The two methods work as a pair: a test proves what one network added in one window, and the model spreads that evidence across every channel and every week. Our incrementality testing and lift studies entries explain how those tests are designed, and the incrementality entry places MMM among the other measurement families.
Running MMM in-house or with a partner
Robyn's guide notes that a first study can run in-house or with a partner, and that the method of implementation changes how long each step takes. Those timings also shrink for refresh models, and Robyn's refresh function rebuilds the model as new data arrives, so MMM can become a monthly or even weekly reporting tool.
Open-source code makes the in-house route easier to start. Meridian is free, with fully visible code a team can modify, and Robyn is open-source code from Meta's Marketing Science team. Whichever route a brand picks, the data step decides the quality of the answer: inaccurate inputs produce inaccurate outputs. Our budget planning guide shows how model outputs feed an annual retail media plan.
Frequently asked questions
What is the difference between media mix modeling and multi-touch attribution?
Media mix modeling works on aggregated data, such as weekly spend and sales per channel, and covers online and offline activity together. Multi-touch attribution relies on user-level online signals and credits individual touchpoints. MMM therefore holds up under signal loss. IAB rates simple attribution as easy, fast and always-on, with weak causal rigor.
How much data does a media mix model need?
Robyn's guide asks for at least 2 years of weekly data, and more than 2 years (for example 4 to 5) if only monthly data exists. It also suggests about one input variable per 10 observations. Each input needs real variation over time, since a channel with flat spend gives the regression nothing to measure.
Can a small brand use media mix modeling?
Yes, if it has enough history and enough variation in spend. Free open-source tools such as Meridian and Robyn remove license costs. The binding limit is data: a brand with a few months of sales, or one network at constant spend, gets unstable estimates and should start with lift tests.
How often should a media mix model be refreshed?
Robyn's refresh function adds new data to the selected model, which lets MMM run as a regular report, monthly, weekly or even daily. A rebuild fits better when most of the data is new or when new variables join the model, such as a retail media network added to the plan mid-year.

















