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.



47235
47236
47237
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47235

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

Instance Attribute Details

#conversion_actionGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionAction

A conversion action. Corresponds to the JSON property conversionAction



47228
47229
47230
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47228

def conversion_action
  @conversion_action
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


47233
47234
47235
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47233

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47240
47241
47242
47243
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47240

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