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.



7859
7860
7861
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7859

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)


7851
7852
7853
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7851

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)


7857
7858
7859
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7857

def targeting_option_id
  @targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7864
7865
7866
7867
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7864

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