> ## Documentation Index
> Fetch the complete documentation index at: https://help.airbridge.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Model Configuration

<Danger>
  This webpage is exclusively for selected customers and should not be shared with others.
</Danger>

<Info>
  **Demo data**

  The MMM Studio offers a readily available set of demo data that can be used for a quick marketing mix modeling experience. Navigate to **\[Model Configuration]**, click **Create a new model**, and select **Data Hub (demo)** as data hub.
</Info>

Create, train, and manage your marketing mix models on the **\[Model Configuration]** page. From the models that completed training, you can select a model to create a report view on the **\[Performance Tracker]** and the **\[Budget Optimizer]** page.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-model-empty-state-create.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=58526c955f8738995183a8e5fa8862ee" alt="01-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-model-empty-state-create.png" />
</Frame>

## Creating Marketing Mix Models

<Danger>
  **Have you prepared your data?**

  The first step of marketing mix modeling is data preparation. Make sure you prepare your data in the required file format and store it in the data hub on the **\[Data Connector]** page. For more details, refer to this [article](/en/guides/mmm-studio-data-preparation).

  If you don’t have the data at hand and want to try out the modeling, click **Create a new model** and select **Data Hub (demo)** as the data hub to use the demo data for modeling.
</Danger>

1. Select **\[Model Configuration]** from the left menu bar and click **Create a new model**.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-model-page-create-button.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=d737b333344c9e68ab37b1e8ff6368b8" alt="02-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-model-page-create-button.png" />
</Frame>

2. Select the data hub from which you want to use the data for marketing mix modeling.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-data-hub-selection.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=a5b3eed6a38bf8029e4a90b5c2480879" alt="03-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-data-hub-selection.png" />
</Frame>

The analysis target data, marketing activity data, and context variable data must be already stored in the data hub to proceed. Refer to this **article** to learn how to prepare and store your data in the data hub.

<Accordion title="Data sets required for marketing mix modeling">
  The following data sets must be prepared to perform marketing mix modeling.

  | <span style={{ display: 'inline-block', minWidth: '120px' }}>Data Set</span> | Description                                                                                                                                                                                 |
  | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Analysis Target                                                              | The business outcome or the conversion that represents the success of your marketing activities. It can be anything from installs and subscriptions to revenue, etc.                        |
  | Marketing Activity                                                           | The data of your marketing activities. Either impression, click, or cost data can be used.                                                                                                  |
  | Context Variables                                                            | The external variables that affect the analysis target other than your marketing activities. It can be anything from app ranking in app stores to the number of views on social media, etc. |
</Accordion>

3. Enter the model name. The model name has to be unique.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-model-name-input.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=fa45c7f4d1ecbf5213d8f060ffd4db39" alt="04-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-model-name-input.png" />
</Frame>

4. Enter the analysis target name. The name must be less than 32 characters. Then, select the analysis target metric from the metrics saved in your selected data hub. Click **Add a filter** to specify the metric. Multiple filters and filter values can be added.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-analysis-target-settings.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=b89bbe0e0d9edfb15e3d461e82c922e2" alt="05-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-analysis-target-settings.png" />
</Frame>

Refer to the use cases below to understand how to use filters when configuring the analysis target metric.

<AccordionGroup>
  <Accordion title="Use case 1: Configuring the analysis target as the in-app purchase amount of your iOS app generated in the US">
    To configure the analysis target as the in-app purchase amount of your iOS app generated in the US, follow the steps below:

    1. Select **Revenue** as the analysis target metric.
    2. Add a filter, select **Platform**, and select **iOS** as the platform.
    3. Add another filter, select **Country**, and select **US** as the country code.
  </Accordion>

  <Accordion title="Use case 2: Configuring the analysis target as the app install generated through user acquisition campaigns">
    To configure the analysis target as the app install generated through user acquisition campaigns, follow the steps below:

    1. Select **Installs** as the analysis target metric.
    2. Add a filter, select **Custom 1**, and select **UA**.
  </Accordion>
</AccordionGroup>

5. Select the analysis target metric type. The model's training approach depends on the chosen metric type.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-analysis-target-metric-type.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=76f610c3b61ccff966b4a5279f26a770" alt="06-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-analysis-target-metric-type.png" />
</Frame>

Below are the analysis target metric types supported by the MMM Studio.

<Accordion title="Analysis target metric types supported">
  The model's training approach depends on the chosen metric type. Select the metric type that best suits your analysis needs.

  | Analysis target metric type | Description                                         |
  | --------------------------- | --------------------------------------------------- |
  | Installs                    | Number of installs attributed to marketing activity |
  | Revenue                     | Revenue attributed to marketing activity            |
  | Other events                | Number of events other than app installs            |
  | Other value                 | Event values other than revenue                     |
</Accordion>

6. Click **Add a marketing activity**. At least 3 marketing activities must be added.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-marketing-activity-add-button.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=108bd1d1cd9037422ae5bb254f5e6c09" alt="07-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-marketing-activity-add-button.png" />
</Frame>

7. Enter the marketing activity name. The name must be less than 32 characters. Then, Select the marketing activity metric from the metrics saved in your selected data hub. Click **Add a filter** to specify the metric. Multiple filters and filter values can be added.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-marketing-activity-add.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=38c0b0499d550a9ff22bd53225c98ab2" alt="08-en-modelconfiguration (2)" width="1400" height="800" data-path="asset/image/mmm-marketing-activity-add.png" />
</Frame>

