What it looks like
| Goes in | Comes out |
|---|---|
| Two years of weekly sales and weekly spend for search ads, social ads, email and trade shows. | An estimate of each channel's contribution to sales and its return on spend, with ranges, plus a suggested budget split. |
Illustrative example.
How to test AI on this job before you buy
- Hold back the last 8 weeks of data. Build the model on everything before.
- Ask the model to predict those 8 weeks and compare with what happened.
- Run a real experiment, such as switching off one channel in one region for a month, and see if sales move as the model said.
- Re-run the model with slightly different settings. If the channel ranking flips, the answer is not stable enough to act on.
- Check that it reports a range, not a single number.
Buy or build
Buy: Buy a service when you want results fast and have no analyst. Insist on seeing the method and the ranges.
Build: Build with a free open-source package when you have an analyst and want to see and own every assumption.
What goes wrong
- The model finds patterns, not proof. Two channels that always move together cannot be told apart.
- Seasonality, price changes and promotions can look like marketing effects if you leave them out.
- Treat a model as a guide for experiments, not a replacement for them.
Useful resources
- Google Meridian: An Apache 2.0 licensed marketing mix modeling framework that lets advertisers run models in-house.
- Meta Robyn: An MIT licensed, open-source marketing mix modeling package from Meta Marketing Science.
- PyMC-Marketing: An Apache 2.0 licensed Bayesian toolkit for marketing mix models and customer lifetime value.
Sources
| Source | What it says |
|---|---|
| Google Meridian README | Defines marketing mix modeling as a statistical technique that measures the impact of marketing using aggregated data, and says it uses no cookie or user-level information. |
| Meta Robyn README | Describes Robyn as an open-source marketing mix modeling package from Meta Marketing Science. |
Related: Marketing mix modeling: which ad spend drives sales ยท AI SDR: what an AI sales rep does and how to test one