Class: Google::Apis::DisplayvideoV2::NativeContentPositionAssignedTargetingOptionDetails

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

Details for native content position assigned targeting option. This will be populated in the native_content_position_details field when targeting_type is TARGETING_TYPE_NATIVE_CONTENT_POSITION. Explicitly targeting all options is not supported. Remove all native content position targeting options to achieve this effect.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NativeContentPositionAssignedTargetingOptionDetails

Returns a new instance of NativeContentPositionAssignedTargetingOptionDetails.



8949
8950
8951
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8949

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

Instance Attribute Details

#content_positionString

The content position. Output only in v1. Required in v2. Corresponds to the JSON property contentPosition

Returns:

  • (String)


8947
8948
8949
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8947

def content_position
  @content_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8954
8955
8956
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 8954

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