In the \[Performance Tracker] and the \[Budget Optimizer], you can select the marketing activities you added for model configuration as GroupBys.

Once a marketing activity is added, you can see the settings by clicking the \[arrow] icon on the left of the marketing activity name. You can see details, make edits, or delete the marketing activities by clicking the respective buttons.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-marketing-activity-details.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=30eb44ae3f6ec65ab6a6fec573f75429" alt="09-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-marketing-activity-details.png" />
</Frame>

8. Configuring the context variable is optional. The process of configuring the context variable is the same as configuring the marketing activities.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-context-variable-section.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=23e6c5eb4bcf4b4bdbfb360822a96d3b" alt="10-en-modelconfiguration" width="1413" height="807" data-path="asset/image/mmm-context-variable-section.png" />
</Frame>

9. To increase the accuracy of the model, you can make additional configurations where you can add other variables such as seasonality. This configuration is optional and will be made available soon.

Once you are done with the configurations, click **Next**.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-model-additional-settings.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=1f12ff383350cc982ecf0466f8c0bd0f" alt="11-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-model-additional-settings.png" />
</Frame>

10. On the **Model Summary** page, you can review the configurations made for your model.  Click **Start training** if everything is in order. A notification box that appears at the bottom will let you know the estimated time it will take to train the model. If the **Training Status** of the model won't change to **Success** even after the estimated time has passed, click the **\[refresh]** icon on the upper right.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-model-start-training.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=df02abe6524a7c19cc7a495ee0e806f1" alt="12-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-model-start-training.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/KkeDnPeYZWlfx2Pz/asset/image/mmm-model-training-progress.png?fit=max&auto=format&n=KkeDnPeYZWlfx2Pz&q=85&s=a0d32163340874b9bb933b64a5ed5e3b" alt="13-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-model-training-progress.png" />
</Frame>

## Making Use of the Marketing Mix Models

Models that completed training can be used for different purposes. The following table shows the options you can select from the \[Action] feature.

| Action              | Description                                                                                                                     |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Performance Tracker | You can move to the **\[Performance Tracker]** page and view the marketing performance analysis results using the model.        |
| Budget Optimizer    | You can move to the **\[Budget Optimizer]** page and view the budget allocation plan recommended by the model.                  |
| Simulator           | You can move to the **\[Simulator]** page and view the minimum budget recommended by the model to reach the set marketing goal. |
| View details        | You can view the detailed information on the model.                                                                             |

## Marketing Mix Model Management

### Training status

The **Training Status** column shows the status of your model. The marketing mix model can't be used for creating reports until the training is complete.

<Accordion title="Training status">
  | <span style={{ display: 'inline-block', minWidth: '120px' }}>Status</span> | Description                                                                                                                                           |
  | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Success                                                                    | The marketing mix model has been successfully trained.                                                                                                |
  | Waiting                                                                    | The marketing mix model is waiting to be trained.<br />The marketing mix model can't be used for creating reports until the training is complete.     |
  | In progress                                                                | The marketing mix model is under training.<br />The marketing mix model can't be used for creating reports until the training is complete.            |
  | Failed                                                                     | The marketing mix model training has failed.<br />Create a new model or use a new connection in the data hub to add data to update an existing model. |
</Accordion>

Refresh the page if the training status won't change after the expected training completion time. If the status is not updated or the training status shows "Failed," contact the MMM Studio team ([dl\_mmm@ab180.co](mailto:dl_mmm@ab180.co)).

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/KkeDnPeYZWlfx2Pz/asset/image/mmm-model-training-failed.png?fit=max&auto=format&n=KkeDnPeYZWlfx2Pz&q=85&s=2fc5732fd8483f7fd4f8ecc475c691ce" alt="14-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-model-training-failed.png" />
</Frame>

### Update analysis

If you want to update the model with the most recent training results, click **Update** in the **Update Analysis** column.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/KkeDnPeYZWlfx2Pz/asset/image/mmm-model-update-analysis.png?fit=max&auto=format&n=KkeDnPeYZWlfx2Pz&q=85&s=f08c99ab9212b1af1493560d5242aa2c" alt="15-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-model-update-analysis.png" />
</Frame>

Configure the date range of the additional data you want to use to train your model.

* Auto-configuration: The date range is automatically configured for training, which is from the last date of existing analysis results to the most recent date of the added data
* Manual configuration: You can specify the date range for the training.

When you have configured the date range, click **Update** to start the training.

<Frame>
  <img src="https://mintcdn.com/airbridge-help-center/XxEJLMtucUoRlj0k/asset/image/mmm-analysis-date-range.png?fit=max&auto=format&n=XxEJLMtucUoRlj0k&q=85&s=e5323238912cd90a55cf1f006875990e" alt="16-en-modelconfiguration" width="1400" height="800" data-path="asset/image/mmm-analysis-date-range.png" />
</Frame>

<link rel="alternate" hrefLang="en" href="https://help.airbridge.io/en/guides/mmm-studio-creating-model" />

<link rel="alternate" hrefLang="ko" href="https://help.airbridge.io/ko/guides/mmm-studio-creating-model" />
