Class: Google::Apis::DisplayvideoV2::NativeContentPositionTargetingOptionDetails

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 native content position. This will be populated in the native_content_position_details field when targeting_type is TARGETING_TYPE_NATIVE_CONTENT_POSITION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NativeContentPositionTargetingOptionDetails

Returns a new instance of NativeContentPositionTargetingOptionDetails.



9120
9121
9122
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9120

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

Instance Attribute Details

#content_positionString

Output only. The content position. Corresponds to the JSON property contentPosition

Returns:

  • (String)


9118
9119
9120
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9118

def content_position
  @content_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9125
9126
9127
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9125

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