MMM data audit

Which Data Problems Distort a Marketing Mix Model

The input problems that skew an MMM before it is fitted, from missing weeks and invoice-dated spend to renamed campaigns and flat spend, with a test that finds each.

On this page

The common data issues that break MMM results, and the detection tests that catch them, sit upstream of the model: a week missing from the export, spend booked on the date the invoice arrived, a campaign renamed mid-year, a national TV buy inside a regional model, and a channel whose spend barely moves. Several of these get past the input checks that ship with Google's Meridian and Meta's Robyn, so the fit runs and the ROI table looks as confident as ever. The audit below draws on each tool's documentation and Robyn's validation code as they read on November 6, 2026. It runs before the first fit and pairs with the post-fit checks in how to validate a marketing mix model before you shift budget.

What counts as a data quality problem in MMM?

Data quality problems in marketing mix modeling (MMM) are any gap between the rows the model reads and what happened in market that week. The Robyn analyst guide from Meta states the stakes: "if inaccurate or poor quality data inputs are used in an MMM, it will produce inaccurate and poor quality data outputs." The December 2025 best-practice guide from the IAB names the usual suspects: "If your spend, dates, and campaign taxonomy aren't right, MMM recommendations will be flawed." A regression cannot tell a real dip in demand from a missing row, so the audit has to.

The pre-fit audit table

The table lists nine input problems, with a test you can run in a spreadsheet and what Meridian or Robyn flags without help.

Input problemEffect on the estimatesTest that detects itWhat the tools catch
Missing weeks (dropped rows)Carryover and seasonality land on the wrong weekDifference consecutive dates per geo; every step must equal 7 daysRobyn sets its interval from the first two dates only; Meridian stops on unevenly spaced dates
Blank KPI or control weeks filled with zeroA data gap reads as a demand collapseCount zeros in the KPI and controls in weeks the business tradedMeridian rejects every blank and Robyn blank media and controls, which pushes teams to fill them
Spend logged by invoice dateSpend lands in weeks with no deliveryWeekly cost per impression by channelMeridian's EDA flags mismatches and cost outliers as REVIEW
Renamed or remapped campaignsA channel goes dark for a stretch or double countsReconcile weekly channel totals to ad account totalsRobyn stops only if a channel is zero for the whole window
Mismatched geo grainA national buy is spread across geos and looks tidyRecord each channel's source grainMeridian errors on a variable that never varies across geos when knots equal time periods; its population check is INFO only
Flat or near-constant spendToo little movement to separate the channel from baselineCoefficient of variation per channelBoth stop only on zero variation
Rates and averages (CTR, CPC, ROAS)Rows cannot be summed across geo or timeEvery media and KPI column is a raw volumeMeridian's guide rules them out; we found no automatic check
Credits booked as negative spendThe run stops, or weeks get floored by handMinimum per channel is at least 0Both stop on negative spend
Week start differs across sourcesSpend and sales rows cover different windowsCheck the weekday of every date columnWe found no check in either tool

How missing data and geo aggregation distort adstock and seasonality

The marketing mix modeling data quality pitfalls that hurt adstock and seasonality most are missing data and loose geo aggregation, because both change which row sits next to which. Adstock carries part of each week's media into the following rows, and seasonality is fitted against position in the calendar, so both assume evenly spaced rows.

Meridian's API reference from Google says time coordinates "have no intrinsic meaning to the model other than the assumption that they represent some linearly increasing time coordinates." Robyn's date check, in the source file from Meta, computes the interval from the first two dates only, so a gap later in the series does not trip it. Meridian's input class, in the source file from Google, is stricter: it stops with "Time coordinates must be regularly spaced." when a date drops out of the series, and it rejects blank cells, so a missing week reaches a Meridian fit only after someone fills it.

Hypothetical worked example. Assume geometric adstock that keeps 50% of the prior week's effect, $100,000 of spend in week 22, nothing after, and week 23 missing from a Robyn input file. All figures are assumptions.

WeekSpendAdstock, complete seriesAdstock, week 23 dropped
22$100,000$100,000$100,000
23$0$50,000row missing
24$0$25,000$50,000
25$0$12,500$25,000

The week 24 row now sits directly after week 22 and receives twice its true carryover. Every later week inherits the shift, and the decay rate is fitted to a calendar one week short.

Zero-filled weeks do similar damage to seasonality. The data collection guide from Google says Meridian "requires a complete dataset without missing values to run properly" and tells teams to fill media with 0 when a channel was inactive. For the KPI and controls it says to "avoid filling them with 0 as this will skew your model's estimates", and suggests forward-filling, back-filling, interpolation or a historical mean. A holiday week logged as zero sales teaches the seasonal terms that the holiday is a trough. Our guide to MMM control variables covers what each control should carry.

Geo grain fails more quietly. The same guide recommends imputing nationally bought channels at the geo level, and the EDA guide from Google explains that spend lacking a time or geo dimension is allocated "in proportion to the media units", giving a constant cost per media unit, so "these specific data checks will always pass." A clean cost check on a national buy says nothing about the geo split. Record the grain each channel came from, and read the grain trade-offs for Meridian before mixing national and DMA data.

Invoice dates, renamed campaigns and week boundaries

The IAB guide asks advertisers to "Record spend based on when ads ran (flight/run dates)" and to log any invoice-to-run mapping, because "Correct timing prevents miscrediting and gives accurate carryover/lag estimates, especially for TV/CTV." Where a legacy system reports invoice dates only, it asks teams to "Document proxies and their likely direction of bias."

