Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTargetRestrictionOperation

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

Operation to be performed on a target restriction list in a mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonTargetRestrictionOperation

Returns a new instance of GoogleAdsSearchads360V23CommonTargetRestrictionOperation.



11616
11617
11618
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11616

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

Instance Attribute Details

#operatorString

Type of list operation to perform. Corresponds to the JSON property operator

Returns:

  • (String)


11609
11610
11611
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11609

def operator
  @operator
end

#valueGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTargetRestriction

The list of per-targeting-dimension targeting settings. Corresponds to the JSON property value



11614
11615
11616
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11614

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11621
11622
11623
11624
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11621

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