Google built a marketing mix model and gave it away. The first reaction from most media buyers is suspicion: of course Google's model will tell you to spend more on Google.
That's the wrong worry. The code is open, the math is visible, and nothing in it knows which channel belongs to Google. The real risks are more boring and more expensive: thin data, wrong priors, and asking the model questions it can't answer.
This is a practical look at Meridian: what it's built to do well, what a project looks like, and where you should use something else.
What Meridian is
Meridian is Google's open-source marketing mix modeling (MMM) framework. Google made it available to everyone in January 2025. It's a Python library, licensed under Apache 2.0, and built on Bayesian methods. That means it combines your data with prior beliefs and reports every answer as a range.
If MMM is new to you, read MMM in plain English first. The short version: it explains weekly sales using spend per channel plus things like seasonality and promotions, and estimates what each channel added.
Why it matters for the business: a good MMM tells you how much of your revenue would happen without ads, which channels still have room to grow, and how to split next quarter's budget. Doing that with a vendor is expensive and often opaque. Meridian gives a capable team a strong, auditable version for free.
Two practical notes. The GitHub repo is a one-way mirror of Google's internal code, so it doesn't accept pull requests. And the project recommends a GPU for fitting, though it can run without one.
What Meridian is built to do well
Every MMM handles carryover and diminishing returns. Meridian's distinct strengths are elsewhere.
Geo-level modeling. Meridian encourages data by region rather than one national total. Its docs say geo-level models pool data across regions to increase the effective sample size. More rows, more variation, tighter answers.
Reach and frequency. Most MMMs only see impressions or spend. Meridian can take reach (how many people saw an ad) and frequency (how many times each saw it). Ten impressions could mean ten people once or one person ten times. For video and YouTube especially, that difference drives results.
ROI priors you can set from experiments. Meridian lets you set a prior belief about each channel's return on investment. Google calls it calibration when you set those priors from experiment results. This is how you connect a lift test to the model.
Search demand as a control. Meridian can use Google search query volume as a control variable, to help separate organic brand interest from the effect of ads.
Optimization and scenario planning. It produces response curves and a budget optimization report, and supports scenario planning so you can test "what if" splits.
A worked example: three decisions Meridian helps with
Say a home fitness brand sells in 50 US regions. It spends about $60k a week across Meta, YouTube, Google search and TikTok, and has two years of weekly data.
Decision 1: geo or national?
| Model type | Rows of data |
|---|---|
| National (1 total × 104 weeks) | 104 |
| Geo (50 regions × 104 weeks) | 5,200 |
A national model tries to learn four channels, seasonality, promos and a baseline from 104 points. That's thin. A geo model gets 50 times as many rows, plus the variation from regions that got different spend. Google's docs suggest at least two years of weekly data for geo models and three years for national ones. This brand has two years, so geo is the only realistic option.
Decision 2: set a YouTube prior from a test. Last spring, the brand ran a geo holdout on YouTube. It cut YouTube spend by half in test regions and compared sales with control regions. The result was an incremental ROAS of about 1.4x, with a standard error of about 0.3.
That becomes a prior: "YouTube ROI is probably around 1.4x, and quite likely between about 0.9x and 2.0x." Meridian's default ROI prior is a log-normal distribution, and it provides helpers to build one from experiment results.
Here's the effect, using illustrative model output:
| YouTube ROI | Median | 90% range |
|---|---|---|
| Default prior | 1.9x | 0.6x to 3.7x |
| Prior from geo test | 1.5x | 1.1x to 2.0x |
The range shrinks to something you can act on.
There's a catch Google's own docs flag. The MMM's ROI compares spend with zero spend. This test compared full spend with half spend. Those aren't the same question. Because of diminishing returns, the last half of spend usually returns less than the average across all of it. So a 1.4x result from a half-spend cut is, if anything, a cautious read of the average ROI. Treat calibration as judgment, not arithmetic.
Decision 3: how often should people see the YouTube ad? Because the brand fed in reach and frequency, the model can show returns by average weekly frequency.
| Avg weekly frequency | Illustrative YouTube ROI |
|---|---|
| 1.5 | 1.2x |
| 3.0 | 1.6x |
| 6.0 | 1.1x |
Too little frequency and people forget you. Too much and you're paying to annoy the same viewers. The sweet spot here is around three a week. A spend-only model can't see this at all. It would just say "YouTube returns X."
Put together, these three decisions might lead the brand to keep YouTube flat in budget but cap frequency and widen reach. That's a different action than "spend more" or "spend less."
Where Meridian isn't the right tool
You don't have the history. Two years of weekly geo data, or three years national, is a real bar. A brand under that bar will get wide, unstable answers. Do a readiness check before committing.
You don't have the team. Meridian is a library for data scientists. You need Python, an understanding of Bayesian diagnostics, and ideally GPU access. There's no dashboard you can hand to a media buyer on day one.
You need daily decisions. Like any MMM, Meridian works on weekly aggregates and refreshes slowly. It's a planning and validation tool, not a way to manage ad sets.
Brand search and coupon affiliates. These channels rise when demand rises. Any MMM, Meridian included, can mistake them for causes. Query volume as a control helps, but tests are still the better tool for these.
Tiny channels. A channel at a few percent of spend may have a real effect the model can't detect. Its range will stay wide no matter how good the model is.
Your data foundation is weak. Missing promo dates or inconsistent revenue definitions break Meridian the same way they break any model. Fix your marketing data foundation first.
You want to measure a test, not model a mix. Google has a separate tool, Meridian GeoX, for geo experiments, and it uses daily data rather than weekly. Don't confuse the two.
About that "Google bias" worry
It's fair to ask whether a Google-built model favors Google channels. Here's an honest answer.
The code is public. There's no line that treats a Google channel differently from Meta or TikTok. What can tilt the result is your inputs. If you set confident priors that favor one channel, the model leans that way. If your Google data is more detailed than your Meta data, for example reach and frequency for YouTube but only spend for Meta, the model has more to work with on one side.
So the fix isn't avoiding Meridian. It's applying the same rigor to every channel: comparable data, priors backed by evidence for each, and tests on the channels that matter most.
Meridian vs the other open-source options
The three widely used free MMMs overlap a lot.
- Meridian stands out for geo-level modeling, reach and frequency, and a clear path from experiments to ROI priors.
- PyMC-Marketing is a flexible Bayesian Python library with lift-test calibration, time-varying effects and customer lifetime value models.
- Robyn, from Meta, is an R package using ridge regression with automated tuning and experiment calibration.
If you have strong geo data and lots of video, Meridian is a natural choice. If you want maximum flexibility in model structure, PyMC-Marketing. If your team lives in R, Robyn. The bigger question is whether you have the data and people for any of them.
What to do Monday
- Check your history: two years of weekly spend and sales by region, or three years national. Count it honestly.
- Pull regional data from each platform and your store. Make sure region definitions match across sources.
- Ask for reach and frequency on your video channels if you can get it.
- Collect past experiments with their result, uncertainty, dates, and what the control group got: zero spend or reduced spend.
- Set priors with written reasons for each channel. Plot them before fitting.
- Hold back recent weeks and check the model predicts them.
- Plan a test for your widest-range channel. A geo holdout feeds straight back into Meridian as a prior.
An AI ad agent can use the same lessons in daily work: treat channel returns as ranges, weigh test evidence heavily, and watch frequency, not only spend.
Free, open and only as honest as your inputs
Go back to the skeptical media buyer. Meridian won't secretly push your budget toward Google. It will do exactly what your data and priors tell it to, in public code anyone can read.
That's the real trade. You get a serious model at no cost. In return, you own every assumption in it. Feed it clean geo data and real tests, and it will guide a large budget well. Feed it guesses, and it will hand them back with very convincing charts.
