Enum google_api_proto::google::ads::googleads::v15::errors::manager_link_error_enum::ManagerLinkError
source · #[repr(i32)]pub enum ManagerLinkError {
Show 21 variants
Unspecified = 0,
Unknown = 1,
AccountsNotCompatibleForLinking = 2,
TooManyManagers = 3,
TooManyInvites = 4,
AlreadyInvitedByThisManager = 5,
AlreadyManagedByThisManager = 6,
AlreadyManagedInHierarchy = 7,
DuplicateChildFound = 8,
ClientHasNoAdminUser = 9,
MaxDepthExceeded = 10,
CycleNotAllowed = 11,
TooManyAccounts = 12,
TooManyAccountsAtManager = 13,
NonOwnerUserCannotModifyLink = 14,
SuspendedAccountCannotAddClients = 15,
ClientOutsideTree = 16,
InvalidStatusChange = 17,
InvalidChange = 18,
CustomerCannotManageSelf = 19,
CreatingEnabledLinkNotAllowed = 20,
}
Expand description
Enum describing possible ManagerLink errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
AccountsNotCompatibleForLinking = 2
The manager and client have incompatible account types.
TooManyManagers = 3
Client is already linked to too many managers.
TooManyInvites = 4
Manager has too many pending invitations.
AlreadyInvitedByThisManager = 5
Client is already invited by this manager.
AlreadyManagedByThisManager = 6
The client is already managed by this manager.
AlreadyManagedInHierarchy = 7
Client is already managed in hierarchy.
DuplicateChildFound = 8
Manager and sub-manager to be linked have duplicate client.
ClientHasNoAdminUser = 9
Client has no active user that can access the client account.
MaxDepthExceeded = 10
Adding this link would exceed the maximum hierarchy depth.
CycleNotAllowed = 11
Adding this link will create a cycle.
TooManyAccounts = 12
Manager account has the maximum number of linked clients.
TooManyAccountsAtManager = 13
Parent manager account has the maximum number of linked clients.
NonOwnerUserCannotModifyLink = 14
The account is not authorized owner.
SuspendedAccountCannotAddClients = 15
Your manager account is suspended, and you are no longer allowed to link to clients.
ClientOutsideTree = 16
You are not allowed to move a client to a manager that is not under your current hierarchy.
InvalidStatusChange = 17
The changed status for mutate link is invalid.
InvalidChange = 18
The change for mutate link is invalid.
CustomerCannotManageSelf = 19
You are not allowed to link a manager account to itself.
CreatingEnabledLinkNotAllowed = 20
The link was created with status ACTIVE and not PENDING.
Implementations§
source§impl ManagerLinkError
impl ManagerLinkError
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 ManagerLinkError
impl Clone for ManagerLinkError
source§fn clone(&self) -> ManagerLinkError
fn clone(&self) -> ManagerLinkError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ManagerLinkError
impl Debug for ManagerLinkError
source§impl Default for ManagerLinkError
impl Default for ManagerLinkError
source§fn default() -> ManagerLinkError
fn default() -> ManagerLinkError
source§impl From<ManagerLinkError> for i32
impl From<ManagerLinkError> for i32
source§fn from(value: ManagerLinkError) -> i32
fn from(value: ManagerLinkError) -> i32
source§impl Hash for ManagerLinkError
impl Hash for ManagerLinkError
source§impl Ord for ManagerLinkError
impl Ord for ManagerLinkError
source§fn cmp(&self, other: &ManagerLinkError) -> Ordering
fn cmp(&self, other: &ManagerLinkError) -> 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 ManagerLinkError
impl PartialEq for ManagerLinkError
source§fn eq(&self, other: &ManagerLinkError) -> bool
fn eq(&self, other: &ManagerLinkError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ManagerLinkError
impl PartialOrd for ManagerLinkError
source§fn partial_cmp(&self, other: &ManagerLinkError) -> Option<Ordering>
fn partial_cmp(&self, other: &ManagerLinkError) -> 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 ManagerLinkError
impl TryFrom<i32> for ManagerLinkError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ManagerLinkError, DecodeError>
fn try_from(value: i32) -> Result<ManagerLinkError, DecodeError>
impl Copy for ManagerLinkError
impl Eq for ManagerLinkError
impl StructuralPartialEq for ManagerLinkError
Auto Trait Implementations§
impl Freeze for ManagerLinkError
impl RefUnwindSafe for ManagerLinkError
impl Send for ManagerLinkError
impl Sync for ManagerLinkError
impl Unpin for ManagerLinkError
impl UnwindSafe for ManagerLinkError
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