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.



27814
27815
27816
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27814

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)


27807
27808
27809
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27807

def optimization_mode
  @optimization_mode
end

#value_settingsGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLifecycleGoalValueSettings

Lifecycle goal value settings. Corresponds to the JSON property valueSettings



27812
27813
27814
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27812

def value_settings
  @value_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27819
27820
27821
27822
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27819

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