Enum google_api_proto::google::ads::googleads::v16::errors::conversion_action_error_enum::ConversionActionError
source · #[repr(i32)]pub enum ConversionActionError {
Show 13 variants
Unspecified = 0,
Unknown = 1,
DuplicateName = 2,
DuplicateAppId = 3,
TwoConversionActionsBiddingOnSameAppDownload = 4,
BiddingOnSameAppDownloadAsGlobalAction = 5,
DataDrivenModelWasNeverGenerated = 6,
DataDrivenModelExpired = 7,
DataDrivenModelStale = 8,
DataDrivenModelUnknown = 9,
CreationNotSupported = 10,
UpdateNotSupported = 11,
CannotSetRuleBasedAttributionModels = 12,
}
Expand description
Enum describing possible conversion action errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
DuplicateName = 2
The specified conversion action name already exists.
DuplicateAppId = 3
Another conversion action with the specified app id already exists.
TwoConversionActionsBiddingOnSameAppDownload = 4
Android first open action conflicts with Google play codeless download action tracking the same app.
BiddingOnSameAppDownloadAsGlobalAction = 5
Android first open action conflicts with Google play codeless download action tracking the same app.
DataDrivenModelWasNeverGenerated = 6
The attribution model cannot be set to DATA_DRIVEN because a data-driven model has never been generated.
DataDrivenModelExpired = 7
The attribution model cannot be set to DATA_DRIVEN because the data-driven model is expired.
DataDrivenModelStale = 8
The attribution model cannot be set to DATA_DRIVEN because the data-driven model is stale.
DataDrivenModelUnknown = 9
The attribution model cannot be set to DATA_DRIVEN because the data-driven model is unavailable or the conversion action was newly added.
CreationNotSupported = 10
Creation of this conversion action type isn’t supported by Google Ads API.
UpdateNotSupported = 11
Update of this conversion action isn’t supported by Google Ads API.
CannotSetRuleBasedAttributionModels = 12
Rule-based attribution models are deprecated and not allowed to be set by conversion action.
Implementations§
source§impl ConversionActionError
impl ConversionActionError
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of ConversionActionError
.
sourcepub fn from_i32(value: i32) -> Option<ConversionActionError>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ConversionActionError>
Converts an i32
to a ConversionActionError
, or None
if value
is not a valid variant.
source§impl ConversionActionError
impl ConversionActionError
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 ConversionActionError
impl Clone for ConversionActionError
source§fn clone(&self) -> ConversionActionError
fn clone(&self) -> ConversionActionError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConversionActionError
impl Debug for ConversionActionError
source§impl Default for ConversionActionError
impl Default for ConversionActionError
source§fn default() -> ConversionActionError
fn default() -> ConversionActionError
source§impl From<ConversionActionError> for i32
impl From<ConversionActionError> for i32
source§fn from(value: ConversionActionError) -> i32
fn from(value: ConversionActionError) -> i32
source§impl Hash for ConversionActionError
impl Hash for ConversionActionError
source§impl Ord for ConversionActionError
impl Ord for ConversionActionError
source§fn cmp(&self, other: &ConversionActionError) -> Ordering
fn cmp(&self, other: &ConversionActionError) -> 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 ConversionActionError
impl PartialEq for ConversionActionError
source§fn eq(&self, other: &ConversionActionError) -> bool
fn eq(&self, other: &ConversionActionError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConversionActionError
impl PartialOrd for ConversionActionError
source§fn partial_cmp(&self, other: &ConversionActionError) -> Option<Ordering>
fn partial_cmp(&self, other: &ConversionActionError) -> 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 ConversionActionError
impl TryFrom<i32> for ConversionActionError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ConversionActionError, DecodeError>
fn try_from(value: i32) -> Result<ConversionActionError, DecodeError>
impl Copy for ConversionActionError
impl Eq for ConversionActionError
impl StructuralPartialEq for ConversionActionError
Auto Trait Implementations§
impl Freeze for ConversionActionError
impl RefUnwindSafe for ConversionActionError
impl Send for ConversionActionError
impl Sync for ConversionActionError
impl Unpin for ConversionActionError
impl UnwindSafe for ConversionActionError
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