class Google::Apis::DisplayvideoV1::InsertionOrderBudgetSegment

Settings that control the budget of a single budget segment.

Attributes

budget_amount_micros[RW]

Required. The budget amount the insertion order will spend for the given date_range. The amount is in micros. Must be greater than 0. For example, 500000000 represents 500 standard units of the currency. Corresponds to the JSON property `budgetAmountMicros` @return [Fixnum]

campaign_budget_id[RW]

The budget_id of the campaign budget that this insertion order budget segment is a part of. Corresponds to the JSON property `campaignBudgetId` @return [Fixnum]

date_range[RW]

A date range. Corresponds to the JSON property `dateRange` @return [Google::Apis::DisplayvideoV1::DateRange]

description[RW]

The budget segment description. It can be used to enter Purchase Order information for each budget segment and have that information printed on the invoices. Must be UTF-8 encoded with a length of no more than 80 characters. Corresponds to the JSON property `description` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 5208
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 5213
def update!(**args)
  @budget_amount_micros = args[:budget_amount_micros] if args.key?(:budget_amount_micros)
  @campaign_budget_id = args[:campaign_budget_id] if args.key?(:campaign_budget_id)
  @date_range = args[:date_range] if args.key?(:date_range)
  @description = args[:description] if args.key?(:description)
end