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.



1186
1187
1188
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1186

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

Instance Attribute Details

#audio_content_typeString

Output only. The audio content type. Corresponds to the JSON property audioContentType

Returns:

  • (String)


1178
1179
1180
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1178

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)


1184
1185
1186
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1184

def targeting_option_id
  @targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1191
1192
1193
1194
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 1191

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