Enum BiddingStrategyErrorEnum.BiddingStrategyError
- java.lang.Object
-
- java.lang.Enum<BiddingStrategyErrorEnum.BiddingStrategyError>
-
- com.google.ads.googleads.v10.errors.BiddingStrategyErrorEnum.BiddingStrategyError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<BiddingStrategyErrorEnum.BiddingStrategyError>
- Enclosing class:
- BiddingStrategyErrorEnum
public static enum BiddingStrategyErrorEnum.BiddingStrategyError extends java.lang.Enum<BiddingStrategyErrorEnum.BiddingStrategyError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible bidding strategy errors.
Protobuf enumgoogle.ads.googleads.v10.errors.BiddingStrategyErrorEnum.BiddingStrategyError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIDDING_STRATEGY_NOT_SUPPORTEDThe specified bidding strategy is not supported.CANNOT_CHANGE_BIDDING_STRATEGY_TYPEBidding strategy type is immutable.CANNOT_REMOVE_ASSOCIATED_STRATEGYOnly bidding strategies not linked to campaigns, adgroups or adgroup criteria can be removed.DUPLICATE_NAMEEach bidding strategy must have a unique name.INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPEThe bidding strategy is incompatible with the campaign's bidding strategy goal type.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intBIDDING_STRATEGY_NOT_SUPPORTED_VALUEThe specified bidding strategy is not supported.static intCANNOT_CHANGE_BIDDING_STRATEGY_TYPE_VALUEBidding strategy type is immutable.static intCANNOT_REMOVE_ASSOCIATED_STRATEGY_VALUEOnly bidding strategies not linked to campaigns, adgroups or adgroup criteria can be removed.static intDUPLICATE_NAME_VALUEEach bidding strategy must have a unique name.static intINCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE_VALUEThe bidding strategy is incompatible with the campaign's bidding strategy goal type.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BiddingStrategyErrorEnum.BiddingStrategyErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<BiddingStrategyErrorEnum.BiddingStrategyError>internalGetValueMap()static BiddingStrategyErrorEnum.BiddingStrategyErrorvalueOf(int value)Deprecated.static BiddingStrategyErrorEnum.BiddingStrategyErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static BiddingStrategyErrorEnum.BiddingStrategyErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BiddingStrategyErrorEnum.BiddingStrategyError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final BiddingStrategyErrorEnum.BiddingStrategyError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final BiddingStrategyErrorEnum.BiddingStrategyError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
DUPLICATE_NAME
public static final BiddingStrategyErrorEnum.BiddingStrategyError DUPLICATE_NAME
Each bidding strategy must have a unique name.
DUPLICATE_NAME = 2;
-
CANNOT_CHANGE_BIDDING_STRATEGY_TYPE
public static final BiddingStrategyErrorEnum.BiddingStrategyError CANNOT_CHANGE_BIDDING_STRATEGY_TYPE
Bidding strategy type is immutable.
CANNOT_CHANGE_BIDDING_STRATEGY_TYPE = 3;
-
CANNOT_REMOVE_ASSOCIATED_STRATEGY
public static final BiddingStrategyErrorEnum.BiddingStrategyError CANNOT_REMOVE_ASSOCIATED_STRATEGY
Only bidding strategies not linked to campaigns, adgroups or adgroup criteria can be removed.
CANNOT_REMOVE_ASSOCIATED_STRATEGY = 4;
-
BIDDING_STRATEGY_NOT_SUPPORTED
public static final BiddingStrategyErrorEnum.BiddingStrategyError BIDDING_STRATEGY_NOT_SUPPORTED
The specified bidding strategy is not supported.
BIDDING_STRATEGY_NOT_SUPPORTED = 5;
-
INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE
public static final BiddingStrategyErrorEnum.BiddingStrategyError INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE
The bidding strategy is incompatible with the campaign's bidding strategy goal type.
INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE = 6;
-
UNRECOGNIZED
public static final BiddingStrategyErrorEnum.BiddingStrategyError UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Enum unspecified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The received error code is not known in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
DUPLICATE_NAME_VALUE
public static final int DUPLICATE_NAME_VALUE
Each bidding strategy must have a unique name.
DUPLICATE_NAME = 2;- See Also:
- Constant Field Values
-
CANNOT_CHANGE_BIDDING_STRATEGY_TYPE_VALUE
public static final int CANNOT_CHANGE_BIDDING_STRATEGY_TYPE_VALUE
Bidding strategy type is immutable.
CANNOT_CHANGE_BIDDING_STRATEGY_TYPE = 3;- See Also:
- Constant Field Values
-
CANNOT_REMOVE_ASSOCIATED_STRATEGY_VALUE
public static final int CANNOT_REMOVE_ASSOCIATED_STRATEGY_VALUE
Only bidding strategies not linked to campaigns, adgroups or adgroup criteria can be removed.
CANNOT_REMOVE_ASSOCIATED_STRATEGY = 4;- See Also:
- Constant Field Values
-
BIDDING_STRATEGY_NOT_SUPPORTED_VALUE
public static final int BIDDING_STRATEGY_NOT_SUPPORTED_VALUE
The specified bidding strategy is not supported.
BIDDING_STRATEGY_NOT_SUPPORTED = 5;- See Also:
- Constant Field Values
-
INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE_VALUE
public static final int INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE_VALUE
The bidding strategy is incompatible with the campaign's bidding strategy goal type.
INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static BiddingStrategyErrorEnum.BiddingStrategyError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BiddingStrategyErrorEnum.BiddingStrategyError c : BiddingStrategyErrorEnum.BiddingStrategyError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BiddingStrategyErrorEnum.BiddingStrategyError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static BiddingStrategyErrorEnum.BiddingStrategyError valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static BiddingStrategyErrorEnum.BiddingStrategyError 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<BiddingStrategyErrorEnum.BiddingStrategyError> 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 BiddingStrategyErrorEnum.BiddingStrategyError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-