MMM Attributions Table (BETA)
mmm_attributions_table
The MMM Attributions table tracks predicted KPI contribution by modeled group over time. One row per model run per date per group per set type. Rows split the model prediction by group.
Table GuideWhat You Can Answer With This Table
- How much KPI did the model attribute to each modeled group over time? — use
date,group_name,kpi- How did attributed KPI compare with paid spend by modeled group? — use
group_name,spend,kpi- How did non-paid controller inputs contribute? — use
group_name,controller_value,kpiBefore You Query
- This table uses
date, notevent_date, for time-based queries.- For multiplatform models, the data is broken out by sales platform: each date and set type has one row per sales platform plus an additional
_allrow that aggregates across all of them.- For multiplatform models, always filter
platform=_allwhen readingspendor ROAS. Per-platform rows havespend=0, and the_allrow already holds the channel totalkpi(the sum across platforms), so summing_allplus every per-platform row double-countskpi.Key Relationships
Table Join Key Use This Join To MMM Models model_idGet the configuration and accuracy scores for the model run MMM Marginal Lifts model_id,group_idAdd each modeled group's marginal return alongside its attributed contribution MMM Campaign Groups model_id,group_idSee which campaigns make up the modeled group and map it back to Custom Categories When to Use a Different Table
- Use MMM Predictions when you need total predicted and actual KPI across all modeled groups. MMM Attributions breaks the model prediction down by group.
- Use MMM Marginal Lifts when you need each modeled group's marginal return on the next spend increment. MMM Attributions stores total attributed contribution by group.
Dimensions
Dimensions are immutable properties that can be used for grouping data.
| Title | ID | Type | Description |
|---|---|---|---|
| Attribution Created Date | created_at | timestamp | The time at which the attribution row was written to the database. Formatted according to the ISO 8601 international standard. Example value: |
| Date | date | date | The date the attribution applies to, at the model's Example value: |
| Group ID | group_id | string | The unique identifier of the modeled group. When MMM uses Custom Categories, this corresponds to the subcategory ID used for model grouping. Joins to MMM Campaign Groups to see the underlying campaigns. Example value: |
| Group Name | group_name | string | The display name of the modeled group. When MMM uses Custom Categories, this is the subcategory name. Example values: |
| Model ID | model_id | string | The unique identifier of the model run that produced the attribution. Joins to MMM Models. Example value: |
| Platform | platform | string | The sales platform associated with the attribution. Example values: |
| Set Type | set_type | string | The dataset split the row belongs to: training data (in-sample) or test data (out-of-sample, held-out). Possible values: |
| Settings ID | settings_id | string | The unique identifier of the model configuration. All runs of the same model share one Example value: |
Measures
Measures are numeric fields that can be aggregated and/or combined to calculate new metrics.
| Title | ID | Type | Description |
|---|---|---|---|
| Controller Value | controller_value | numeric | For non-paid (controller) channels, the driver's input value, such as email count or discount percentage. 0 for paid media channels. |
| Attributed KPI | kpi | numeric | The KPI value the model attributes to the modeled group for the date. |
| Attributed KPI Lower Bound | lower_ci | numeric | The lower bound of the attribution's confidence interval (85% HDI). NULL when no interval value is available. |
| Spend | spend | numeric | The paid media spend for the modeled group on the date. 0 for non-paid (controller) channels. By default shown in the shop's currency. |
| Attributed KPI Upper Bound | upper_ci | numeric | The upper bound of the attribution's confidence interval (85% HDI). NULL when no interval value is available. |