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.



8462
8463
8464
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8462

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

Instance Attribute Details

#content_positionString

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

Returns:

  • (String)


8460
8461
8462
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8460

def content_position
  @content_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8467
8468
8469
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8467

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