Enum Class ManagerLinkErrorEnum.ManagerLinkError

java.lang.Object
java.lang.Enum<ManagerLinkErrorEnum.ManagerLinkError>
com.google.ads.googleads.v18.errors.ManagerLinkErrorEnum.ManagerLinkError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ManagerLinkErrorEnum.ManagerLinkError>, Constable
Enclosing class:
ManagerLinkErrorEnum

public static enum ManagerLinkErrorEnum.ManagerLinkError extends Enum<ManagerLinkErrorEnum.ManagerLinkError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing possible ManagerLink errors.
 
Protobuf enum google.ads.googleads.v18.errors.ManagerLinkErrorEnum.ManagerLinkError
  • Enum Constant Details

    • UNSPECIFIED

      public static final ManagerLinkErrorEnum.ManagerLinkError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final ManagerLinkErrorEnum.ManagerLinkError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING

      public static final ManagerLinkErrorEnum.ManagerLinkError ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING
       The manager and client have incompatible account types.
       
      ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING = 2;
    • TOO_MANY_MANAGERS

      public static final ManagerLinkErrorEnum.ManagerLinkError TOO_MANY_MANAGERS
       Client is already linked to too many managers.
       
      TOO_MANY_MANAGERS = 3;
    • TOO_MANY_INVITES

      public static final ManagerLinkErrorEnum.ManagerLinkError TOO_MANY_INVITES
       Manager has too many pending invitations.
       
      TOO_MANY_INVITES = 4;
    • ALREADY_INVITED_BY_THIS_MANAGER

      public static final ManagerLinkErrorEnum.ManagerLinkError ALREADY_INVITED_BY_THIS_MANAGER
       Client is already invited by this manager.
       
      ALREADY_INVITED_BY_THIS_MANAGER = 5;
    • ALREADY_MANAGED_BY_THIS_MANAGER

      public static final ManagerLinkErrorEnum.ManagerLinkError ALREADY_MANAGED_BY_THIS_MANAGER
       The client is already managed by this manager.
       
      ALREADY_MANAGED_BY_THIS_MANAGER = 6;
    • ALREADY_MANAGED_IN_HIERARCHY

      public static final ManagerLinkErrorEnum.ManagerLinkError ALREADY_MANAGED_IN_HIERARCHY
       Client is already managed in hierarchy.
       
      ALREADY_MANAGED_IN_HIERARCHY = 7;
    • DUPLICATE_CHILD_FOUND

      public static final ManagerLinkErrorEnum.ManagerLinkError DUPLICATE_CHILD_FOUND
       Manager and sub-manager to be linked have duplicate client.
       
      DUPLICATE_CHILD_FOUND = 8;
    • CLIENT_HAS_NO_ADMIN_USER

      public static final ManagerLinkErrorEnum.ManagerLinkError CLIENT_HAS_NO_ADMIN_USER
       Client has no active user that can access the client account.
       
      CLIENT_HAS_NO_ADMIN_USER = 9;
    • MAX_DEPTH_EXCEEDED

      public static final ManagerLinkErrorEnum.ManagerLinkError MAX_DEPTH_EXCEEDED
       Adding this link would exceed the maximum hierarchy depth.
       
      MAX_DEPTH_EXCEEDED = 10;
    • CYCLE_NOT_ALLOWED

      public static final ManagerLinkErrorEnum.ManagerLinkError CYCLE_NOT_ALLOWED
       Adding this link will create a cycle.
       
      CYCLE_NOT_ALLOWED = 11;
    • TOO_MANY_ACCOUNTS

      public static final ManagerLinkErrorEnum.ManagerLinkError TOO_MANY_ACCOUNTS
       Manager account has the maximum number of linked clients.
       
      TOO_MANY_ACCOUNTS = 12;
    • TOO_MANY_ACCOUNTS_AT_MANAGER

      public static final ManagerLinkErrorEnum.ManagerLinkError TOO_MANY_ACCOUNTS_AT_MANAGER
       Parent manager account has the maximum number of linked clients.
       
      TOO_MANY_ACCOUNTS_AT_MANAGER = 13;
    • SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS

      public static final ManagerLinkErrorEnum.ManagerLinkError SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS
       Your manager account is suspended, and you are no longer allowed to link
       to clients.
       
      SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS = 15;
    • CLIENT_OUTSIDE_TREE

      public static final ManagerLinkErrorEnum.ManagerLinkError CLIENT_OUTSIDE_TREE
       You are not allowed to move a client to a manager that is not under your
       current hierarchy.
       
      CLIENT_OUTSIDE_TREE = 16;
    • INVALID_STATUS_CHANGE

      public static final ManagerLinkErrorEnum.ManagerLinkError INVALID_STATUS_CHANGE
       The changed status for mutate link is invalid.
       
      INVALID_STATUS_CHANGE = 17;
    • INVALID_CHANGE

      public static final ManagerLinkErrorEnum.ManagerLinkError INVALID_CHANGE
       The change for mutate link is invalid.
       
      INVALID_CHANGE = 18;
    • CUSTOMER_CANNOT_MANAGE_SELF

      public static final ManagerLinkErrorEnum.ManagerLinkError CUSTOMER_CANNOT_MANAGE_SELF
       You are not allowed to link a manager account to itself.
       
      CUSTOMER_CANNOT_MANAGE_SELF = 19;
    • UNRECOGNIZED

      public static final ManagerLinkErrorEnum.ManagerLinkError UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The received error code is not known in this version.
       
      UNKNOWN = 1;
      See Also:
    • ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING_VALUE

      public static final int ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING_VALUE
       The manager and client have incompatible account types.
       
      ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING = 2;
      See Also:
    • TOO_MANY_MANAGERS_VALUE

      public static final int TOO_MANY_MANAGERS_VALUE
       Client is already linked to too many managers.
       
      TOO_MANY_MANAGERS = 3;
      See Also:
    • TOO_MANY_INVITES_VALUE

      public static final int TOO_MANY_INVITES_VALUE
       Manager has too many pending invitations.
       
      TOO_MANY_INVITES = 4;
      See Also:
    • ALREADY_INVITED_BY_THIS_MANAGER_VALUE

      public static final int ALREADY_INVITED_BY_THIS_MANAGER_VALUE
       Client is already invited by this manager.
       
      ALREADY_INVITED_BY_THIS_MANAGER = 5;
      See Also:
    • ALREADY_MANAGED_BY_THIS_MANAGER_VALUE

      public static final int ALREADY_MANAGED_BY_THIS_MANAGER_VALUE
       The client is already managed by this manager.
       
      ALREADY_MANAGED_BY_THIS_MANAGER = 6;
      See Also:
    • ALREADY_MANAGED_IN_HIERARCHY_VALUE

      public static final int ALREADY_MANAGED_IN_HIERARCHY_VALUE
       Client is already managed in hierarchy.
       
      ALREADY_MANAGED_IN_HIERARCHY = 7;
      See Also:
    • DUPLICATE_CHILD_FOUND_VALUE

      public static final int DUPLICATE_CHILD_FOUND_VALUE
       Manager and sub-manager to be linked have duplicate client.
       
      DUPLICATE_CHILD_FOUND = 8;
      See Also:
    • CLIENT_HAS_NO_ADMIN_USER_VALUE

      public static final int CLIENT_HAS_NO_ADMIN_USER_VALUE
       Client has no active user that can access the client account.
       
      CLIENT_HAS_NO_ADMIN_USER = 9;
      See Also:
    • MAX_DEPTH_EXCEEDED_VALUE

      public static final int MAX_DEPTH_EXCEEDED_VALUE
       Adding this link would exceed the maximum hierarchy depth.
       
      MAX_DEPTH_EXCEEDED = 10;
      See Also:
    • CYCLE_NOT_ALLOWED_VALUE

      public static final int CYCLE_NOT_ALLOWED_VALUE
       Adding this link will create a cycle.
       
      CYCLE_NOT_ALLOWED = 11;
      See Also:
    • TOO_MANY_ACCOUNTS_VALUE

      public static final int TOO_MANY_ACCOUNTS_VALUE
       Manager account has the maximum number of linked clients.
       
      TOO_MANY_ACCOUNTS = 12;
      See Also:
    • TOO_MANY_ACCOUNTS_AT_MANAGER_VALUE

      public static final int TOO_MANY_ACCOUNTS_AT_MANAGER_VALUE
       Parent manager account has the maximum number of linked clients.
       
      TOO_MANY_ACCOUNTS_AT_MANAGER = 13;
      See Also:
    • SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS_VALUE

      public static final int SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS_VALUE
       Your manager account is suspended, and you are no longer allowed to link
       to clients.
       
      SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS = 15;
      See Also:
    • CLIENT_OUTSIDE_TREE_VALUE

      public static final int CLIENT_OUTSIDE_TREE_VALUE
       You are not allowed to move a client to a manager that is not under your
       current hierarchy.
       
      CLIENT_OUTSIDE_TREE = 16;
      See Also:
    • INVALID_STATUS_CHANGE_VALUE

      public static final int INVALID_STATUS_CHANGE_VALUE
       The changed status for mutate link is invalid.
       
      INVALID_STATUS_CHANGE = 17;
      See Also:
    • INVALID_CHANGE_VALUE

      public static final int INVALID_CHANGE_VALUE
       The change for mutate link is invalid.
       
      INVALID_CHANGE = 18;
      See Also:
    • CUSTOMER_CANNOT_MANAGE_SELF_VALUE

      public static final int CUSTOMER_CANNOT_MANAGE_SELF_VALUE
       You are not allowed to link a manager account to itself.
       
      CUSTOMER_CANNOT_MANAGE_SELF = 19;
      See Also:
  • Method Details

    • values

      public static ManagerLinkErrorEnum.ManagerLinkError[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ManagerLinkErrorEnum.ManagerLinkError valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static ManagerLinkErrorEnum.ManagerLinkError valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static ManagerLinkErrorEnum.ManagerLinkError forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<ManagerLinkErrorEnum.ManagerLinkError> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static ManagerLinkErrorEnum.ManagerLinkError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null