Class: Google::Apis::DisplayvideoV3::SubExchangeAssignedTargetingOptionDetails

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

Details for assigned sub-exchange targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_SUB_EXCHANGE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SubExchangeAssignedTargetingOptionDetails

Returns a new instance of SubExchangeAssignedTargetingOptionDetails.



11468
11469
11470
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11468

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#targeting_option_idString

Required. The targeting_option_id of a TargetingOption of type TARGETING_TYPE_SUB_EXCHANGE. Corresponds to the JSON property targetingOptionId

Returns:

  • (String)


11466
11467
11468
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11466

def targeting_option_id
  @targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11473
11474
11475
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11473

def update!(**args)
  @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
end