Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings
- 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
-
#target_option ⇒ String
Retention goal optimization mode for this campaign.
-
#value_settings_override ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings
Lifecycle goal optimization value settings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings
constructor
A new instance of GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_option ⇒ String
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
345 346 347 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 345 def target_option @target_option end |
#value_settings_override ⇒ Google::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 |