Class: Google::Apis::Adexchangebuyer2V2beta1::OperatingSystemTargeting

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 information for operating systems.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OperatingSystemTargeting

Returns a new instance of OperatingSystemTargeting.



2941
2942
2943
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2941

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

Instance Attribute Details

#operating_system_criteriaGoogle::Apis::Adexchangebuyer2V2beta1::CriteriaTargeting

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



2933
2934
2935
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2933

def operating_system_criteria
  @operating_system_criteria
end

#operating_system_version_criteriaGoogle::Apis::Adexchangebuyer2V2beta1::CriteriaTargeting

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



2939
2940
2941
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2939

def operating_system_version_criteria
  @operating_system_version_criteria
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2946
2947
2948
2949
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2946

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