Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult

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

The result for the criterion mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateCustomerNegativeCriteriaResult.



48580
48581
48582
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48580

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

Instance Attribute Details

#customer_negative_criterionGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerNegativeCriterion

A negative criterion for exclusions at the customer level. Corresponds to the JSON property customerNegativeCriterion



48573
48574
48575
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48573

def customer_negative_criterion
  @customer_negative_criterion
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


48578
48579
48580
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48578

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48585
48586
48587
48588
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48585

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