Class: Google::Apis::DisplayvideoV4::AdGroupInventoryControl
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::AdGroupInventoryControl
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb
Overview
The inventory control of the ad group.
Instance Attribute Summary collapse
-
#ad_group_inventory_strategy ⇒ String
The inventory strategy.
-
#selected_inventories ⇒ Google::Apis::DisplayvideoV4::SelectedInventories
The inventory control of the ad group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdGroupInventoryControl
constructor
A new instance of AdGroupInventoryControl.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdGroupInventoryControl
Returns a new instance of AdGroupInventoryControl.
385 386 387 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_group_inventory_strategy ⇒ String
The inventory strategy.
Corresponds to the JSON property adGroupInventoryStrategy
378 379 380 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 378 def ad_group_inventory_strategy @ad_group_inventory_strategy end |
#selected_inventories ⇒ Google::Apis::DisplayvideoV4::SelectedInventories
The inventory control of the ad group.
Corresponds to the JSON property selectedInventories
383 384 385 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 383 def selected_inventories @selected_inventories end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
390 391 392 393 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 390 def update!(**args) @ad_group_inventory_strategy = args[:ad_group_inventory_strategy] if args.key?(:ad_group_inventory_strategy) @selected_inventories = args[:selected_inventories] if args.key?(:selected_inventories) end |