Enum Class BillingSetupErrorEnum.BillingSetupError

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

public static enum BillingSetupErrorEnum.BillingSetupError extends Enum<BillingSetupErrorEnum.BillingSetupError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing possible billing setup errors.
 
Protobuf enum google.ads.googleads.v18.errors.BillingSetupErrorEnum.BillingSetupError
  • Enum Constant Details

    • UNSPECIFIED

      public static final BillingSetupErrorEnum.BillingSetupError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final BillingSetupErrorEnum.BillingSetupError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • CANNOT_USE_EXISTING_AND_NEW_ACCOUNT

      public static final BillingSetupErrorEnum.BillingSetupError CANNOT_USE_EXISTING_AND_NEW_ACCOUNT
       Cannot specify both an existing payments account and a new payments
       account when setting up billing.
       
      CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2;
    • CANNOT_REMOVE_STARTED_BILLING_SETUP

      public static final BillingSetupErrorEnum.BillingSetupError CANNOT_REMOVE_STARTED_BILLING_SETUP
       Cannot cancel an approved billing setup whose start time has passed.
       
      CANNOT_REMOVE_STARTED_BILLING_SETUP = 3;
    • CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT

      public static final BillingSetupErrorEnum.BillingSetupError CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT
       Cannot perform a Change of Bill-To (CBT) to the same payments account.
       
      CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4;
    • BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS

      public static final BillingSetupErrorEnum.BillingSetupError BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS
       Billing setups can only be used by customers with ENABLED or DRAFT
       status.
       
      BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5;
    • INVALID_PAYMENTS_ACCOUNT

      public static final BillingSetupErrorEnum.BillingSetupError INVALID_PAYMENTS_ACCOUNT
       Billing setups must either include a correctly formatted existing
       payments account id, or a non-empty new payments account name.
       
      INVALID_PAYMENTS_ACCOUNT = 6;
    • BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY

      public static final BillingSetupErrorEnum.BillingSetupError BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY
       Only billable and third-party customers can create billing setups.
       
      BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7;
    • INVALID_START_TIME_TYPE

      public static final BillingSetupErrorEnum.BillingSetupError INVALID_START_TIME_TYPE
       Billing setup creations can only use NOW for start time type.
       
      INVALID_START_TIME_TYPE = 8;
    • THIRD_PARTY_ALREADY_HAS_BILLING

      public static final BillingSetupErrorEnum.BillingSetupError THIRD_PARTY_ALREADY_HAS_BILLING
       Billing setups can only be created for a third-party customer if they do
       not already have a setup.
       
      THIRD_PARTY_ALREADY_HAS_BILLING = 9;
    • BILLING_SETUP_IN_PROGRESS

      public static final BillingSetupErrorEnum.BillingSetupError BILLING_SETUP_IN_PROGRESS
       Billing setups cannot be created if there is already a pending billing in
       progress.
       
      BILLING_SETUP_IN_PROGRESS = 10;
    • NO_SIGNUP_PERMISSION

      public static final BillingSetupErrorEnum.BillingSetupError NO_SIGNUP_PERMISSION
       Billing setups can only be created by customers who have permission to
       setup billings. Users can contact a representative for help setting up
       permissions.
       
      NO_SIGNUP_PERMISSION = 11;
    • CHANGE_OF_BILL_TO_IN_PROGRESS

      public static final BillingSetupErrorEnum.BillingSetupError CHANGE_OF_BILL_TO_IN_PROGRESS
       Billing setups cannot be created if there is already a future-approved
       billing.
       
      CHANGE_OF_BILL_TO_IN_PROGRESS = 12;
    • PAYMENTS_PROFILE_NOT_FOUND

      public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_PROFILE_NOT_FOUND
       Requested payments profile not found.
       
      PAYMENTS_PROFILE_NOT_FOUND = 13;
    • PAYMENTS_ACCOUNT_NOT_FOUND

      public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_ACCOUNT_NOT_FOUND
       Requested payments account not found.
       
      PAYMENTS_ACCOUNT_NOT_FOUND = 14;
    • PAYMENTS_PROFILE_INELIGIBLE

      public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_PROFILE_INELIGIBLE
       Billing setup creation failed because the payments profile is ineligible.
       
      PAYMENTS_PROFILE_INELIGIBLE = 15;
    • PAYMENTS_ACCOUNT_INELIGIBLE

      public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_ACCOUNT_INELIGIBLE
       Billing setup creation failed because the payments account is ineligible.
       
      PAYMENTS_ACCOUNT_INELIGIBLE = 16;
    • CUSTOMER_NEEDS_INTERNAL_APPROVAL

      public static final BillingSetupErrorEnum.BillingSetupError CUSTOMER_NEEDS_INTERNAL_APPROVAL
       Billing setup creation failed because the payments profile needs internal
       approval.
       
      CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17;
    • PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE

      public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE
       Billing setup creation failed because the user needs to accept master
       service agreement on the payments profile.
       
      PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE = 18;
    • PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH

      public static final BillingSetupErrorEnum.BillingSetupError PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH
       Payments account has different currency code than the current customer
       and hence cannot be used to setup billing.
       
      PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19;
    • FUTURE_START_TIME_PROHIBITED

      public static final BillingSetupErrorEnum.BillingSetupError FUTURE_START_TIME_PROHIBITED
       A start time in the future cannot be used because there is currently no
       active billing setup for this customer.
       
      FUTURE_START_TIME_PROHIBITED = 20;
    • TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT

      public static final BillingSetupErrorEnum.BillingSetupError TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT
       The payments account has maximum number of billing setups.
       
      TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT = 21;
    • UNRECOGNIZED

      public static final BillingSetupErrorEnum.BillingSetupError 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:
    • CANNOT_USE_EXISTING_AND_NEW_ACCOUNT_VALUE

      public static final int CANNOT_USE_EXISTING_AND_NEW_ACCOUNT_VALUE
       Cannot specify both an existing payments account and a new payments
       account when setting up billing.
       
      CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2;
      See Also:
    • CANNOT_REMOVE_STARTED_BILLING_SETUP_VALUE

      public static final int CANNOT_REMOVE_STARTED_BILLING_SETUP_VALUE
       Cannot cancel an approved billing setup whose start time has passed.
       
      CANNOT_REMOVE_STARTED_BILLING_SETUP = 3;
      See Also:
    • CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT_VALUE

      public static final int CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT_VALUE
       Cannot perform a Change of Bill-To (CBT) to the same payments account.
       
      CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4;
      See Also:
    • BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS_VALUE

      public static final int BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS_VALUE
       Billing setups can only be used by customers with ENABLED or DRAFT
       status.
       
      BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5;
      See Also:
    • INVALID_PAYMENTS_ACCOUNT_VALUE

      public static final int INVALID_PAYMENTS_ACCOUNT_VALUE
       Billing setups must either include a correctly formatted existing
       payments account id, or a non-empty new payments account name.
       
      INVALID_PAYMENTS_ACCOUNT = 6;
      See Also:
    • BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY_VALUE

      public static final int BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY_VALUE
       Only billable and third-party customers can create billing setups.
       
      BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7;
      See Also:
    • INVALID_START_TIME_TYPE_VALUE

      public static final int INVALID_START_TIME_TYPE_VALUE
       Billing setup creations can only use NOW for start time type.
       
      INVALID_START_TIME_TYPE = 8;
      See Also:
    • THIRD_PARTY_ALREADY_HAS_BILLING_VALUE

      public static final int THIRD_PARTY_ALREADY_HAS_BILLING_VALUE
       Billing setups can only be created for a third-party customer if they do
       not already have a setup.
       
      THIRD_PARTY_ALREADY_HAS_BILLING = 9;
      See Also:
    • BILLING_SETUP_IN_PROGRESS_VALUE

      public static final int BILLING_SETUP_IN_PROGRESS_VALUE
       Billing setups cannot be created if there is already a pending billing in
       progress.
       
      BILLING_SETUP_IN_PROGRESS = 10;
      See Also:
    • NO_SIGNUP_PERMISSION_VALUE

      public static final int NO_SIGNUP_PERMISSION_VALUE
       Billing setups can only be created by customers who have permission to
       setup billings. Users can contact a representative for help setting up
       permissions.
       
      NO_SIGNUP_PERMISSION = 11;
      See Also:
    • CHANGE_OF_BILL_TO_IN_PROGRESS_VALUE

      public static final int CHANGE_OF_BILL_TO_IN_PROGRESS_VALUE
       Billing setups cannot be created if there is already a future-approved
       billing.
       
      CHANGE_OF_BILL_TO_IN_PROGRESS = 12;
      See Also:
    • PAYMENTS_PROFILE_NOT_FOUND_VALUE

      public static final int PAYMENTS_PROFILE_NOT_FOUND_VALUE
       Requested payments profile not found.
       
      PAYMENTS_PROFILE_NOT_FOUND = 13;
      See Also:
    • PAYMENTS_ACCOUNT_NOT_FOUND_VALUE

      public static final int PAYMENTS_ACCOUNT_NOT_FOUND_VALUE
       Requested payments account not found.
       
      PAYMENTS_ACCOUNT_NOT_FOUND = 14;
      See Also:
    • PAYMENTS_PROFILE_INELIGIBLE_VALUE

      public static final int PAYMENTS_PROFILE_INELIGIBLE_VALUE
       Billing setup creation failed because the payments profile is ineligible.
       
      PAYMENTS_PROFILE_INELIGIBLE = 15;
      See Also:
    • PAYMENTS_ACCOUNT_INELIGIBLE_VALUE

      public static final int PAYMENTS_ACCOUNT_INELIGIBLE_VALUE
       Billing setup creation failed because the payments account is ineligible.
       
      PAYMENTS_ACCOUNT_INELIGIBLE = 16;
      See Also:
    • CUSTOMER_NEEDS_INTERNAL_APPROVAL_VALUE

      public static final int CUSTOMER_NEEDS_INTERNAL_APPROVAL_VALUE
       Billing setup creation failed because the payments profile needs internal
       approval.
       
      CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17;
      See Also:
    • PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE_VALUE

      public static final int PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE_VALUE
       Billing setup creation failed because the user needs to accept master
       service agreement on the payments profile.
       
      PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE = 18;
      See Also:
    • PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH_VALUE

      public static final int PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH_VALUE
       Payments account has different currency code than the current customer
       and hence cannot be used to setup billing.
       
      PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19;
      See Also:
    • FUTURE_START_TIME_PROHIBITED_VALUE

      public static final int FUTURE_START_TIME_PROHIBITED_VALUE
       A start time in the future cannot be used because there is currently no
       active billing setup for this customer.
       
      FUTURE_START_TIME_PROHIBITED = 20;
      See Also:
    • TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT_VALUE

      public static final int TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT_VALUE
       The payments account has maximum number of billing setups.
       
      TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT = 21;
      See Also:
  • Method Details

    • values

      public static BillingSetupErrorEnum.BillingSetupError[] 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 BillingSetupErrorEnum.BillingSetupError 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 BillingSetupErrorEnum.BillingSetupError 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 BillingSetupErrorEnum.BillingSetupError 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<BillingSetupErrorEnum.BillingSetupError> 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 BillingSetupErrorEnum.BillingSetupError 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