Class: Google::Apis::DisplayvideoV4::AdGroupInventoryControl

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_strategyString

The inventory strategy. Corresponds to the JSON property adGroupInventoryStrategy

Returns:

  • (String)


378
379
380
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 378

def ad_group_inventory_strategy
  @ad_group_inventory_strategy
end

#selected_inventoriesGoogle::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