Class: Google::Apis::DisplayvideoV3::AdGroupInventoryControl
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::AdGroupInventoryControl
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/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::DisplayvideoV3::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.
341 342 343 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 341 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_group_inventory_strategy ⇒ String
The inventory strategy.
Corresponds to the JSON property adGroupInventoryStrategy
334 335 336 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 334 def ad_group_inventory_strategy @ad_group_inventory_strategy end |
#selected_inventories ⇒ Google::Apis::DisplayvideoV3::SelectedInventories
The inventory control of the ad group.
Corresponds to the JSON property selectedInventories
339 340 341 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 339 def selected_inventories @selected_inventories end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
346 347 348 349 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 346 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 |