Class: Google::Apis::DisplayvideoV3::ContentDurationAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::ContentDurationAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Details for content duration assigned targeting option. This will be populated
in the content_duration_details field when targeting_type is
TARGETING_TYPE_CONTENT_DURATION
. Explicitly targeting all options is not
supported. Remove all content duration targeting options to achieve this
effect.
Instance Attribute Summary collapse
-
#content_duration ⇒ String
Output only.
-
#targeting_option_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContentDurationAssignedTargetingOptionDetails
constructor
A new instance of ContentDurationAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContentDurationAssignedTargetingOptionDetails
Returns a new instance of ContentDurationAssignedTargetingOptionDetails.
3825 3826 3827 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3825 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_duration ⇒ String
Output only. The content duration.
Corresponds to the JSON property contentDuration
3817 3818 3819 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3817 def content_duration @content_duration end |
#targeting_option_id ⇒ String
Required. The targeting_option_id field when targeting_type is
TARGETING_TYPE_CONTENT_DURATION
.
Corresponds to the JSON property targetingOptionId
3823 3824 3825 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3823 def targeting_option_id @targeting_option_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3830 3831 3832 3833 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3830 def update!(**args) @content_duration = args[:content_duration] if args.key?(:content_duration) @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id) end |