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.



16445
16446
16447
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16445

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>)


16443
16444
16445
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16443

def device_types
  @device_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16450
16451
16452
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16450

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