Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings

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

Retention campaign goal settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings

Returns a new instance of GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings.



352
353
354
# File 'lib/google/apis/searchads360_v23/classes.rb', line 352

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

Instance Attribute Details

#target_optionString

Retention goal optimization mode for this campaign. Defaults to TARGET_ALL. Only customers on the allowlist can set target_option. Corresponds to the JSON property targetOption

Returns:

  • (String)


345
346
347
# File 'lib/google/apis/searchads360_v23/classes.rb', line 345

def target_option
  @target_option
end

#value_settings_overrideGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings

Lifecycle goal optimization value settings. Corresponds to the JSON property valueSettingsOverride



350
351
352
# File 'lib/google/apis/searchads360_v23/classes.rb', line 350

def value_settings_override
  @value_settings_override
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



357
358
359
360
# File 'lib/google/apis/searchads360_v23/classes.rb', line 357

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