Class: Google::Apis::DisplayvideoV1::DigitalContentLabelAssignedTargetingOptionDetails

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

Targeting details for digital content label. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DigitalContentLabelAssignedTargetingOptionDetails

Returns a new instance of DigitalContentLabelAssignedTargetingOptionDetails.



4298
4299
4300
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4298

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

Instance Attribute Details

#content_rating_tierString

Output only. The display name of the digital content label rating tier. Corresponds to the JSON property contentRatingTier

Returns:

  • (String)


4291
4292
4293
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4291

def content_rating_tier
  @content_rating_tier
end

#excluded_targeting_option_idString

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

Returns:

  • (String)


4296
4297
4298
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4296

def excluded_targeting_option_id
  @excluded_targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4303
4304
4305
4306
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4303

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