schema.processors.budget_optimization_processor.ChannelConstraintRel

A budget constraint on a channel.

Constraint attributes in this dataclass are relative ratios. Useful for user input spec.

channel_name The name of the channel.
spend_constraint_lower The spend constraint lower of a channel is the change in ratio w.r.t. the channel's historical spend. The absolute lower bound value is equal to (1 - spend_constraint_lower) * hist_channel_spend). The value must be between [0, 1].
spend_constraint_upper The spend constraint upper of a channel is the change in ratio w.r.t. the channel's historical spend. The absolute upper bound value is equal to (1 + spend_constraint_upper) * hist_channel_spend). The value must be non-negative.

Methods

__eq__

Return self==value.