Enum google_api_proto::google::ads::googleads::v16::errors::feed_error_enum::FeedError
source · #[repr(i32)]pub enum FeedError {
Show 25 variants
Unspecified = 0,
Unknown = 1,
AttributeNamesNotUnique = 2,
AttributesDoNotMatchExistingAttributes = 3,
CannotSpecifyUserOriginForSystemFeed = 4,
CannotSpecifyGoogleOriginForNonSystemFeed = 5,
CannotSpecifyFeedAttributesForSystemFeed = 6,
CannotUpdateFeedAttributesWithOriginGoogle = 7,
FeedRemoved = 8,
InvalidOriginValue = 9,
FeedOriginIsNotUser = 10,
InvalidAuthTokenForEmail = 11,
InvalidEmail = 12,
DuplicateFeedName = 13,
InvalidFeedName = 14,
MissingOauthInfo = 15,
NewAttributeCannotBePartOfUniqueKey = 16,
TooManyAttributes = 17,
InvalidBusinessAccount = 18,
BusinessAccountCannotAccessLocationAccount = 19,
InvalidAffiliateChainId = 20,
DuplicateSystemFeed = 21,
GmbAccessError = 22,
CannotHaveLocationAndAffiliateLocationFeeds = 23,
LegacyExtensionTypeReadOnly = 24,
}
Expand description
Enum describing possible feed errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
AttributeNamesNotUnique = 2
The names of the FeedAttributes must be unique.
AttributesDoNotMatchExistingAttributes = 3
The attribute list must be an exact copy of the existing list if the attribute ID’s are present.
CannotSpecifyUserOriginForSystemFeed = 4
Cannot specify USER origin for a system generated feed.
CannotSpecifyGoogleOriginForNonSystemFeed = 5
Cannot specify GOOGLE origin for a non-system generated feed.
CannotSpecifyFeedAttributesForSystemFeed = 6
Cannot specify feed attributes for system feed.
CannotUpdateFeedAttributesWithOriginGoogle = 7
Cannot update FeedAttributes on feed with origin GOOGLE.
FeedRemoved = 8
The given ID refers to a removed Feed. Removed Feeds are immutable.
InvalidOriginValue = 9
The origin of the feed is not valid for the client.
FeedOriginIsNotUser = 10
A user can only create and modify feeds with USER origin.
InvalidAuthTokenForEmail = 11
Invalid auth token for the given email.
InvalidEmail = 12
Invalid email specified.
DuplicateFeedName = 13
Feed name matches that of another active Feed.
InvalidFeedName = 14
Name of feed is not allowed.
MissingOauthInfo = 15
Missing OAuthInfo.
NewAttributeCannotBePartOfUniqueKey = 16
New FeedAttributes must not affect the unique key.
TooManyAttributes = 17
Too many FeedAttributes for a Feed.
InvalidBusinessAccount = 18
The business account is not valid.
BusinessAccountCannotAccessLocationAccount = 19
Business account cannot access Business Profile.
InvalidAffiliateChainId = 20
Invalid chain ID provided for affiliate location feed.
DuplicateSystemFeed = 21
There is already a feed with the given system feed generation data.
GmbAccessError = 22
An error occurred accessing Business Profile.
CannotHaveLocationAndAffiliateLocationFeeds = 23
A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds.
LegacyExtensionTypeReadOnly = 24
Feed-based extension is read-only for this extension type.
Implementations§
source§impl FeedError
impl FeedError
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 Ord for FeedError
impl Ord for FeedError
source§impl PartialEq for FeedError
impl PartialEq for FeedError
source§impl PartialOrd for FeedError
impl PartialOrd for FeedError
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 FeedError
impl TryFrom<i32> for FeedError
§type Error = DecodeError
type Error = DecodeError
impl Copy for FeedError
impl Eq for FeedError
impl StructuralPartialEq for FeedError
Auto Trait Implementations§
impl Freeze for FeedError
impl RefUnwindSafe for FeedError
impl Send for FeedError
impl Sync for FeedError
impl Unpin for FeedError
impl UnwindSafe for FeedError
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