Google Meridian is Google's open-source marketing mix model: a free Python library that estimates how much each marketing channel added to your sales, using Bayesian statistics on weekly data, ideally split by region. You run it yourself, and it gives you ROI and response curves per channel plus a recommended budget split, all with uncertainty ranges.
The software is free. The work is not. To get a model you can defend you need two to three years of clean weekly data, someone who knows Python and Bayesian modeling, and preferably a GPU. This guide covers how Meridian works, what you need, how to run it step by step, and when a managed tool or a partner is the better choice.
Where Meridian stands in November 2026
Google released Meridian to everyone in January 2025. Since then it has moved fast. These facts come from the Meridian changelog and Google's documentation:
- The current version is 2.2.1, released on 18 November 2026. The library is free under the Apache 2.0 licence.
- Version 2.0 (September 2026) made JAX the default backend instead of TensorFlow and added calibration with incrementality experiments, including results from Meridian GeoX.
- Meridian GeoX is Google's open-source library for geo experiments. You can use it on its own or to turn test results into priors for Meridian.
- The Meridian Scenario Planner is in open beta. It turns a trained model into an interactive report where you can try budget scenarios.
- Google also announced paid surfaces around it in 2026: Meridian Studio, an enterprise platform on Google Cloud with a user interface, and Meridian inside Google Analytics 360.
MMM takes historical spend and revenue data as inputs and returns channel contributions as outputs
How Meridian works
Like every marketing mix modeling approach, Meridian looks at aggregated data over time. It doesn't track users. It compares weeks and regions with more and less spend per channel and estimates how much of your sales each channel explains, on top of a baseline of sales you would have had anyway.
A few things make Meridian different from a simple regression.
It is Bayesian. You start with priors: what you believe about each channel's ROI before the model sees your data. The model combines those priors with the data and returns a posterior, a range of likely values. That is why every output comes with a credible interval. If you want to understand the difference with other methods, read Bayesian vs frequentist MMM.
It models carryover and saturation. Advertising keeps working for a while after you stop spending (adstock), and every extra euro or dollar in a channel returns a bit less than the one before (a Hill curve). Meridian estimates both per channel. You set how many weeks of carryover the model may consider with max_lag.
It works at geo level. Instead of one national time series, Meridian can use data per region and shares information between regions in a hierarchical model. More regions times more weeks means more data points, which gives tighter estimates. National models are possible, but Google's own documentation warns that they easily have too little data.
It can use reach and frequency. For YouTube and other video you can give the model reach and frequency instead of only impressions. Then it can tell you whether more people or more contacts per person would work better.
It can control for organic demand. Paid search looks great in most models because people who search for your brand were going to buy anyway. Meridian can use Google Query Volume (how many people searched for your brand and category) as a control, so search doesn't get credit for demand it didn't create.
Calibrating Meridian with experiments
This is where Meridian is strongest, and where most of the judgment goes.
Meridian's default priors are only moderately informative. With noisy data, a model can decide that a small channel drove a huge amount of revenue. Google's documentation calls calibrated priors a guardrail against that. The best source for a prior is an incrementality test: a holdout or geo experiment on that channel.
Meridian has a CalibrationBuilder that turns experiment results into ROI priors, with a direct link to GeoX. Google is honest about the limits in its calibration guide: there is no single formula to go from an experiment to a prior, and an experiment measures ROI under its own conditions (time window, regions, campaign settings), which is not the same as the ROI the MMM estimates over two years. So a test result adds information, with extra uncertainty on top of the test's own error margin.
My advice: start with experiments on your biggest channels, because a wrong estimate costs you the most there. Use the iROAS calculator to read the test result, and keep its range when you turn it into a prior. A prior that is too tight on one six-week test forces the model to repeat that test, whatever the rest of your data says.
What you need before you start
Data
Meridian expects one table with data per week (or day) and, ideally, per region:
| Data | What it is | Required |
|---|---|---|
| KPI | What you want to explain, such as revenue, orders or app installs | Yes |
| Media exposure | Impressions, clicks or spend per channel | Yes |
| Media spend | Spend per channel, same dimensions as the media data | Yes |
| Control variables | Things that drive both sales and spend, such as seasonality, promotions, prices, brand search volume | Strongly advised |
| Revenue per KPI | Average value of one KPI unit, if your KPI is not revenue | Only for non-revenue KPIs |
| Geo population | Population per region, to put regions on the same scale | For geo models |
| Reach and frequency | Unique reach and average frequency per channel | Optional |
The data collection guide has the full specification. If you advertise on Google, you can request Google Ads and Display & Video 360 data, YouTube reach and frequency and Google Query Volume through Google's MMM Data Platform. Google says access details follow within three business days.
How much data is enough has no fixed answer, but Google's guide on the amount of data gives a clear example. A national model with 12 channels, 6 controls and 8 knots has 26 parameters. Two years of weekly data gives 104 data points, four per parameter, which is too few. The fix is fewer channels (group the small ones), fewer controls that aren't real confounders, more years of data, or data per region.
Our free MMM data template has the weekly layout and a data dictionary, so you can check whether you have enough before anyone writes code.
Skills
Someone needs to be comfortable with Python and pandas, understand priors and posterior distributions, and be able to read convergence diagnostics. Just as important: someone who knows the business well enough to say "that number can't be right" when the model claims TV drove half of all sales. In most companies these are two different people, and the model only works if they talk.
Compute
Meridian samples the posterior with MCMC (the No-U-Turn Sampler), which is heavy. Google's install guide asks for Python 3.11 or 3.12 and recommends at least one GPU. It runs on a CPU and on a Mac too (no official GPU support on macOS), just slower. Google Colab with a GPU runtime is the easiest way to start.
How to run Meridian, step by step
-
Prepare the data. Build the weekly table described above, check for gaps and spikes, and do an exploratory analysis. Meridian has an EDA package that flags problems such as too little data per parameter.
-
Install Meridian.
pip install google-meridianon a CPU or Mac, orpip install 'google-meridian[and-cuda]'on Linux with an NVIDIA GPU. The Getting started Colab runs a full example on sample data, which is the fastest way to see the whole flow. -
Load your data. Meridian has input data builders that read a pandas DataFrame or CSV and map your columns to KPI, media, spend and controls.
-
Configure the model. In the
ModelSpecyou choose priors (ROI priors per channel are the most intuitive), the maximum carryover in weeks, how the baseline varies over time (knots) and the adstock decay. This is the step where business knowledge goes in. -
Sample the prior and the posterior.
mmm = model.Meridian(
input_data=data, model_spec=spec)
mmm.sample_prior(500)
mmm.sample_posterior(
n_chains=7, n_adapt=1000,
n_burnin=500, n_keep=1000)
-
Run the health checks. Meridian's model health checks give each check a PASS, REVIEW or FAIL: convergence (R-hat close to 1), a negative baseline, posterior predictive checks, goodness of fit, how far each ROI moved from its prior and whether the ROI values are plausible. Don't read any results before convergence passes.
-
Read the results. ROI and marginal ROI per channel, contribution over time, response curves and the baseline. Our guide on how to read MMM output explains what each chart means and what to push back on.
-
Optimize the budget. The budget optimizer recommends a split for a fixed budget, or the best budget for a target ROI. Set limits per channel that stay close to what you have actually spent, because the model knows nothing about spend levels it has never seen. The Scenario Planner puts this in an interactive report for people who don't use Python.
-
Refresh and validate. Rerun the model when new data comes in, and run a new experiment when the model and your experience disagree about a channel.
What Meridian really costs
The library is free and Google doesn't see your data. According to the Meridian FAQ, the only data Google can see is what you request through its MMM Data Platform.
The real costs are elsewhere. A data scientist's time for the first model, usually several weeks including data preparation and arguing about priors. Time for every refresh. GPU time in Colab or on a cloud platform. And the work of explaining the results to the people who have to move budget based on them.
Meridian Studio and Meridian in Google Analytics 360 are Google's answer for teams that want less code. When I checked in November 2026, Google didn't publish a price for Studio, and GA360 is a paid Google Analytics edition.
Meridian vs Robyn in short
| Google Meridian | Meta Robyn | |
|---|---|---|
| Method | Bayesian, hierarchical geo model | Ridge regression with hyperparameter search |
| Language | Python | R, Python version in beta |
| Uncertainty | Credible intervals for every estimate | Several candidate models to choose from |
| Development | Active (2.2.1 in November 2026) | Last release 3.12.1 on CRAN, July 2025 |
For a team starting today, Meridian is the safer open-source choice because it is actively maintained. Robyn still makes sense if you already run it and it works. The full comparison is in Google Meridian vs Meta Robyn.
Limits to keep in mind
Meridian is designed for causal inference, but it still learns from history. If two channels always went up and down together, it can't separate them, however good the priors are. Channels with flat spend give wide intervals.
Priors steer results. That is the point of a Bayesian model, but it also means two analysts with the same data can get different answers. Write down every prior and where it came from.
Meridian is built by Google and can use Google data that other channels don't have, such as search volume and YouTube reach and frequency. The code is open, so you can check that it treats channels the same way. Calibrating Meta, TikTok and other non-Google channels with your own experiments is the best way to keep the comparison fair.
And a model describes the past. A budget recommendation assumes the future looks like the period you modeled. Test big shifts before you make them for good.
When a managed tool or partner makes more sense
Meridian is a good choice if you have a data scientist who wants to own measurement and you spend enough across several channels to need it. If you don't have that person, hiring one costs more than most managed MMM platforms. In that case compare the marketing mix modeling software that builds and refreshes the model for you, or work with one of Google's certified Meridian partners. Pick a partner who leaves the model and code with you.
If your budget is small or sits mostly in one or two channels, MMM is often too early. A few incrementality tests will teach you more. The business case for MMM helps you decide whether it is worth it yet.