Class: Google::Apis::DisplayvideoV2::ExchangeAssignedTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExchangeAssignedTargetingOptionDetails

Returns a new instance of ExchangeAssignedTargetingOptionDetails.



5296
5297
5298
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5296

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

Instance Attribute Details

#exchangeString

Required. The enum value for the exchange. Corresponds to the JSON property exchange

Returns:

  • (String)


5294
5295
5296
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5294

def exchange
  @exchange
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5301
5302
5303
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5301

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