Enum Class AdGroupAdErrorEnum.AdGroupAdError
java.lang.Object
java.lang.Enum<AdGroupAdErrorEnum.AdGroupAdError>
com.google.ads.googleads.v18.errors.AdGroupAdErrorEnum.AdGroupAdError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AdGroupAdErrorEnum.AdGroupAdError>,Constable
- Enclosing class:
- AdGroupAdErrorEnum
public static enum AdGroupAdErrorEnum.AdGroupAdError
extends Enum<AdGroupAdErrorEnum.AdGroupAdError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible ad group ad errors.Protobuf enum
google.ads.googleads.v18.errors.AdGroupAdErrorEnum.AdGroupAdError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe label has already been attached to the adgroup ad.No link found between the adgroup ad and the label.The specified ad was not found in the adgroupAdGroupAds with the given ad type cannot be paused.AdGroupAds with the given ad type cannot be removed.An ad of this type is deprecated and cannot be created.Text ads are deprecated and cannot be created.Removed ads may not be modifiedAn ad of this type is deprecated and cannot be updated.A required field was not specified or is an empty string.An ad may only be modified once per callThe received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe label has already been attached to the adgroup ad.static final intNo link found between the adgroup ad and the label.static final intThe specified ad was not found in the adgroupstatic final intAdGroupAds with the given ad type cannot be paused.static final intAdGroupAds with the given ad type cannot be removed.static final intAn ad of this type is deprecated and cannot be created.static final intText ads are deprecated and cannot be created.static final intRemoved ads may not be modifiedstatic final intAn ad of this type is deprecated and cannot be updated.static final intA required field was not specified or is an empty string.static final intAn ad may only be modified once per callstatic 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<AdGroupAdErrorEnum.AdGroupAdError>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.static AdGroupAdErrorEnum.AdGroupAdError[]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; -
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
The label has already been attached to the adgroup ad.
AD_GROUP_AD_LABEL_ALREADY_EXISTS = 3; -
AD_NOT_UNDER_ADGROUP
The specified ad was not found in the adgroup
AD_NOT_UNDER_ADGROUP = 4; -
CANNOT_OPERATE_ON_REMOVED_ADGROUPAD
Removed ads may not be modified
CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = 5; -
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
Text ads are deprecated and cannot be created. Use expanded text ads instead.
CANNOT_CREATE_TEXT_ADS = 7; -
EMPTY_FIELD
A required field was not specified or is an empty string.
EMPTY_FIELD = 8; -
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
AdGroupAds with the given ad type cannot be paused.
AD_TYPE_CANNOT_BE_PAUSED = 10; -
AD_TYPE_CANNOT_BE_REMOVED
AdGroupAds with the given ad type cannot be removed.
AD_TYPE_CANNOT_BE_REMOVED = 11; -
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
-
-
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:
-
AD_GROUP_AD_LABEL_DOES_NOT_EXIST_VALUE
public static final int AD_GROUP_AD_LABEL_DOES_NOT_EXIST_VALUENo link found between the adgroup ad and the label.
AD_GROUP_AD_LABEL_DOES_NOT_EXIST = 2;- See Also:
-
AD_GROUP_AD_LABEL_ALREADY_EXISTS_VALUE
public static final int AD_GROUP_AD_LABEL_ALREADY_EXISTS_VALUEThe label has already been attached to the adgroup ad.
AD_GROUP_AD_LABEL_ALREADY_EXISTS = 3;- See Also:
-
AD_NOT_UNDER_ADGROUP_VALUE
public static final int AD_NOT_UNDER_ADGROUP_VALUEThe specified ad was not found in the adgroup
AD_NOT_UNDER_ADGROUP = 4;- See Also:
-
CANNOT_OPERATE_ON_REMOVED_ADGROUPAD_VALUE
public static final int CANNOT_OPERATE_ON_REMOVED_ADGROUPAD_VALUERemoved ads may not be modified
CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = 5;- See Also:
-
CANNOT_CREATE_DEPRECATED_ADS_VALUE
public static final int CANNOT_CREATE_DEPRECATED_ADS_VALUEAn ad of this type is deprecated and cannot be created. Only deletions are permitted.
CANNOT_CREATE_DEPRECATED_ADS = 6;- See Also:
-
CANNOT_CREATE_TEXT_ADS_VALUE
public static final int CANNOT_CREATE_TEXT_ADS_VALUEText ads are deprecated and cannot be created. Use expanded text ads instead.
CANNOT_CREATE_TEXT_ADS = 7;- See Also:
-
EMPTY_FIELD_VALUE
public static final int EMPTY_FIELD_VALUEA required field was not specified or is an empty string.
EMPTY_FIELD = 8;- See Also:
-
RESOURCE_REFERENCED_IN_MULTIPLE_OPS_VALUE
public static final int RESOURCE_REFERENCED_IN_MULTIPLE_OPS_VALUEAn ad may only be modified once per call
RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 9;- See Also:
-
AD_TYPE_CANNOT_BE_PAUSED_VALUE
public static final int AD_TYPE_CANNOT_BE_PAUSED_VALUEAdGroupAds with the given ad type cannot be paused.
AD_TYPE_CANNOT_BE_PAUSED = 10;- See Also:
-
AD_TYPE_CANNOT_BE_REMOVED_VALUE
public static final int AD_TYPE_CANNOT_BE_REMOVED_VALUEAdGroupAds with the given ad type cannot be removed.
AD_TYPE_CANNOT_BE_REMOVED = 11;- See Also:
-
CANNOT_UPDATE_DEPRECATED_ADS_VALUE
public static final int CANNOT_UPDATE_DEPRECATED_ADS_VALUEAn ad of this type is deprecated and cannot be updated. Only removals are permitted.
CANNOT_UPDATE_DEPRECATED_ADS = 12;- 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<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 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
-