MMM Reallocation Settings Table (BETA)
mmm_reallocation_settings_table
The MMM Reallocation Settings table stores budget scenario settings for a model run. One row per reallocation scenario. Scenario rows define the requested budget and default scenario.
Table GuideWhat You Can Answer With This Table
- What budget scenarios were run on a model? — use
reallocation_settings_name,reallocation_type,calculated_budget- How was a scenario's target budget requested? — use
req_budget_type,req_budget_value,init_budget- Which scenario is the default for a model? — use
is_defaultBefore You Query
- This table is not time-series, so no date filter is needed.
Key Relationships
Table Join Key Use This Join To MMM Reallocations reallocation_settings_idGet the per-group budget outputs produced by the scenario MMM Models model_idGet the model run the scenario was based on When to Use a Different Table
- Use MMM Reallocations when you need budget scenario results by modeled group. MMM Reallocation Settings stores the scenario-level configuration and total target budget.
Dimensions
Dimensions are immutable properties that can be used for grouping data.
| Title | ID | Type | Description |
|---|---|---|---|
| Scenario Created Date | created_at | timestamp | The time at which the reallocation scenario was written to the database. Formatted according to the ISO 8601 international standard. Example value: |
| Is Default | is_default | boolean | True if this is the default reallocation scenario for the model run. Possible values: |
| Model ID | model_id | string | The unique identifier of the model run the scenario was based on. Joins to MMM Models. Example value: |
| Reallocation Settings ID | reallocation_settings_id | string | The unique identifier of the reallocation scenario. Joins to MMM Reallocations for the per-group budget outputs. Example value: |
| Scenario Name | reallocation_settings_name | string | The display name of the reallocation scenario. Example values: |
| Reallocation Type | reallocation_type | string | Whether the scenario optimizes an allocation for a budget, or simulates results for a user-specified allocation. Possible values: |
| Requested Budget Type | req_budget_type | string | How Possible values: |
| Request Source | request_source | string | Where the reallocation request originated. 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 |
|---|---|---|---|
| Calculated Budget | calculated_budget | numeric | The resulting total budget used by the scenario after applying the requested change. By default shown in the shop's currency. |
| Initial Budget | init_budget | numeric | The starting total budget before the scenario's changes. By default shown in the shop's currency. |
| Requested Budget Value | req_budget_value | numeric | The requested budget change or target value, interpreted according to req_budget_type. |