Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings

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 customer acquisition goal settings for the campaign.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings

Returns a new instance of GoogleAdsSearchads360V23ResourcesCustomerAcquisitionGoalSettings.



27727
27728
27729
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27727

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

Instance Attribute Details

#optimization_modeString

Output only. Customer acquisition optimization mode of this campaign. Corresponds to the JSON property optimizationMode

Returns:

  • (String)


27720
27721
27722
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27720

def optimization_mode
  @optimization_mode
end

#value_settingsGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings

Lifecycle goal value settings. Corresponds to the JSON property valueSettings



27725
27726
27727
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27725

def value_settings
  @value_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27732
27733
27734
27735
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27732

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