Class: Google::Apis::DisplayvideoV3::NativeContentPositionTargetingOptionDetails

Inherits:
Object
  • Object
show all
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

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.



9809
9810
9811
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9809

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

Instance Attribute Details

#content_positionString

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

Returns:

  • (String)


9807
9808
9809
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9807

def content_position
  @content_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9814
9815
9816
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9814

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