Enum AdGroupAdErrorEnum.AdGroupAdError
- java.lang.Object
-
- java.lang.Enum<AdGroupAdErrorEnum.AdGroupAdError>
-
- com.google.ads.googleads.v10.errors.AdGroupAdErrorEnum.AdGroupAdError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<AdGroupAdErrorEnum.AdGroupAdError>
- Enclosing class:
- AdGroupAdErrorEnum
public static enum AdGroupAdErrorEnum.AdGroupAdError extends java.lang.Enum<AdGroupAdErrorEnum.AdGroupAdError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible ad group ad errors.
Protobuf enumgoogle.ads.googleads.v10.errors.AdGroupAdErrorEnum.AdGroupAdError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_GROUP_AD_LABEL_ALREADY_EXISTSThe label has already been attached to the adgroup ad.AD_GROUP_AD_LABEL_DOES_NOT_EXISTNo link found between the adgroup ad and the label.AD_NOT_UNDER_ADGROUPThe specified ad was not found in the adgroupAD_TYPE_CANNOT_BE_PAUSEDAdGroupAds with the given ad type cannot be paused.AD_TYPE_CANNOT_BE_REMOVEDAdGroupAds with the given ad type cannot be removed.CANNOT_CREATE_DEPRECATED_ADSAn ad of this type is deprecated and cannot be created.CANNOT_CREATE_TEXT_ADSText ads are deprecated and cannot be created.CANNOT_OPERATE_ON_REMOVED_ADGROUPADRemoved ads may not be modifiedCANNOT_UPDATE_DEPRECATED_ADSAn ad of this type is deprecated and cannot be updated.EMPTY_FIELDA required field was not specified or is an empty string.RESOURCE_REFERENCED_IN_MULTIPLE_OPSAn ad may only be modified once per callUNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intAD_GROUP_AD_LABEL_ALREADY_EXISTS_VALUEThe label has already been attached to the adgroup ad.static intAD_GROUP_AD_LABEL_DOES_NOT_EXIST_VALUENo link found between the adgroup ad and the label.static intAD_NOT_UNDER_ADGROUP_VALUEThe specified ad was not found in the adgroupstatic intAD_TYPE_CANNOT_BE_PAUSED_VALUEAdGroupAds with the given ad type cannot be paused.static intAD_TYPE_CANNOT_BE_REMOVED_VALUEAdGroupAds with the given ad type cannot be removed.static intCANNOT_CREATE_DEPRECATED_ADS_VALUEAn ad of this type is deprecated and cannot be created.static intCANNOT_CREATE_TEXT_ADS_VALUEText ads are deprecated and cannot be created.static intCANNOT_OPERATE_ON_REMOVED_ADGROUPAD_VALUERemoved ads may not be modifiedstatic intCANNOT_UPDATE_DEPRECATED_ADS_VALUEAn ad of this type is deprecated and cannot be updated.static intEMPTY_FIELD_VALUEA required field was not specified or is an empty string.static intRESOURCE_REFERENCED_IN_MULTIPLE_OPS_VALUEAn ad may only be modified once per callstatic 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 AdGroupAdErrorEnum.AdGroupAdErrorforNumber(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<AdGroupAdErrorEnum.AdGroupAdError>internalGetValueMap()static AdGroupAdErrorEnum.AdGroupAdErrorvalueOf(int value)Deprecated.static AdGroupAdErrorEnum.AdGroupAdErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AdGroupAdErrorEnum.AdGroupAdErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AdGroupAdErrorEnum.AdGroupAdError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final AdGroupAdErrorEnum.AdGroupAdError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final AdGroupAdErrorEnum.AdGroupAdError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
AD_GROUP_AD_LABEL_DOES_NOT_EXIST
public static final AdGroupAdErrorEnum.AdGroupAdError AD_GROUP_AD_LABEL_DOES_NOT_EXIST
No link found between the adgroup ad and the label.
AD_GROUP_AD_LABEL_DOES_NOT_EXIST = 2;
-
AD_GROUP_AD_LABEL_ALREADY_EXISTS
public static final AdGroupAdErrorEnum.AdGroupAdError AD_GROUP_AD_LABEL_ALREADY_EXISTS
The label has already been attached to the adgroup ad.
AD_GROUP_AD_LABEL_ALREADY_EXISTS = 3;
-
AD_NOT_UNDER_ADGROUP
public static final AdGroupAdErrorEnum.AdGroupAdError AD_NOT_UNDER_ADGROUP
The specified ad was not found in the adgroup
AD_NOT_UNDER_ADGROUP = 4;
-
CANNOT_OPERATE_ON_REMOVED_ADGROUPAD
public static final AdGroupAdErrorEnum.AdGroupAdError CANNOT_OPERATE_ON_REMOVED_ADGROUPAD
Removed ads may not be modified
CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = 5;
-
CANNOT_CREATE_DEPRECATED_ADS
public static final AdGroupAdErrorEnum.AdGroupAdError CANNOT_CREATE_DEPRECATED_ADS
An ad of this type is deprecated and cannot be created. Only deletions are permitted.
CANNOT_CREATE_DEPRECATED_ADS = 6;
-
CANNOT_CREATE_TEXT_ADS
public static final AdGroupAdErrorEnum.AdGroupAdError CANNOT_CREATE_TEXT_ADS
Text ads are deprecated and cannot be created. Use expanded text ads instead.
CANNOT_CREATE_TEXT_ADS = 7;
-
EMPTY_FIELD
public static final AdGroupAdErrorEnum.AdGroupAdError EMPTY_FIELD
A required field was not specified or is an empty string.
EMPTY_FIELD = 8;
-
RESOURCE_REFERENCED_IN_MULTIPLE_OPS
public static final AdGroupAdErrorEnum.AdGroupAdError RESOURCE_REFERENCED_IN_MULTIPLE_OPS
An ad may only be modified once per call
RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 9;
-
AD_TYPE_CANNOT_BE_PAUSED
public static final AdGroupAdErrorEnum.AdGroupAdError AD_TYPE_CANNOT_BE_PAUSED
AdGroupAds with the given ad type cannot be paused.
AD_TYPE_CANNOT_BE_PAUSED = 10;
-
AD_TYPE_CANNOT_BE_REMOVED
public static final AdGroupAdErrorEnum.AdGroupAdError AD_TYPE_CANNOT_BE_REMOVED
AdGroupAds with the given ad type cannot be removed.
AD_TYPE_CANNOT_BE_REMOVED = 11;
-
CANNOT_UPDATE_DEPRECATED_ADS
public static final AdGroupAdErrorEnum.AdGroupAdError CANNOT_UPDATE_DEPRECATED_ADS
An ad of this type is deprecated and cannot be updated. Only removals are permitted.
CANNOT_UPDATE_DEPRECATED_ADS = 12;
-
UNRECOGNIZED
public static final AdGroupAdErrorEnum.AdGroupAdError 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
-
AD_GROUP_AD_LABEL_DOES_NOT_EXIST_VALUE
public static final int AD_GROUP_AD_LABEL_DOES_NOT_EXIST_VALUE
No link found between the adgroup ad and the label.
AD_GROUP_AD_LABEL_DOES_NOT_EXIST = 2;- See Also:
- Constant Field Values
-
AD_GROUP_AD_LABEL_ALREADY_EXISTS_VALUE
public static final int AD_GROUP_AD_LABEL_ALREADY_EXISTS_VALUE
The label has already been attached to the adgroup ad.
AD_GROUP_AD_LABEL_ALREADY_EXISTS = 3;- See Also:
- Constant Field Values
-
AD_NOT_UNDER_ADGROUP_VALUE
public static final int AD_NOT_UNDER_ADGROUP_VALUE
The specified ad was not found in the adgroup
AD_NOT_UNDER_ADGROUP = 4;- See Also:
- Constant Field Values
-
CANNOT_OPERATE_ON_REMOVED_ADGROUPAD_VALUE
public static final int CANNOT_OPERATE_ON_REMOVED_ADGROUPAD_VALUE
Removed ads may not be modified
CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = 5;- See Also:
- Constant Field Values
-
CANNOT_CREATE_DEPRECATED_ADS_VALUE
public static final int CANNOT_CREATE_DEPRECATED_ADS_VALUE
An ad of this type is deprecated and cannot be created. Only deletions are permitted.
CANNOT_CREATE_DEPRECATED_ADS = 6;- See Also:
- Constant Field Values
-
CANNOT_CREATE_TEXT_ADS_VALUE
public static final int CANNOT_CREATE_TEXT_ADS_VALUE
Text ads are deprecated and cannot be created. Use expanded text ads instead.
CANNOT_CREATE_TEXT_ADS = 7;- See Also:
- Constant Field Values
-
EMPTY_FIELD_VALUE
public static final int EMPTY_FIELD_VALUE
A required field was not specified or is an empty string.
EMPTY_FIELD = 8;- See Also:
- Constant Field Values
-
RESOURCE_REFERENCED_IN_MULTIPLE_OPS_VALUE
public static final int RESOURCE_REFERENCED_IN_MULTIPLE_OPS_VALUE
An ad may only be modified once per call
RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 9;- See Also:
- Constant Field Values
-
AD_TYPE_CANNOT_BE_PAUSED_VALUE
public static final int AD_TYPE_CANNOT_BE_PAUSED_VALUE
AdGroupAds with the given ad type cannot be paused.
AD_TYPE_CANNOT_BE_PAUSED = 10;- See Also:
- Constant Field Values
-
AD_TYPE_CANNOT_BE_REMOVED_VALUE
public static final int AD_TYPE_CANNOT_BE_REMOVED_VALUE
AdGroupAds with the given ad type cannot be removed.
AD_TYPE_CANNOT_BE_REMOVED = 11;- See Also:
- Constant Field Values
-
CANNOT_UPDATE_DEPRECATED_ADS_VALUE
public static final int CANNOT_UPDATE_DEPRECATED_ADS_VALUE
An ad of this type is deprecated and cannot be updated. Only removals are permitted.
CANNOT_UPDATE_DEPRECATED_ADS = 12;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AdGroupAdErrorEnum.AdGroupAdError[] 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 (AdGroupAdErrorEnum.AdGroupAdError c : AdGroupAdErrorEnum.AdGroupAdError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdGroupAdErrorEnum.AdGroupAdError 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 AdGroupAdErrorEnum.AdGroupAdError 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 AdGroupAdErrorEnum.AdGroupAdError 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<AdGroupAdErrorEnum.AdGroupAdError> 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 AdGroupAdErrorEnum.AdGroupAdError 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
-
-