Enum Class CampaignBudgetErrorEnum.CampaignBudgetError

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

public static enum CampaignBudgetErrorEnum.CampaignBudgetError extends Enum<CampaignBudgetErrorEnum.CampaignBudgetError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing possible campaign budget errors.
 
Protobuf enum google.ads.googleads.v18.errors.CampaignBudgetErrorEnum.CampaignBudgetError
  • Enum Constant Details

    • UNSPECIFIED

      public static final CampaignBudgetErrorEnum.CampaignBudgetError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final CampaignBudgetErrorEnum.CampaignBudgetError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • CAMPAIGN_BUDGET_CANNOT_BE_SHARED

      public static final CampaignBudgetErrorEnum.CampaignBudgetError CAMPAIGN_BUDGET_CANNOT_BE_SHARED
       The campaign budget cannot be shared.
       
      CAMPAIGN_BUDGET_CANNOT_BE_SHARED = 17;
    • CAMPAIGN_BUDGET_REMOVED

      public static final CampaignBudgetErrorEnum.CampaignBudgetError CAMPAIGN_BUDGET_REMOVED
       The requested campaign budget no longer exists.
       
      CAMPAIGN_BUDGET_REMOVED = 2;
    • CAMPAIGN_BUDGET_IN_USE

      public static final CampaignBudgetErrorEnum.CampaignBudgetError CAMPAIGN_BUDGET_IN_USE
       The campaign budget is associated with at least one campaign, and so the
       campaign budget cannot be removed.
       
      CAMPAIGN_BUDGET_IN_USE = 3;
    • CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE

      public static final CampaignBudgetErrorEnum.CampaignBudgetError CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE
       Customer is not on the allow-list for this campaign budget period.
       
      CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE = 4;
    • CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET

      public static final CampaignBudgetErrorEnum.CampaignBudgetError CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET
       This field is not mutable on implicitly shared campaign budgets
       
      CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET = 6;
    • CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED

      public static final CampaignBudgetErrorEnum.CampaignBudgetError CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED
       Cannot change explicitly shared campaign budgets back to implicitly
       shared ones.
       
      CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED = 7;
    • CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME

      public static final CampaignBudgetErrorEnum.CampaignBudgetError CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME
       An implicit campaign budget without a name cannot be changed to
       explicitly shared campaign budget.
       
      CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME = 8;
    • CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED

      public static final CampaignBudgetErrorEnum.CampaignBudgetError CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED
       Cannot change an implicitly shared campaign budget to an explicitly
       shared one.
       
      CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED = 9;
    • CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS

      public static final CampaignBudgetErrorEnum.CampaignBudgetError CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS
       Only explicitly shared campaign budgets can be used with multiple
       campaigns.
       
      CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS = 10;
    • DUPLICATE_NAME

      public static final CampaignBudgetErrorEnum.CampaignBudgetError DUPLICATE_NAME
       A campaign budget with this name already exists.
       
      DUPLICATE_NAME = 11;
    • MONEY_AMOUNT_IN_WRONG_CURRENCY

      public static final CampaignBudgetErrorEnum.CampaignBudgetError MONEY_AMOUNT_IN_WRONG_CURRENCY
       A money amount was not in the expected currency.
       
      MONEY_AMOUNT_IN_WRONG_CURRENCY = 12;
    • MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC

      public static final CampaignBudgetErrorEnum.CampaignBudgetError MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC
       A money amount was less than the minimum CPC for currency.
       
      MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = 13;
    • MONEY_AMOUNT_TOO_LARGE

      public static final CampaignBudgetErrorEnum.CampaignBudgetError MONEY_AMOUNT_TOO_LARGE
       A money amount was greater than the maximum allowed.
       
      MONEY_AMOUNT_TOO_LARGE = 14;
    • NEGATIVE_MONEY_AMOUNT

      public static final CampaignBudgetErrorEnum.CampaignBudgetError NEGATIVE_MONEY_AMOUNT
       A money amount was negative.
       
      NEGATIVE_MONEY_AMOUNT = 15;
    • NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT

      public static final CampaignBudgetErrorEnum.CampaignBudgetError NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT
       A money amount was not a multiple of a minimum unit.
       
      NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = 16;
    • TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY

      public static final CampaignBudgetErrorEnum.CampaignBudgetError TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY
       Total budget amount must be unset when BudgetPeriod is DAILY.
       
      TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY = 18;
    • INVALID_PERIOD

      public static final CampaignBudgetErrorEnum.CampaignBudgetError INVALID_PERIOD
       The period of the budget is not allowed.
       
      INVALID_PERIOD = 19;
    • CANNOT_USE_ACCELERATED_DELIVERY_MODE

      public static final CampaignBudgetErrorEnum.CampaignBudgetError CANNOT_USE_ACCELERATED_DELIVERY_MODE
       Cannot use accelerated delivery method on this budget.
       
      CANNOT_USE_ACCELERATED_DELIVERY_MODE = 20;
    • BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD

      public static final CampaignBudgetErrorEnum.CampaignBudgetError BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD
       Budget amount must be unset when BudgetPeriod is CUSTOM.
       
      BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD = 21;
    • UNRECOGNIZED

      public static final CampaignBudgetErrorEnum.CampaignBudgetError 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:
    • CAMPAIGN_BUDGET_CANNOT_BE_SHARED_VALUE

      public static final int CAMPAIGN_BUDGET_CANNOT_BE_SHARED_VALUE
       The campaign budget cannot be shared.
       
      CAMPAIGN_BUDGET_CANNOT_BE_SHARED = 17;
      See Also:
    • CAMPAIGN_BUDGET_REMOVED_VALUE

      public static final int CAMPAIGN_BUDGET_REMOVED_VALUE
       The requested campaign budget no longer exists.
       
      CAMPAIGN_BUDGET_REMOVED = 2;
      See Also:
    • CAMPAIGN_BUDGET_IN_USE_VALUE

      public static final int CAMPAIGN_BUDGET_IN_USE_VALUE
       The campaign budget is associated with at least one campaign, and so the
       campaign budget cannot be removed.
       
      CAMPAIGN_BUDGET_IN_USE = 3;
      See Also:
    • CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE_VALUE

      public static final int CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE_VALUE
       Customer is not on the allow-list for this campaign budget period.
       
      CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE = 4;
      See Also:
    • CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_VALUE

      public static final int CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_VALUE
       This field is not mutable on implicitly shared campaign budgets
       
      CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET = 6;
      See Also:
    • CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED_VALUE

      public static final int CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED_VALUE
       Cannot change explicitly shared campaign budgets back to implicitly
       shared ones.
       
      CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED = 7;
      See Also:
    • CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME_VALUE

      public static final int CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME_VALUE
       An implicit campaign budget without a name cannot be changed to
       explicitly shared campaign budget.
       
      CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME = 8;
      See Also:
    • CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_VALUE

      public static final int CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_VALUE
       Cannot change an implicitly shared campaign budget to an explicitly
       shared one.
       
      CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED = 9;
      See Also:
    • CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS_VALUE

      public static final int CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS_VALUE
       Only explicitly shared campaign budgets can be used with multiple
       campaigns.
       
      CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS = 10;
      See Also:
    • DUPLICATE_NAME_VALUE

      public static final int DUPLICATE_NAME_VALUE
       A campaign budget with this name already exists.
       
      DUPLICATE_NAME = 11;
      See Also:
    • MONEY_AMOUNT_IN_WRONG_CURRENCY_VALUE

      public static final int MONEY_AMOUNT_IN_WRONG_CURRENCY_VALUE
       A money amount was not in the expected currency.
       
      MONEY_AMOUNT_IN_WRONG_CURRENCY = 12;
      See Also:
    • MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC_VALUE

      public static final int MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC_VALUE
       A money amount was less than the minimum CPC for currency.
       
      MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = 13;
      See Also:
    • MONEY_AMOUNT_TOO_LARGE_VALUE

      public static final int MONEY_AMOUNT_TOO_LARGE_VALUE
       A money amount was greater than the maximum allowed.
       
      MONEY_AMOUNT_TOO_LARGE = 14;
      See Also:
    • NEGATIVE_MONEY_AMOUNT_VALUE

      public static final int NEGATIVE_MONEY_AMOUNT_VALUE
       A money amount was negative.
       
      NEGATIVE_MONEY_AMOUNT = 15;
      See Also:
    • NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT_VALUE

      public static final int NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT_VALUE
       A money amount was not a multiple of a minimum unit.
       
      NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = 16;
      See Also:
    • TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY_VALUE

      public static final int TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY_VALUE
       Total budget amount must be unset when BudgetPeriod is DAILY.
       
      TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY = 18;
      See Also:
    • INVALID_PERIOD_VALUE

      public static final int INVALID_PERIOD_VALUE
       The period of the budget is not allowed.
       
      INVALID_PERIOD = 19;
      See Also:
    • CANNOT_USE_ACCELERATED_DELIVERY_MODE_VALUE

      public static final int CANNOT_USE_ACCELERATED_DELIVERY_MODE_VALUE
       Cannot use accelerated delivery method on this budget.
       
      CANNOT_USE_ACCELERATED_DELIVERY_MODE = 20;
      See Also:
    • BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD_VALUE

      public static final int BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD_VALUE
       Budget amount must be unset when BudgetPeriod is CUSTOM.
       
      BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD = 21;
      See Also:
  • Method Details

    • 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

      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 CampaignBudgetErrorEnum.CampaignBudgetError 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 CampaignBudgetErrorEnum.CampaignBudgetError 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<CampaignBudgetErrorEnum.CampaignBudgetError> 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 CampaignBudgetErrorEnum.CampaignBudgetError 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