scenarioplanner.converters.mmm.BudgetOptimizationSpec

A wrapper for BudgetOptimizationSpec proto with derived properties.

channel_constraints Returns a list of ChannelConstraints.

If the underlying spec proto has no channel constraints, then it is implied that this spec's maximum budget is applied to them. Returns an empty list in this case, and it is up to the caller to handle.

date_interval Returns the spec's date interval.
date_interval_tag

is_fixed_scenario

max_budget Returns the maximum budget for this spec.

Max budget is the total budget for a fixed scenario spec, or the max budget upper bound for a flexible scenario spec.

objective

budget_optimization_spec_proto Dataclass field

Methods

__eq__

Return self==value.