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.



9684
9685
9686
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9684

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

Instance Attribute Details

#content_positionString

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

Returns:

  • (String)


9682
9683
9684
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9682

def content_position
  @content_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9689
9690
9691
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 9689

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