Enum google_api_proto::google::ads::googleads::v16::errors::conversion_goal_campaign_config_error_enum::ConversionGoalCampaignConfigError
source · #[repr(i32)]pub enum ConversionGoalCampaignConfigError {
Unspecified = 0,
Unknown = 1,
CannotUseCampaignGoalForSearchAds360ManagedCampaign = 2,
CustomGoalDoesNotBelongToGoogleAdsConversionCustomer = 3,
CampaignCannotUseUnifiedGoals = 4,
EmptyConversionGoals = 5,
StoreSaleStoreVisitCannotBeBothIncluded = 6,
PerformanceMaxCampaignCannotUseCustomGoalWithStoreSales = 7,
}
Expand description
Enum describing possible conversion goal campaign config errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
CannotUseCampaignGoalForSearchAds360ManagedCampaign = 2
Campaign is managed by Search Ads 360 but uses Unified Goal.
CustomGoalDoesNotBelongToGoogleAdsConversionCustomer = 3
The campaign is using a custom goal that does not belong to its Google Ads conversion customer (conversion tracking customer).
CampaignCannotUseUnifiedGoals = 4
The campaign is not allowed to use unified goals.
EmptyConversionGoals = 5
The campaign is using campaign override goals but has no goals configured.
StoreSaleStoreVisitCannotBeBothIncluded = 6
STORE_SALE and STORE_VISIT conversion types cannot be both included in campaign level goal.
PerformanceMaxCampaignCannotUseCustomGoalWithStoreSales = 7
Performance Max campaign is not allowed to use custom goal with store sales conversion type.
Implementations§
source§impl ConversionGoalCampaignConfigError
impl ConversionGoalCampaignConfigError
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of ConversionGoalCampaignConfigError
.
sourcepub fn from_i32(value: i32) -> Option<ConversionGoalCampaignConfigError>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ConversionGoalCampaignConfigError>
Converts an i32
to a ConversionGoalCampaignConfigError
, or None
if value
is not a valid variant.
source§impl ConversionGoalCampaignConfigError
impl ConversionGoalCampaignConfigError
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 ConversionGoalCampaignConfigError
impl Clone for ConversionGoalCampaignConfigError
source§fn clone(&self) -> ConversionGoalCampaignConfigError
fn clone(&self) -> ConversionGoalCampaignConfigError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConversionGoalCampaignConfigError
impl Default for ConversionGoalCampaignConfigError
source§fn default() -> ConversionGoalCampaignConfigError
fn default() -> ConversionGoalCampaignConfigError
source§impl From<ConversionGoalCampaignConfigError> for i32
impl From<ConversionGoalCampaignConfigError> for i32
source§fn from(value: ConversionGoalCampaignConfigError) -> i32
fn from(value: ConversionGoalCampaignConfigError) -> i32
source§impl Ord for ConversionGoalCampaignConfigError
impl Ord for ConversionGoalCampaignConfigError
source§fn cmp(&self, other: &ConversionGoalCampaignConfigError) -> Ordering
fn cmp(&self, other: &ConversionGoalCampaignConfigError) -> 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 ConversionGoalCampaignConfigError
impl PartialEq for ConversionGoalCampaignConfigError
source§fn eq(&self, other: &ConversionGoalCampaignConfigError) -> bool
fn eq(&self, other: &ConversionGoalCampaignConfigError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConversionGoalCampaignConfigError
impl PartialOrd for ConversionGoalCampaignConfigError
source§fn partial_cmp(
&self,
other: &ConversionGoalCampaignConfigError
) -> Option<Ordering>
fn partial_cmp( &self, other: &ConversionGoalCampaignConfigError ) -> 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 ConversionGoalCampaignConfigError
impl TryFrom<i32> for ConversionGoalCampaignConfigError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(
value: i32
) -> Result<ConversionGoalCampaignConfigError, DecodeError>
fn try_from( value: i32 ) -> Result<ConversionGoalCampaignConfigError, DecodeError>
impl Copy for ConversionGoalCampaignConfigError
impl Eq for ConversionGoalCampaignConfigError
impl StructuralPartialEq for ConversionGoalCampaignConfigError
Auto Trait Implementations§
impl Freeze for ConversionGoalCampaignConfigError
impl RefUnwindSafe for ConversionGoalCampaignConfigError
impl Send for ConversionGoalCampaignConfigError
impl Sync for ConversionGoalCampaignConfigError
impl Unpin for ConversionGoalCampaignConfigError
impl UnwindSafe for ConversionGoalCampaignConfigError
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