Class: Google::Apis::DisplayvideoV1::OmidAssignedTargetingOptionDetails

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

Represents a targetable Open Measurement enabled inventory type. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_OMID.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OmidAssignedTargetingOptionDetails

Returns a new instance of OmidAssignedTargetingOptionDetails.



8509
8510
8511
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8509

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

Instance Attribute Details

#omidString

The type of Open Measurement enabled inventory. Output only in v1. Required in v2. Corresponds to the JSON property omid

Returns:

  • (String)


8501
8502
8503
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8501

def omid
  @omid
end

#targeting_option_idString

Required. The targeting_option_id of a TargetingOption of type TARGETING_TYPE_OMID. Corresponds to the JSON property targetingOptionId

Returns:

  • (String)


8507
8508
8509
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8507

def targeting_option_id
  @targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8514
8515
8516
8517
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8514

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