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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/adexchangebuyer2_v2beta1/classes.rb,
lib/google/apis/adexchangebuyer2_v2beta1/representations.rb,
lib/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.



2964
2965
2966
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2964

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



2956
2957
2958
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2956

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



2962
2963
2964
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2962

def operating_system_version_criteria
  @operating_system_version_criteria
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2969
2970
2971
2972
# File 'lib/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2969

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