Join the newly launched
Discord community for real-time discussions, peer support, and direct interaction with the Meridian team!
schema.processors.budget_optimization_processor.ChannelConstraintRel
Stay organized with collections
Save and categorize content based on your preferences.
A budget constraint on a channel.
schema.processors.budget_optimization_processor.ChannelConstraintRel(
channel_name: str,
spend_constraint_lower: float,
spend_constraint_upper: float
)
Constraint attributes in this dataclass are relative ratios. Useful for user
input spec.
Attributes |
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__
__eq__(
other
)
Return self==value.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-09 UTC."],[],[]]