Class: Google::Apis::DisplayvideoV1::NativeContentPositionAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::NativeContentPositionAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/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
-
#content_position ⇒ String
Output only.
-
#targeting_option_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NativeContentPositionAssignedTargetingOptionDetails
constructor
A new instance of NativeContentPositionAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NativeContentPositionAssignedTargetingOptionDetails
Returns a new instance of NativeContentPositionAssignedTargetingOptionDetails.
7264 7265 7266 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7264 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_position ⇒ String
Output only. The content position.
Corresponds to the JSON property contentPosition
7256 7257 7258 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7256 def content_position @content_position end |
#targeting_option_id ⇒ String
Required. The targeting_option_id field when targeting_type is
TARGETING_TYPE_NATIVE_CONTENT_POSITION.
Corresponds to the JSON property targetingOptionId
7262 7263 7264 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7262 def targeting_option_id @targeting_option_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7269 7270 7271 7272 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7269 def update!(**args) @content_position = args[:content_position] if args.key?(:content_position) @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id) end |