Class: Google::Apis::DisplayvideoV1::AudioContentTypeAssignedTargetingOptionDetails

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

Overview

Details for audio content type assigned targeting option. This will be populated in the audio_content_type_details field when targeting_type is TARGETING_TYPE_AUDIO_CONTENT_TYPE. Explicitly targeting all options is not supported. Remove all audio content type targeting options to achieve this effect.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AudioContentTypeAssignedTargetingOptionDetails

Returns a new instance of AudioContentTypeAssignedTargetingOptionDetails.



1216
1217
1218
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1216

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

Instance Attribute Details

#audio_content_typeString

Required. The audio content type. Corresponds to the JSON property audioContentType

Returns:

  • (String)


1208
1209
1210
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1208

def audio_content_type
  @audio_content_type
end

#targeting_option_idString

Required. The targeting_option_id field when targeting_type is TARGETING_TYPE_AUDIO_CONTENT_TYPE. Corresponds to the JSON property targetingOptionId

Returns:

  • (String)


1214
1215
1216
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1214

def targeting_option_id
  @targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1221
1222
1223
1224
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1221

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