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
  • Enum Constant Details

    • 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 Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The 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_VALUE
       No 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_VALUE
       The 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_VALUE
       The 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_VALUE
       Removed 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_VALUE
       An 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_VALUE
       Text 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_VALUE
       A 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_VALUE
       An 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_VALUE
       AdGroupAds 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_VALUE
       AdGroupAds 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_VALUE
       An ad of this type is deprecated and cannot be updated. Only removals
       are permitted.
       
      CANNOT_UPDATE_DEPRECATED_ADS = 12;
      See Also:
  • Method Details

    • values

      public static AdGroupAdErrorEnum.AdGroupAdError[] 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

      public static AdGroupAdErrorEnum.AdGroupAdError valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static AdGroupAdErrorEnum.AdGroupAdError 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 name
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null