Class: Google::Apis::Adexchangebuyer2V2beta1::TechnologyTargeting

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb

Overview

Represents targeting about various types of technology.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TechnologyTargeting

Returns a new instance of TechnologyTargeting.



3991
3992
3993
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3991

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

Instance Attribute Details

#device_capability_targetingGoogle::Apis::Adexchangebuyer2V2beta1::CriteriaTargeting

Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. Corresponds to the JSON property deviceCapabilityTargeting



3978
3979
3980
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3978

def device_capability_targeting
  @device_capability_targeting
end

#device_category_targetingGoogle::Apis::Adexchangebuyer2V2beta1::CriteriaTargeting

Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. Corresponds to the JSON property deviceCategoryTargeting



3984
3985
3986
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3984

def device_category_targeting
  @device_category_targeting
end

#operating_system_targetingGoogle::Apis::Adexchangebuyer2V2beta1::OperatingSystemTargeting

Represents targeting information for operating systems. Corresponds to the JSON property operatingSystemTargeting



3989
3990
3991
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3989

def operating_system_targeting
  @operating_system_targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3996
3997
3998
3999
4000
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3996

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