# scenarioplanner.converters.dataframe.budget_opt_converters.BudgetOptimizationSpecsConverter

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/google/meridian/blob/v2.2.2/scenarioplanner/converters/dataframe/budget_opt_converters.py#L116-L242) |

Outputs a table of budget optimization specs.

Inherits From: [`Converter`](https://developers.google.com/meridian/reference/api/scenarioplanner/converters/dataframe/converter/Converter.md.txt)

```python
scenarioplanner.converters.dataframe.budget_opt_converters.BudgetOptimizationSpecsConverter(
    mmm_wrapper: `scenarioplanner.converters.mmm.Mmm`
)
```

When called, this converter returns a data frame with the columns:

- "Group ID" A UUID generated for an incremental outcome grid present in the output.
- "Date Interval Start"
- "Date Interval End"
- "Analysis Period"
- "Objective"
- "Scenario Type"
- "Initial Channel Spend"
- "Target Metric Constraint" None if scenario type is "Fixed"
- "Target Metric Value" None if scenario type is "Fixed"
- "Channel"
- "Channel Spend Min"
- "Channel Spend Max"

## Methods

### `__call__`

[View source](https://github.com/google/meridian/blob/v2.2.2/scenarioplanner/converters/dataframe/budget_opt_converters.py#L45-L58)

```python
__call__() -> Iterator[tuple[str, pd.DataFrame]]
```

Call self as a function.