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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBudget amount must be unset when BudgetPeriod is CUSTOM.The campaign budget cannot be shared.The campaign budget is associated with at least one campaign, and so the campaign budget cannot be removed.Customer is not on the allow-list for this campaign budget period.The requested campaign budget no longer exists.This field is not mutable on implicitly shared campaign budgetsCannot change an implicitly shared campaign budget to an explicitly shared one.An implicit campaign budget without a name cannot be changed to explicitly shared campaign budget.Cannot change explicitly shared campaign budgets back to implicitly shared ones.Cannot use accelerated delivery method on this budget.Only explicitly shared campaign budgets can be used with multiple campaigns.A campaign budget with this name already exists.The period of the budget is not allowed.A money amount was not in the expected currency.A money amount was less than the minimum CPC for currency.A money amount was greater than the maximum allowed.A money amount was negative.A money amount was not a multiple of a minimum unit.Total budget amount must be unset when BudgetPeriod is DAILY.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBudget amount must be unset when BudgetPeriod is CUSTOM.static final intThe campaign budget cannot be shared.static final intThe campaign budget is associated with at least one campaign, and so the campaign budget cannot be removed.static final intCustomer is not on the allow-list for this campaign budget period.static final intThe requested campaign budget no longer exists.static final intThis field is not mutable on implicitly shared campaign budgetsstatic final intCannot change an implicitly shared campaign budget to an explicitly shared one.static final intAn implicit campaign budget without a name cannot be changed to explicitly shared campaign budget.static final intCannot change explicitly shared campaign budgets back to implicitly shared ones.static final intCannot use accelerated delivery method on this budget.static final intOnly explicitly shared campaign budgets can be used with multiple campaigns.static final intA campaign budget with this name already exists.static final intThe period of the budget is not allowed.static final intA money amount was not in the expected currency.static final intA money amount was less than the minimum CPC for currency.static final intA money amount was greater than the maximum allowed.static final intA money amount was negative.static final intA money amount was not a multiple of a minimum unit.static final intTotal budget amount must be unset when BudgetPeriod is DAILY.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<CampaignBudgetErrorEnum.CampaignBudgetError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
CAMPAIGN_BUDGET_CANNOT_BE_SHARED
The campaign budget cannot be shared.
CAMPAIGN_BUDGET_CANNOT_BE_SHARED = 17; -
CAMPAIGN_BUDGET_REMOVED
The requested campaign budget no longer exists.
CAMPAIGN_BUDGET_REMOVED = 2; -
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_AVAILABLECustomer 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_BUDGETThis 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_SHAREDCannot 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_NAMEAn 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_SHAREDCannot 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_CAMPAIGNSOnly explicitly shared campaign budgets can be used with multiple campaigns.
CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS = 10; -
DUPLICATE_NAME
A campaign budget with this name already exists.
DUPLICATE_NAME = 11; -
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_CPCA money amount was less than the minimum CPC for currency.
MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = 13; -
MONEY_AMOUNT_TOO_LARGE
A money amount was greater than the maximum allowed.
MONEY_AMOUNT_TOO_LARGE = 14; -
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_UNITA 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_DAILYTotal budget amount must be unset when BudgetPeriod is DAILY.
TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY = 18; -
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_MODECannot 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_PERIODBudget amount must be unset when BudgetPeriod is CUSTOM.
BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD = 21; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe 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_VALUEThe campaign budget cannot be shared.
CAMPAIGN_BUDGET_CANNOT_BE_SHARED = 17;- See Also:
-
CAMPAIGN_BUDGET_REMOVED_VALUE
public static final int CAMPAIGN_BUDGET_REMOVED_VALUEThe 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_VALUEThe 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_VALUECustomer 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_VALUEThis 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_VALUECannot 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_VALUEAn 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_VALUECannot 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_VALUEOnly 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_VALUEA 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_VALUEA 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_VALUEA 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_VALUEA 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_VALUEA 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_VALUEA 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_VALUETotal 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_VALUEThe 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_VALUECannot 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_VALUEBudget 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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-