Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult

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 custom conversion goal mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult.



48476
48477
48478
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48476

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

Instance Attribute Details

#custom_conversion_goalGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomConversionGoal

Custom conversion goal that can make arbitrary conversion actions biddable. Corresponds to the JSON property customConversionGoal



48469
48470
48471
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48469

def custom_conversion_goal
  @custom_conversion_goal
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


48474
48475
48476
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48474

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48481
48482
48483
48484
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48481

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