From 28ed878d5575f9f86cf16167f3a02b3476e5c379 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Thu, 13 Aug 2026 18:00:38 -0700 Subject: [PATCH] Regenerate searchads360 client --- ...gsCampaignLoyaltyRetentionGoalSettings.php | 90 +++++++++++++++++++ ...aignNewCustomerAcquisitionGoalSettings.php | 88 ++++++++++++++++++ ...oogleAdsSearchads360V23ErrorsErrorCode.php | 25 +++++- ...chads360V23ResourcesCampaignGoalConfig.php | 36 ++++++++ 4 files changed, 238 insertions(+), 1 deletion(-) create mode 100644 src/SA360/GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignLoyaltyRetentionGoalSettings.php create mode 100644 src/SA360/GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignNewCustomerAcquisitionGoalSettings.php diff --git a/src/SA360/GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignLoyaltyRetentionGoalSettings.php b/src/SA360/GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignLoyaltyRetentionGoalSettings.php new file mode 100644 index 00000000000..0470e17bda3 --- /dev/null +++ b/src/SA360/GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignLoyaltyRetentionGoalSettings.php @@ -0,0 +1,90 @@ +enableBidAdjustmentsForLoyaltyMembers = $enableBidAdjustmentsForLoyaltyMembers; + } + /** + * @return bool + */ + public function getEnableBidAdjustmentsForLoyaltyMembers() + { + return $this->enableBidAdjustmentsForLoyaltyMembers; + } + /** + * Whether to show targeted loyalty member benefits in PLA format in eligible + * countries. + * + * @param bool $showTargetedLoyaltyMemberBenefitsInPla + */ + public function setShowTargetedLoyaltyMemberBenefitsInPla($showTargetedLoyaltyMemberBenefitsInPla) + { + $this->showTargetedLoyaltyMemberBenefitsInPla = $showTargetedLoyaltyMemberBenefitsInPla; + } + /** + * @return bool + */ + public function getShowTargetedLoyaltyMemberBenefitsInPla() + { + return $this->showTargetedLoyaltyMemberBenefitsInPla; + } + /** + * Loyalty retention goal campaign specific value settings. + * + * @param GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings $valueSettingsOverride + */ + public function setValueSettingsOverride(GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings $valueSettingsOverride) + { + $this->valueSettingsOverride = $valueSettingsOverride; + } + /** + * @return GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings + */ + public function getValueSettingsOverride() + { + return $this->valueSettingsOverride; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignLoyaltyRetentionGoalSettings::class, 'Google_Service_SA360_GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignLoyaltyRetentionGoalSettings'); diff --git a/src/SA360/GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignNewCustomerAcquisitionGoalSettings.php b/src/SA360/GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignNewCustomerAcquisitionGoalSettings.php new file mode 100644 index 00000000000..96d98a09e67 --- /dev/null +++ b/src/SA360/GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignNewCustomerAcquisitionGoalSettings.php @@ -0,0 +1,88 @@ +targetOption = $targetOption; + } + /** + * @return self::TARGET_OPTION_* + */ + public function getTargetOption() + { + return $this->targetOption; + } + /** + * New Customer Acquisition goal campaign specific value settings. + * + * @param GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings $valueSettingsOverride + */ + public function setValueSettingsOverride(GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings $valueSettingsOverride) + { + $this->valueSettingsOverride = $valueSettingsOverride; + } + /** + * @return GoogleAdsSearchads360V23CommonCustomerLifecycleOptimizationValueSettings + */ + public function getValueSettingsOverride() + { + return $this->valueSettingsOverride; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignNewCustomerAcquisitionGoalSettings::class, 'Google_Service_SA360_GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignNewCustomerAcquisitionGoalSettings'); diff --git a/src/SA360/GoogleAdsSearchads360V23ErrorsErrorCode.php b/src/SA360/GoogleAdsSearchads360V23ErrorsErrorCode.php index 7faaf92f8c7..b5f4a9cf01e 100644 --- a/src/SA360/GoogleAdsSearchads360V23ErrorsErrorCode.php +++ b/src/SA360/GoogleAdsSearchads360V23ErrorsErrorCode.php @@ -3679,6 +3679,26 @@ class GoogleAdsSearchads360V23ErrorsErrorCode extends \Google\Model * Customer must be allowlisted to use retention only goal. */ public const CAMPAIGN_GOAL_CONFIG_ERROR_CUSTOMER_NOT_ALLOWLISTED_FOR_RETENTION_ONLY = 'CUSTOMER_NOT_ALLOWLISTED_FOR_RETENTION_ONLY'; + /** + * New customer acquisition customer lifecycle optimization goal targeting + * only new customers should not have campaign override values set. + */ + public const CAMPAIGN_GOAL_CONFIG_ERROR_CAMPAIGN_OVERRIDE_VALUES_SET_FOR_NEW_CUSTOMER_ACQUISITION_TARGET_SPECIFIC_OPTION = 'CAMPAIGN_OVERRIDE_VALUES_SET_FOR_NEW_CUSTOMER_ACQUISITION_TARGET_SPECIFIC_OPTION'; + /** + * New customer acquisition customer lifecycle optimization goal campaign + * override high lifetime values should only be set for supported campaign + * type. + */ + public const CAMPAIGN_GOAL_CONFIG_ERROR_CAMPAIGN_OVERRIDE_HIGH_LIFETIME_VALUE_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 'CAMPAIGN_OVERRIDE_HIGH_LIFETIME_VALUE_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE'; + /** + * Error when the campaign is attempting to combine incompatible CLO goals. + */ + public const CAMPAIGN_GOAL_CONFIG_ERROR_CANNOT_USE_INCOMPATIBLE_CLO_GOALS = 'CANNOT_USE_INCOMPATIBLE_CLO_GOALS'; + /** + * At least one mode (either enabling bid adjustments or showing benefits in + * PLA) must be enabled for loyalty retention goal. + */ + public const CAMPAIGN_GOAL_CONFIG_ERROR_LOYALTY_RETENTION_GOAL_INVALID_MODE = 'LOYALTY_RETENTION_GOAL_INVALID_MODE'; /** * Enum unspecified. */ @@ -12956,7 +12976,10 @@ public function getCampaignFeedError() * HIGH_LIFETIME_VALUE_PRESENT_BUT_VALUE_ABSENT, * HIGH_LIFETIME_VALUE_LESS_THAN_OR_EQUAL_TO_VALUE, * CUSTOMER_LIFECYCLE_OPTIMIZATION_CAMPAIGN_TYPE_NOT_SUPPORTED, - * CUSTOMER_NOT_ALLOWLISTED_FOR_RETENTION_ONLY + * CUSTOMER_NOT_ALLOWLISTED_FOR_RETENTION_ONLY, CAMPAIGN_OVERRIDE_VALUES_SET_F + * OR_NEW_CUSTOMER_ACQUISITION_TARGET_SPECIFIC_OPTION, + * CAMPAIGN_OVERRIDE_HIGH_LIFETIME_VALUE_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE, + * CANNOT_USE_INCOMPATIBLE_CLO_GOALS, LOYALTY_RETENTION_GOAL_INVALID_MODE * * @param self::CAMPAIGN_GOAL_CONFIG_ERROR_* $campaignGoalConfigError */ diff --git a/src/SA360/GoogleAdsSearchads360V23ResourcesCampaignGoalConfig.php b/src/SA360/GoogleAdsSearchads360V23ResourcesCampaignGoalConfig.php index a10c0b821c7..455f16f0337 100644 --- a/src/SA360/GoogleAdsSearchads360V23ResourcesCampaignGoalConfig.php +++ b/src/SA360/GoogleAdsSearchads360V23ResourcesCampaignGoalConfig.php @@ -39,6 +39,10 @@ class GoogleAdsSearchads360V23ResourcesCampaignGoalConfig extends \Google\Model * @var string */ public $campaign; + protected $campaignLoyaltyRetentionSettingsType = GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignLoyaltyRetentionGoalSettings::class; + protected $campaignLoyaltyRetentionSettingsDataType = ''; + protected $campaignNewCustomerAcquisitionSettingsType = GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignNewCustomerAcquisitionGoalSettings::class; + protected $campaignNewCustomerAcquisitionSettingsDataType = ''; protected $campaignRetentionSettingsType = GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignRetentionGoalSettings::class; protected $campaignRetentionSettingsDataType = ''; /** @@ -78,6 +82,38 @@ public function getCampaign() { return $this->campaign; } + /** + * Loyalty retention goal campaign settings. + * + * @param GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignLoyaltyRetentionGoalSettings $campaignLoyaltyRetentionSettings + */ + public function setCampaignLoyaltyRetentionSettings(GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignLoyaltyRetentionGoalSettings $campaignLoyaltyRetentionSettings) + { + $this->campaignLoyaltyRetentionSettings = $campaignLoyaltyRetentionSettings; + } + /** + * @return GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignLoyaltyRetentionGoalSettings + */ + public function getCampaignLoyaltyRetentionSettings() + { + return $this->campaignLoyaltyRetentionSettings; + } + /** + * New customer acquisition goal campaign settings. + * + * @param GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignNewCustomerAcquisitionGoalSettings $campaignNewCustomerAcquisitionSettings + */ + public function setCampaignNewCustomerAcquisitionSettings(GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignNewCustomerAcquisitionGoalSettings $campaignNewCustomerAcquisitionSettings) + { + $this->campaignNewCustomerAcquisitionSettings = $campaignNewCustomerAcquisitionSettings; + } + /** + * @return GoogleAdsSearchads360V23CommonCampaignGoalSettingsCampaignNewCustomerAcquisitionGoalSettings + */ + public function getCampaignNewCustomerAcquisitionSettings() + { + return $this->campaignNewCustomerAcquisitionSettings; + } /** * Retention goal campaign settings. *