Enum google_api_proto::google::ads::googleads::v16::errors::url_field_error_enum::UrlFieldError
source · #[repr(i32)]pub enum UrlFieldError {
Show 55 variants
Unspecified = 0,
Unknown = 1,
InvalidTrackingUrlTemplate = 2,
InvalidTagInTrackingUrlTemplate = 3,
MissingTrackingUrlTemplateTag = 4,
MissingProtocolInTrackingUrlTemplate = 5,
InvalidProtocolInTrackingUrlTemplate = 6,
MalformedTrackingUrlTemplate = 7,
MissingHostInTrackingUrlTemplate = 8,
InvalidTldInTrackingUrlTemplate = 9,
RedundantNestedTrackingUrlTemplateTag = 10,
InvalidFinalUrl = 11,
InvalidTagInFinalUrl = 12,
RedundantNestedFinalUrlTag = 13,
MissingProtocolInFinalUrl = 14,
InvalidProtocolInFinalUrl = 15,
MalformedFinalUrl = 16,
MissingHostInFinalUrl = 17,
InvalidTldInFinalUrl = 18,
InvalidFinalMobileUrl = 19,
InvalidTagInFinalMobileUrl = 20,
RedundantNestedFinalMobileUrlTag = 21,
MissingProtocolInFinalMobileUrl = 22,
InvalidProtocolInFinalMobileUrl = 23,
MalformedFinalMobileUrl = 24,
MissingHostInFinalMobileUrl = 25,
InvalidTldInFinalMobileUrl = 26,
InvalidFinalAppUrl = 27,
InvalidTagInFinalAppUrl = 28,
RedundantNestedFinalAppUrlTag = 29,
MultipleAppUrlsForOstype = 30,
InvalidOstype = 31,
InvalidProtocolForAppUrl = 32,
InvalidPackageIdForAppUrl = 33,
UrlCustomParametersCountExceedsLimit = 34,
InvalidCharactersInUrlCustomParameterKey = 39,
InvalidCharactersInUrlCustomParameterValue = 40,
InvalidTagInUrlCustomParameterValue = 41,
RedundantNestedUrlCustomParameterTag = 42,
MissingProtocol = 43,
InvalidProtocol = 52,
InvalidUrl = 44,
DestinationUrlDeprecated = 45,
InvalidTagInUrl = 46,
MissingUrlTag = 47,
DuplicateUrlId = 48,
InvalidUrlId = 49,
FinalUrlSuffixMalformed = 50,
InvalidTagInFinalUrlSuffix = 51,
InvalidTopLevelDomain = 53,
MalformedTopLevelDomain = 54,
MalformedUrl = 55,
MissingHost = 56,
NullCustomParameterValue = 57,
ValueTrackParameterNotSupported = 58,
}
Expand description
Enum describing possible url field errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
InvalidTrackingUrlTemplate = 2
The tracking url template is invalid.
InvalidTagInTrackingUrlTemplate = 3
The tracking url template contains invalid tag.
MissingTrackingUrlTemplateTag = 4
The tracking url template must contain at least one tag (for example, {lpurl}), This applies only to tracking url template associated with website ads or product ads.
MissingProtocolInTrackingUrlTemplate = 5
The tracking url template must start with a valid protocol (or lpurl tag).
InvalidProtocolInTrackingUrlTemplate = 6
The tracking url template starts with an invalid protocol.
MalformedTrackingUrlTemplate = 7
The tracking url template contains illegal characters.
MissingHostInTrackingUrlTemplate = 8
The tracking url template must contain a host name (or lpurl tag).
InvalidTldInTrackingUrlTemplate = 9
The tracking url template has an invalid or missing top level domain extension.
RedundantNestedTrackingUrlTemplateTag = 10
The tracking url template contains nested occurrences of the same conditional tag (for example, {ifmobile:{ifmobile:x}}).
InvalidFinalUrl = 11
The final url is invalid.
InvalidTagInFinalUrl = 12
The final url contains invalid tag.
RedundantNestedFinalUrlTag = 13
The final url contains nested occurrences of the same conditional tag (for example, {ifmobile:{ifmobile:x}}).
MissingProtocolInFinalUrl = 14
The final url must start with a valid protocol.
InvalidProtocolInFinalUrl = 15
The final url starts with an invalid protocol.
MalformedFinalUrl = 16
The final url contains illegal characters.
MissingHostInFinalUrl = 17
The final url must contain a host name.
InvalidTldInFinalUrl = 18
The tracking url template has an invalid or missing top level domain extension.
InvalidFinalMobileUrl = 19
The final mobile url is invalid.
InvalidTagInFinalMobileUrl = 20
The final mobile url contains invalid tag.
RedundantNestedFinalMobileUrlTag = 21
The final mobile url contains nested occurrences of the same conditional tag (for example, {ifmobile:{ifmobile:x}}).
MissingProtocolInFinalMobileUrl = 22
The final mobile url must start with a valid protocol.
InvalidProtocolInFinalMobileUrl = 23
The final mobile url starts with an invalid protocol.
MalformedFinalMobileUrl = 24
The final mobile url contains illegal characters.
MissingHostInFinalMobileUrl = 25
The final mobile url must contain a host name.
InvalidTldInFinalMobileUrl = 26
The tracking url template has an invalid or missing top level domain extension.
InvalidFinalAppUrl = 27
The final app url is invalid.
InvalidTagInFinalAppUrl = 28
The final app url contains invalid tag.
RedundantNestedFinalAppUrlTag = 29
The final app url contains nested occurrences of the same conditional tag (for example, {ifmobile:{ifmobile:x}}).
MultipleAppUrlsForOstype = 30
More than one app url found for the same OS type.
InvalidOstype = 31
The OS type given for an app url is not valid.
InvalidProtocolForAppUrl = 32
The protocol given for an app url is not valid. (For example, “android-app://”)
InvalidPackageIdForAppUrl = 33
The package id (app id) given for an app url is not valid.
UrlCustomParametersCountExceedsLimit = 34
The number of url custom parameters for an resource exceeds the maximum limit allowed.
InvalidCharactersInUrlCustomParameterKey = 39
An invalid character appears in the parameter key.
InvalidCharactersInUrlCustomParameterValue = 40
An invalid character appears in the parameter value.
InvalidTagInUrlCustomParameterValue = 41
The url custom parameter value fails url tag validation.
RedundantNestedUrlCustomParameterTag = 42
The custom parameter contains nested occurrences of the same conditional tag (for example, {ifmobile:{ifmobile:x}}).
MissingProtocol = 43
The protocol (http:// or https://) is missing.
InvalidProtocol = 52
Unsupported protocol in URL. Only http and https are supported.
InvalidUrl = 44
The url is invalid.
DestinationUrlDeprecated = 45
Destination Url is deprecated.
InvalidTagInUrl = 46
The url contains invalid tag.
MissingUrlTag = 47
The url must contain at least one tag (for example, {lpurl}).
DuplicateUrlId = 48
Duplicate url id.
InvalidUrlId = 49
Invalid url id.
FinalUrlSuffixMalformed = 50
The final url suffix cannot begin with ‘?’ or ‘&’ characters and must be a valid query string.
InvalidTagInFinalUrlSuffix = 51
The final url suffix cannot contain {lpurl} related or {ignore} tags.
InvalidTopLevelDomain = 53
The top level domain is invalid, for example, not a public top level domain listed in publicsuffix.org.
MalformedTopLevelDomain = 54
Malformed top level domain in URL.
MalformedUrl = 55
Malformed URL.
MissingHost = 56
No host found in URL.
NullCustomParameterValue = 57
Custom parameter value cannot be null.
ValueTrackParameterNotSupported = 58
Track parameter is not supported.
Implementations§
source§impl UrlFieldError
impl UrlFieldError
source§impl UrlFieldError
impl UrlFieldError
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 UrlFieldError
impl Clone for UrlFieldError
source§fn clone(&self) -> UrlFieldError
fn clone(&self) -> UrlFieldError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UrlFieldError
impl Debug for UrlFieldError
source§impl Default for UrlFieldError
impl Default for UrlFieldError
source§fn default() -> UrlFieldError
fn default() -> UrlFieldError
source§impl From<UrlFieldError> for i32
impl From<UrlFieldError> for i32
source§fn from(value: UrlFieldError) -> i32
fn from(value: UrlFieldError) -> i32
source§impl Hash for UrlFieldError
impl Hash for UrlFieldError
source§impl Ord for UrlFieldError
impl Ord for UrlFieldError
source§fn cmp(&self, other: &UrlFieldError) -> Ordering
fn cmp(&self, other: &UrlFieldError) -> 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 UrlFieldError
impl PartialEq for UrlFieldError
source§fn eq(&self, other: &UrlFieldError) -> bool
fn eq(&self, other: &UrlFieldError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UrlFieldError
impl PartialOrd for UrlFieldError
source§fn partial_cmp(&self, other: &UrlFieldError) -> Option<Ordering>
fn partial_cmp(&self, other: &UrlFieldError) -> 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 UrlFieldError
impl TryFrom<i32> for UrlFieldError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<UrlFieldError, DecodeError>
fn try_from(value: i32) -> Result<UrlFieldError, DecodeError>
impl Copy for UrlFieldError
impl Eq for UrlFieldError
impl StructuralPartialEq for UrlFieldError
Auto Trait Implementations§
impl Freeze for UrlFieldError
impl RefUnwindSafe for UrlFieldError
impl Send for UrlFieldError
impl Sync for UrlFieldError
impl Unpin for UrlFieldError
impl UnwindSafe for UrlFieldError
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