class Google::Apis::DisplayvideoV1::InsertionOrderBudget

Settings that control how insertion order budget is allocated.

Attributes

automation_type[RW]

The type of automation used to manage bid and budget for the insertion order. If this field is unspecified in creation, the value defaults to ` INSERTION_ORDER_AUTOMATION_TYPE_NONE`. Corresponds to the JSON property `automationType` @return [String]

budget_segments[RW]

Required. The list of budget segments. Use a budget segment to specify a specific budget for a given period of time an insertion order is running. Corresponds to the JSON property `budgetSegments` @return [Array<Google::Apis::DisplayvideoV1::InsertionOrderBudgetSegment>]

budget_unit[RW]

Required. Immutable. The budget unit specifies whether the budget is currency based or impression based. Corresponds to the JSON property `budgetUnit` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 5167
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 5172
def update!(**args)
  @automation_type = args[:automation_type] if args.key?(:automation_type)
  @budget_segments = args[:budget_segments] if args.key?(:budget_segments)
  @budget_unit = args[:budget_unit] if args.key?(:budget_unit)
end