Enum google_api_proto::google::ads::googleads::v16::errors::campaign_lifecycle_goal_error_enum::CampaignLifecycleGoalError
source · #[repr(i32)]pub enum CampaignLifecycleGoalError {
Show 13 variants
Unspecified = 0,
Unknown = 1,
CampaignMissing = 2,
InvalidCampaign = 3,
CustomerAcquisitionInvalidOptimizationMode = 4,
IncompatibleBiddingStrategy = 5,
MissingPurchaseGoal = 6,
CustomerAcquisitionInvalidHighLifetimeValue = 7,
CustomerAcquisitionUnsupportedCampaignType = 8,
CustomerAcquisitionInvalidValue = 9,
CustomerAcquisitionValueMissing = 10,
CustomerAcquisitionMissingExistingCustomerDefinition = 11,
CustomerAcquisitionMissingHighValueCustomerDefinition = 12,
}
Expand description
Enum describing possible campaign lifecycle goal errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
CampaignMissing = 2
Campaign is not specified.
InvalidCampaign = 3
Cannot find the specified campaign.
CustomerAcquisitionInvalidOptimizationMode = 4
Optimization mode is unspecified or invalid.
IncompatibleBiddingStrategy = 5
The configured lifecycle goal setting is not compatible with the bidding strategy the campaign is using. Specifically, BID_HIGHER_FOR_NEW_CUSTOMER requires conversion-value based bidding strategy type such as MAXIMIZE_CONVERSION_VALUE.
MissingPurchaseGoal = 6
Lifecycle goals require the campaign to optimize towards purchase conversion goal.
CustomerAcquisitionInvalidHighLifetimeValue = 7
CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.high_lifetime_value is invalid or not allowed, such as when the specified value is smaller than 0.01, when the optimization mode is not BID_HIGHER_FOR_NEW_CUSTOMER, or when CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.high_lifetime_value is specified smaller than/without CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.value.
CustomerAcquisitionUnsupportedCampaignType = 8
Customer acquisition goal is not supported on this campaign type.
CustomerAcquisitionInvalidValue = 9
CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.value is invalid or not allowed, such as when the specified value is smaller than 0.01, or when the optimization mode is not BID_HIGHER_FOR_NEW_CUSTOMER.
CustomerAcquisitionValueMissing = 10
To use BID_HIGHER_FOR_NEW_CUSTOMER mode, either CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.value or CustomerLifecycleGoal.customer_acquisition_goal_value_settings.value must have been specified. If a manager account is managing your account’s conversion tracking, then only the CustomerLifecycleGoal of that manager account is used.
CustomerAcquisitionMissingExistingCustomerDefinition = 11
In order for a campaign to adopt the customer acquisition goal, CustomerLifecycleGoal.lifecycle_goal_customer_definition_settings.existing_user_lists must include active and accessible userlist with more than 1000 members in the Search/Youtube network. If a manager account is managing your account’s conversion tracking, then only the CustomerLifecycleGoal of that manager account is used. Also make sure that the manager account shares audience segments with sub-accounts with continuous audience sharing.
CustomerAcquisitionMissingHighValueCustomerDefinition = 12
In order for a campaign to adopt the customer acquisition goal with high lifetime value optimization, CustomerLifecycleGoal.lifecycle_goal_customer_definition_settings.high_lifetime_value_user_lists must include active and accessible userlist with more than 1000 members in the Search/Youtube network. If a manager account is managing your account’s conversion tracking, then only the CustomerLifecycleGoal of that manager account is used. Also make sure that the manager account shares audience segments with sub-accounts using continuous audience sharing.
Implementations§
source§impl CampaignLifecycleGoalError
impl CampaignLifecycleGoalError
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of CampaignLifecycleGoalError
.
sourcepub fn from_i32(value: i32) -> Option<CampaignLifecycleGoalError>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<CampaignLifecycleGoalError>
Converts an i32
to a CampaignLifecycleGoalError
, or None
if value
is not a valid variant.
source§impl CampaignLifecycleGoalError
impl CampaignLifecycleGoalError
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for CampaignLifecycleGoalError
impl Clone for CampaignLifecycleGoalError
source§fn clone(&self) -> CampaignLifecycleGoalError
fn clone(&self) -> CampaignLifecycleGoalError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CampaignLifecycleGoalError
impl Debug for CampaignLifecycleGoalError
source§impl Default for CampaignLifecycleGoalError
impl Default for CampaignLifecycleGoalError
source§fn default() -> CampaignLifecycleGoalError
fn default() -> CampaignLifecycleGoalError
source§impl From<CampaignLifecycleGoalError> for i32
impl From<CampaignLifecycleGoalError> for i32
source§fn from(value: CampaignLifecycleGoalError) -> i32
fn from(value: CampaignLifecycleGoalError) -> i32
source§impl Hash for CampaignLifecycleGoalError
impl Hash for CampaignLifecycleGoalError
source§impl Ord for CampaignLifecycleGoalError
impl Ord for CampaignLifecycleGoalError
source§fn cmp(&self, other: &CampaignLifecycleGoalError) -> Ordering
fn cmp(&self, other: &CampaignLifecycleGoalError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for CampaignLifecycleGoalError
impl PartialEq for CampaignLifecycleGoalError
source§fn eq(&self, other: &CampaignLifecycleGoalError) -> bool
fn eq(&self, other: &CampaignLifecycleGoalError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CampaignLifecycleGoalError
impl PartialOrd for CampaignLifecycleGoalError
source§fn partial_cmp(&self, other: &CampaignLifecycleGoalError) -> Option<Ordering>
fn partial_cmp(&self, other: &CampaignLifecycleGoalError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for CampaignLifecycleGoalError
impl TryFrom<i32> for CampaignLifecycleGoalError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<CampaignLifecycleGoalError, DecodeError>
fn try_from(value: i32) -> Result<CampaignLifecycleGoalError, DecodeError>
impl Copy for CampaignLifecycleGoalError
impl Eq for CampaignLifecycleGoalError
impl StructuralPartialEq for CampaignLifecycleGoalError
Auto Trait Implementations§
impl Freeze for CampaignLifecycleGoalError
impl RefUnwindSafe for CampaignLifecycleGoalError
impl Send for CampaignLifecycleGoalError
impl Sync for CampaignLifecycleGoalError
impl Unpin for CampaignLifecycleGoalError
impl UnwindSafe for CampaignLifecycleGoalError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request