Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateConversionActionResult

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 conversion action mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateConversionActionResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateConversionActionResult.



47928
47929
47930
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47928

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

Instance Attribute Details

#conversion_actionGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionAction

A conversion action. Corresponds to the JSON property conversionAction



47921
47922
47923
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47921

def conversion_action
  @conversion_action
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


47926
47927
47928
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47926

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47933
47934
47935
47936
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47933

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