Invoice-dated spend leaves a signature: spend bunches into one week of each month while impressions spread across the flight, so weekly cost per impression swings hard. Meridian's EDA flags "zero spend with positive media units, or positive spend with zero media units" as REVIEW, and marks as outliers any cost per media unit more than 1.5 times the interquartile range below the first quartile or above the third. We found no equivalent cross-check in Robyn's checks file, so Robyn users should chart cost per impression themselves.

Renamed campaigns break the channel mapping, which usually runs on name rules. A rename that misses its rule moves spend into an "other" bucket or out of the file, and a name that matches two rules counts the same dollars twice; Meridian's guide notes that summing across campaigns "assumes that campaigns are mutually exclusive." Robyn's window check stops only when a channel "contains only 0 within training period", so a channel that goes dark for ten weeks after a rename passes. Reconcile mapped channel totals to the account total every week, and map on campaign IDs, which the IAB lists among the decision-driving fields with spend, date and KPI.

Week boundaries are the simplest fix. Robyn's guide says to "clarify up front what day the data starts on e.g. week commencing Sundays vs. Mondays." A Sunday-start platform export joined to a Monday-start sales file pairs windows a day apart, and a join on week labels can match the wrong weeks outright.

Flat spend and channels too small to read

Robyn's guide says "there needs to be some variation in the data", with the example of TV held constant while sales move. The code enforces only the extreme: Robyn stops on columns with no variance, and Meridian's EDA errors on a variable that does not vary across time and fails a KPI whose transformed standard deviation is below 1e-4. An always-on channel drifting a few percent a week passes all three and leaves its estimate leaning on the prior. We found no numeric minimum for media variation in either tool's documentation, so compare each channel's coefficient of variation and treat the flattest as your weakest reads. For small channels, the collect-data guide advises teams to "combine them with other channels to avoid issues with ROI estimation."

What the built-in diagnostics catch, and where incrementality takes over

Marketing mix modeling diagnostics for data quality catch the extreme cases and leave judgment calls to you. Meridian's EDA report sorts findings into FAIL, which blocks posterior sampling, REVIEW and INFO, and the guide says "Strict default thresholds are used for the FAIL status." Pairwise correlation fails at 0.999 and the variance inflation factor at 1000 by default; the guide's examples lower those to 0.95 and 50. Robyn stops on missing values, Inf values, zero variance and negative paid media, and warns below its default of 10 rows per independent variable, matching the guide's "1 independent variable : 10 observations."

None of these checks says whether the fitted ROI is causal. A clean audit removes bookkeeping reasons for an MMM and an experiment to disagree, and a holdout or lift test then shows whether the remaining estimate holds; what incrementality measures covers that side. Keep the audit as a versioned file, rerun it on every refresh, and follow the IAB's advice to "Note any gaps, imputed fields, or cohort fallbacks in a one-line data register." As further resources, our data and analytics team builds these pipelines, and the Attribution Doctor is a place to start if platform attribution is the input you trust least.

Sources

  • Google, Meridian guide "Collect and organize your data", last updated October 28, 2026
  • Google, Meridian guide "Perform an exploratory data analysis", last updated October 28, 2026
  • Google, Meridian API reference "TimeCoordinates", last updated September 24, 2026
  • Meta, Robyn documentation, "An Analyst's Guide to MMM"
  • Meta, Robyn source file checks.R, main branch, read November 6, 2026
  • Google, Meridian source file input_data.py, main branch, read November 6, 2026
  • IAB, "Modernizing MMM: Best Practices for Marketers", December 2025

Frequently asked questions

Can Meridian or Robyn detect a missing week on their own?
Meridian can and Robyn cannot. Meridian's input class stops when dates are not regularly spaced, while Robyn's date check sets the interval from the first two dates only, so a gap later in the series passes. Both reject blank media and control values, which pushes teams to fill gaps, sometimes with zeros. Before fitting, difference every consecutive date per geo and require each step to equal 7 days.
Should missing MMM data be filled with zeros?
Only for media. Meridian's data collection guide says to fill media with 0 when a channel was inactive in a period or geo, and to avoid zero-filling the KPI and control variables because it skews the estimates. For those it lists forward-filling, back-filling, linear interpolation or a historical mean for that geo or period. Record every imputed week in a data register.
How do you detect spend logged by invoice date?
Compute weekly cost per impression for each channel. Invoice-dated spend shows up as spend in weeks with no delivery, delivery in weeks with no spend, and cost spikes near month ends. Meridian's EDA flags the first two patterns, and cost outliers beyond 1.5 times the interquartile range, as REVIEW. Rebuild the series from flight dates and log any invoice-to-run mapping.
How much spend variation does a channel need for an MMM?
We found no numeric minimum in Meridian's or Robyn's documentation. Robyn stops on columns with zero variance and Meridian errors on variables that never change over time, but a channel moving a few percent each week passes both and still leaves little to learn from. Compare coefficients of variation across channels, then combine or re-flight the flattest ones.

Free tools for this topic

FREE TOOLAttribution DoctorA media-mix model that runs in your browser.FREE TOOLUTM Campaign BuilderClean tracking links your analytics will thank you for.PLAYBOOKThe First-Party Data PlaybookMeasurement that survives privacy — and gets sharper.

Keep reading

DataHow to Validate a Marketing Mix Model Before You Shift BudgetRead →DataHow to Choose MMM Control Variables for Seasonality, Price and PromotionsRead →DataNational, DMA or Store Level Data for Google MeridianRead →
CATALIST NEWSLETTER

Monthly dose of growth marketing.

Get marketing tips, narratives, guides, and playbooks delivered to your inbox.

Protected by reCAPTCHA — Google's Privacy Policy and Terms of Service apply.