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.



7849
7850
7851
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7849

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)


7841
7842
7843
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7841

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)


7847
7848
7849
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7847

def targeting_option_id
  @targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7854
7855
7856
7857
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7854

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