Class: Google::Apis::DisplayvideoV2::AudioContentTypeAssignedTargetingOptionDetails

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 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.



1338
1339
1340
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1338

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

Instance Attribute Details

#audio_content_typeString

The audio content type. Output only in v1. Required in v2. Corresponds to the JSON property audioContentType

Returns:

  • (String)


1336
1337
1338
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1336

def audio_content_type
  @audio_content_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1343
1344
1345
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1343

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