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.



412
413
414
# File 'lib/google/apis/searchads360_v23/classes.rb', line 412

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)


405
406
407
# File 'lib/google/apis/searchads360_v23/classes.rb', line 405

def target_option
  @target_option
end

#value_settings_overrideGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings

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



410
411
412
# File 'lib/google/apis/searchads360_v23/classes.rb', line 410

def value_settings_override
  @value_settings_override
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



417
418
419
420
# File 'lib/google/apis/searchads360_v23/classes.rb', line 417

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