Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition

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

Overview

Condition on Device dimension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition

Returns a new instance of GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleDeviceCondition.



16511
16512
16513
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16511

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

Instance Attribute Details

#device_typesArray<String>

Value for device type condition. Corresponds to the JSON property deviceTypes

Returns:

  • (Array<String>)


16509
16510
16511
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16509

def device_types
  @device_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16516
16517
16518
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16516

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