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.



48000
48001
48002
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48000

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

Instance Attribute Details

#conversion_actionGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionAction

A conversion action. Corresponds to the JSON property conversionAction



47993
47994
47995
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47993

def conversion_action
  @conversion_action
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


47998
47999
48000
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47998

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48005
48006
48007
48008
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48005

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