removedInput schema / $defs
Removed value: -{
- "FlightingOptimizationInput": {
- "properties": {
- "channel_constraints": {
- "description": "Per-channel weekly spend floor/cap and pattern constraints",
- "items": {
- "$ref": "#/$defs/WeeklyFlightingConstraint"
- },
- "title": "Channel Constraints",
- "type": "array"
- },
- "margin_pct": {
- "default": 1,
- "description": "Revenue margin fraction for net-profit objective (revenue × margin − spend)",
- "maximum": 1,
- "minimum": 0,
- "title": "Margin Pct",
- "type": "number"
- },
- "model_id": {
- "description": "Approved MMM model ID to use for response estimation",
- "title": "Model Id",
- "type": "string"
- },
- "objective": {
- "default": "maximize_response",
- "description": "Optimization objective function",
- "enum": [
- "maximize_response",
- "maximize_net_profit",
- "target_roas"
- ],
- "title": "Objective",
- "type": "string"
- },
- "planning_weeks": {
- "default": 12,
- "description": "Planning horizon in weeks",
- "maximum": 52,
- "minimum": 2,
- "title": "Planning Weeks",
- "type": "integer"
- },
- "target_iroas_min": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Minimum acceptable posterior median iROAS across the planning period",
- "title": "Target Iroas Min"
- },
- "total_budget": {
- "description": "Total budget to allocate across all channels and weeks",
- "exclusiveMinimum": 0,
- "title": "Total Budget",
- "type": "number"
- }
- },
- "required": [
- "model_id",
- "total_budget"
- ],
- "title": "FlightingOptimizationInput",
- "type": "object"
- },
- "WeeklyFlightingConstraint": {
- "properties": {
- "channel": {
- "description": "Channel name this constraint applies to",
- "title": "Channel",
- "type": "string"
- },
- "max_weekly": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Maximum weekly spend cap",
- "title": "Max Weekly"
- },
- "min_weekly": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Minimum weekly spend floor",
- "title": "Min Weekly"
- },
- "pattern": {
- "default": "flat",
- "description": "Preferred spend pattern for this channel across the planning horizon",
- "enum": [
- "flat",
- "frontloaded",
- "backloaded",
- "pulsed"
- ],
- "title": "Pattern",
- "type": "string"
- }
- },
- "required": [
- "channel"
- ],
- "title": "WeeklyFlightingConstraint",
- "type": "object"
- }
-}
addedInput schema / additionalProperties
Added value: +false
removedInput schema / properties / config / $ref
Removed value: -"#/$defs/FlightingOptimizationInput"
addedInput schema / properties / config / properties
Added value: +{
+ "channel_constraints": {
+ "description": "Per-channel weekly spend floor/cap and pattern constraints",
+ "items": {
+ "properties": {
+ "channel": {
+ "description": "Channel name this constraint applies to",
+ "title": "Channel",
+ "type": "string"
+ },
+ "max_weekly": {
+ "default": null,
+ "description": "Maximum weekly spend cap",
+ "title": "Max Weekly",
+ "type": "number"
+ },
+ "min_weekly": {
+ "default": null,
+ "description": "Minimum weekly spend floor",
+ "title": "Min Weekly",
+ "type": "number"
+ },
+ "pattern": {
+ "default": "flat",
+ "description": "Preferred spend pattern for this channel across the planning horizon",
+ "enum": [
+ "flat",
+ "frontloaded",
+ "backloaded",
+ "pulsed"
+ ],
+ "title": "Pattern",
+ "type": "string"
+ }
+ },
+ "required": [
+ "channel"
+ ],
+ "title": "WeeklyFlightingConstraint",
+ "type": "object"
+ },
+ "title": "Channel Constraints",
+ "type": "array"
+ },
+ "financial": {
+ "default": null,
+ "description": "Canonical financial contract. When supplied, takes precedence over margin_pct.",
+ "type": "object"
+ },
+ "margin_pct": {
+ "default": 1,
+ "description": "Legacy revenue margin fraction (use financial.gross_margin_rate for new work)",
+ "maximum": 1,
+ "minimum": 0,
+ "title": "Margin Pct",
+ "type": "number"
+ },
+ "model_id": {
+ "description": "Approved MMM model ID to use for response estimation",
+ "title": "Model Id",
+ "type": "string"
+ },
+ "objective": {
+ "default": "maximize_response",
+ "description": "Optimization objective function",
+ "enum": [
+ "maximize_response",
+ "maximize_net_profit",
+ "target_roas"
+ ],
+ "title": "Objective",
+ "type": "string"
+ },
+ "planning_weeks": {
+ "default": 12,
+ "description": "Planning horizon in weeks",
+ "maximum": 52,
+ "minimum": 2,
+ "title": "Planning Weeks",
+ "type": "integer"
+ },
+ "target_iroas_min": {
+ "default": null,
+ "description": "Minimum acceptable posterior median iROAS across the planning period",
+ "title": "Target Iroas Min",
+ "type": "number"
+ },
+ "total_budget": {
+ "description": "Total budget to allocate across all channels and weeks",
+ "exclusiveMinimum": 0,
+ "title": "Total Budget",
+ "type": "number"
+ }
+}
addedInput schema / properties / config / required
Added value: +[
+ "model_id",
+ "total_budget"
+]
addedInput schema / properties / config / title
Added value: +"FlightingOptimizationInput"
addedInput schema / properties / config / type
Added value: +"object"