Enum Class CustomConversionGoalErrorEnum.CustomConversionGoalError
java.lang.Object
java.lang.Enum<CustomConversionGoalErrorEnum.CustomConversionGoalError>
com.google.ads.googleads.v18.errors.CustomConversionGoalErrorEnum.CustomConversionGoalError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CustomConversionGoalErrorEnum.CustomConversionGoalError>,Constable
- Enclosing class:
- CustomConversionGoalErrorEnum
public static enum CustomConversionGoalErrorEnum.CustomConversionGoalError
extends Enum<CustomConversionGoalErrorEnum.CustomConversionGoalError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible custom conversion goal errors.Protobuf enum
google.ads.googleads.v18.errors.CustomConversionGoalErrorEnum.CustomConversionGoalError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe custom conversion goal cannot be removed because it's linked to a campaign.The conversion action is not enabled so it cannot be included in a custom conversion goal.Custom goal with the same name already exists.Custom goal with the same conversion action list already exists.Cannot find a conversion action with the specified id.Conversion types that cannot be biddable should not be included in custom goal.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe custom conversion goal cannot be removed because it's linked to a campaign.static final intThe conversion action is not enabled so it cannot be included in a custom conversion goal.static final intCustom goal with the same name already exists.static final intCustom goal with the same conversion action list already exists.static final intCannot find a conversion action with the specified id.static final intConversion types that cannot be biddable should not be included in custom goal.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<CustomConversionGoalErrorEnum.CustomConversionGoalError>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; -
INVALID_CONVERSION_ACTION
public static final CustomConversionGoalErrorEnum.CustomConversionGoalError INVALID_CONVERSION_ACTIONCannot find a conversion action with the specified id.
INVALID_CONVERSION_ACTION = 2; -
CONVERSION_ACTION_NOT_ENABLED
public static final CustomConversionGoalErrorEnum.CustomConversionGoalError CONVERSION_ACTION_NOT_ENABLEDThe conversion action is not enabled so it cannot be included in a custom conversion goal.
CONVERSION_ACTION_NOT_ENABLED = 3; -
CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL
public static final CustomConversionGoalErrorEnum.CustomConversionGoalError CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOALThe custom conversion goal cannot be removed because it's linked to a campaign.
CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL = 4; -
CUSTOM_GOAL_DUPLICATE_NAME
public static final CustomConversionGoalErrorEnum.CustomConversionGoalError CUSTOM_GOAL_DUPLICATE_NAMECustom goal with the same name already exists.
CUSTOM_GOAL_DUPLICATE_NAME = 5; -
DUPLICATE_CONVERSION_ACTION_LIST
public static final CustomConversionGoalErrorEnum.CustomConversionGoalError DUPLICATE_CONVERSION_ACTION_LISTCustom goal with the same conversion action list already exists.
DUPLICATE_CONVERSION_ACTION_LIST = 6; -
NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL
public static final CustomConversionGoalErrorEnum.CustomConversionGoalError NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOALConversion types that cannot be biddable should not be included in custom goal.
NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL = 7; -
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:
-
INVALID_CONVERSION_ACTION_VALUE
public static final int INVALID_CONVERSION_ACTION_VALUECannot find a conversion action with the specified id.
INVALID_CONVERSION_ACTION = 2;- See Also:
-
CONVERSION_ACTION_NOT_ENABLED_VALUE
public static final int CONVERSION_ACTION_NOT_ENABLED_VALUEThe conversion action is not enabled so it cannot be included in a custom conversion goal.
CONVERSION_ACTION_NOT_ENABLED = 3;- See Also:
-
CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL_VALUE
public static final int CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL_VALUEThe custom conversion goal cannot be removed because it's linked to a campaign.
CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL = 4;- See Also:
-
CUSTOM_GOAL_DUPLICATE_NAME_VALUE
public static final int CUSTOM_GOAL_DUPLICATE_NAME_VALUECustom goal with the same name already exists.
CUSTOM_GOAL_DUPLICATE_NAME = 5;- See Also:
-
DUPLICATE_CONVERSION_ACTION_LIST_VALUE
public static final int DUPLICATE_CONVERSION_ACTION_LIST_VALUECustom goal with the same conversion action list already exists.
DUPLICATE_CONVERSION_ACTION_LIST = 6;- See Also:
-
NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL_VALUE
public static final int NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL_VALUEConversion types that cannot be biddable should not be included in custom goal.
NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL = 7;- 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 public static CustomConversionGoalErrorEnum.CustomConversionGoalError 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 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<CustomConversionGoalErrorEnum.CustomConversionGoalError> 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 CustomConversionGoalErrorEnum.CustomConversionGoalError 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
-