Class: Google::Apis::DisplayvideoV4::ContentThemeAssignedTargetingOptionDetails

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

Overview

Targeting details for content theme. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_CONTENT_THEME_EXCLUSION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContentThemeAssignedTargetingOptionDetails

Returns a new instance of ContentThemeAssignedTargetingOptionDetails.



5108
5109
5110
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 5108

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

Instance Attribute Details

#content_themeString

Output only. An enum for the DV360 content theme classifier. Corresponds to the JSON property contentTheme

Returns:

  • (String)


5096
5097
5098
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 5096

def content_theme
  @content_theme
end

#excluded_content_themeString

Required. An enum for the DV360 content theme classified to be EXCLUDED. Corresponds to the JSON property excludedContentTheme

Returns:

  • (String)


5101
5102
5103
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 5101

def excluded_content_theme
  @excluded_content_theme
end

#excluded_targeting_option_idString

Required. ID of the content theme to be EXCLUDED. Corresponds to the JSON property excludedTargetingOptionId

Returns:

  • (String)


5106
5107
5108
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 5106

def excluded_targeting_option_id
  @excluded_targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5113
5114
5115
5116
5117
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 5113

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