Demo · Papilon scenario planner
Plan a media budget from a marketing mix model, without code
This is the scenario planner Papilon 1.1 writes for any fitted marketing mix model: one HTML file that plans budgets in your browser. Pick a goal (the best mix for a fixed budget, the most spend that keeps ROI above a target, or each channel up to a target marginal return), set how far each channel may move, and read every result with its 90% range and the chance it beats today's mix. The brand below is simulated, with spend and sales in $ thousands a week, so its true returns are known.
Simulated data: Papilon's make_synthetic_mmm() brand, four digital channels over 156 weeks. Open the planner full screen or download the file and open it offline.
Watch: the 73-second version
Video transcript
Google made MMM scenario planning no-code for Meridian on Feb 19, 2026. Papilon 1.1 does it in one HTML file, with no account and no server.
What it does: pick a goal: a fixed budget, grow while ROI holds, spend to a target marginal ROI, or build your own. Every result shows a 90% range and the chance it beats today's mix.
The test: to grade the planner, the test brand has a known true return for every channel. It spends $149,200 a week across four channels.
The result: the default protect-the-downside plan had a true gain of $3,760 a week, 69% of the best available, $5,430. Maximizing the expected outcome with loose limits: $1,130, 21%. Same model, same budget, 3.3 times the gain.
The promise: the model promised +$9,620 a week, with a 90% range of +$3,250 to +$15,990. The truth landed near the low end, which is why the default plans for the low end.
The caveat: grow while total ROI stays at 1.2 and spend rises 18.5%. The extra dollars return $0.85 by the model and $0.91 by the truth, below break-even. Watch marginal ROI.
Try it at vector1.ai/demos/papilon-planner/. Free and open source. Built in Kansas City.
Make one for your own data
In Papilon Studio, upload weekly spend and sales, fit the model, then click Open the scenario planner. Studio runs in your browser, so your file never leaves your computer.
Or from Python, with Papilon 1.1:
pip install --upgrade papilon
python -m papilon.planner \
--data sales.csv --target sales \
--date week --media search,social,video \
-o planner.html
What the numbers mean
Results are steady state: the sales media drives each week once spend has held at the planned level long enough for carryover to settle. They are incremental, not a forecast of total sales. The hatched part of each response curve is spend the brand has never sustained, where the curve is extrapolated. The method and a check against this brand's true returns are in the article.
Questions and answers
What is an MMM scenario planner?
A scenario planner turns a fitted marketing mix model into budget decisions: you set a goal and limits, and it finds the spend by channel and shows the sales it should drive. This one plans in your browser from the model's posterior response curves, so every result comes with a 90% range and the chance it beats your starting mix.
Do I need to write code?
No. Open the page and choose a goal. To make one for your own data, fit a model in Papilon Studio and click Open the scenario planner, or run one command: python -m papilon.planner --data sales.csv --target sales --date week --media search,social,video -o planner.html.
How is it different from Google's Meridian Scenario Planner?
Meridian's planner builds a Looker Studio report from a trained Meridian model stored in Google Drive or Cloud Storage, through a Colab notebook. Papilon's planner is one HTML file with no account, server or notebook, and its default fixed-budget plan protects the downside rather than maximizing the average.
Is the data on this page real?
No. The brand is simulated by Papilon's make_synthetic_mmm, three years of weekly spend and sales in $ thousands, so its true returns are known and the plans can be checked against them.