Class: Google::Apis::DisplayvideoV2::ContentInstreamPositionTargetingOptionDetails

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

Represents a targetable content instream position, which could be used by video and audio ads. This will be populated in the content_instream_position_details field when targeting_type is TARGETING_TYPE_CONTENT_INSTREAM_POSITION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContentInstreamPositionTargetingOptionDetails

Returns a new instance of ContentInstreamPositionTargetingOptionDetails.



3403
3404
3405
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3403

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

Instance Attribute Details

#content_instream_positionString

Output only. The content instream position. Corresponds to the JSON property contentInstreamPosition

Returns:

  • (String)


3401
3402
3403
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3401

def content_instream_position
  @content_instream_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3408
3409
3410
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3408

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