Class: Google::Apis::DisplayvideoV1::InsertionOrderBudgetSegment
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::InsertionOrderBudgetSegment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb
Overview
Settings that control the budget of a single budget segment.
Instance Attribute Summary collapse
-
#budget_amount_micros ⇒ Fixnum
Required.
-
#campaign_budget_id ⇒ Fixnum
The ID of the campaign budget linked to this insertion order budget segment.
-
#date_range ⇒ Google::Apis::DisplayvideoV1::DateRange
A date range.
-
#description ⇒ String
The budget segment description.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InsertionOrderBudgetSegment
constructor
A new instance of InsertionOrderBudgetSegment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InsertionOrderBudgetSegment
Returns a new instance of InsertionOrderBudgetSegment.
4735 4736 4737 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4735 def initialize(**args) update!(**args) end |
Instance Attribute Details
#budget_amount_micros ⇒ Fixnum
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
4716 4717 4718 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4716 def budget_amount_micros @budget_amount_micros end |
#campaign_budget_id ⇒ Fixnum
The ID of the campaign budget linked to this insertion order budget segment.
Corresponds to the JSON property campaignBudgetId
4721 4722 4723 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4721 def campaign_budget_id @campaign_budget_id end |
#date_range ⇒ Google::Apis::DisplayvideoV1::DateRange
A date range.
Corresponds to the JSON property dateRange
4726 4727 4728 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4726 def date_range @date_range end |
#description ⇒ String
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
4733 4734 4735 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4733 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4740 4741 4742 4743 4744 4745 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 4740 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 |