Enum Class ImageErrorEnum.ImageError

java.lang.Object
java.lang.Enum<ImageErrorEnum.ImageError>
com.google.ads.googleads.v18.errors.ImageErrorEnum.ImageError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ImageErrorEnum.ImageError>, Constable
Enclosing class:
ImageErrorEnum

public static enum ImageErrorEnum.ImageError extends Enum<ImageErrorEnum.ImageError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing possible image errors.
 
Protobuf enum google.ads.googleads.v18.errors.ImageErrorEnum.ImageError
  • Enum Constant Details

    • UNSPECIFIED

      public static final ImageErrorEnum.ImageError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final ImageErrorEnum.ImageError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • INVALID_IMAGE

      public static final ImageErrorEnum.ImageError INVALID_IMAGE
       The image is not valid.
       
      INVALID_IMAGE = 2;
    • STORAGE_ERROR

      public static final ImageErrorEnum.ImageError STORAGE_ERROR
       The image could not be stored.
       
      STORAGE_ERROR = 3;
    • BAD_REQUEST

      public static final ImageErrorEnum.ImageError BAD_REQUEST
       There was a problem with the request.
       
      BAD_REQUEST = 4;
    • UNEXPECTED_SIZE

      public static final ImageErrorEnum.ImageError UNEXPECTED_SIZE
       The image is not of legal dimensions.
       
      UNEXPECTED_SIZE = 5;
    • ANIMATED_NOT_ALLOWED

      public static final ImageErrorEnum.ImageError ANIMATED_NOT_ALLOWED
       Animated image are not permitted.
       
      ANIMATED_NOT_ALLOWED = 6;
    • ANIMATION_TOO_LONG

      public static final ImageErrorEnum.ImageError ANIMATION_TOO_LONG
       Animation is too long.
       
      ANIMATION_TOO_LONG = 7;
    • SERVER_ERROR

      public static final ImageErrorEnum.ImageError SERVER_ERROR
       There was an error on the server.
       
      SERVER_ERROR = 8;
    • CMYK_JPEG_NOT_ALLOWED

      public static final ImageErrorEnum.ImageError CMYK_JPEG_NOT_ALLOWED
       Image cannot be in CMYK color format.
       
      CMYK_JPEG_NOT_ALLOWED = 9;
    • FLASH_NOT_ALLOWED

      public static final ImageErrorEnum.ImageError FLASH_NOT_ALLOWED
       Flash images are not permitted.
       
      FLASH_NOT_ALLOWED = 10;
    • FLASH_WITHOUT_CLICKTAG

      public static final ImageErrorEnum.ImageError FLASH_WITHOUT_CLICKTAG
       Flash images must support clickTag.
       
      FLASH_WITHOUT_CLICKTAG = 11;
    • FLASH_ERROR_AFTER_FIXING_CLICK_TAG

      public static final ImageErrorEnum.ImageError FLASH_ERROR_AFTER_FIXING_CLICK_TAG
       A flash error has occurred after fixing the click tag.
       
      FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12;
    • ANIMATED_VISUAL_EFFECT

      public static final ImageErrorEnum.ImageError ANIMATED_VISUAL_EFFECT
       Unacceptable visual effects.
       
      ANIMATED_VISUAL_EFFECT = 13;
    • FLASH_ERROR

      public static final ImageErrorEnum.ImageError FLASH_ERROR
       There was a problem with the flash image.
       
      FLASH_ERROR = 14;
    • LAYOUT_PROBLEM

      public static final ImageErrorEnum.ImageError LAYOUT_PROBLEM
       Incorrect image layout.
       
      LAYOUT_PROBLEM = 15;
    • PROBLEM_READING_IMAGE_FILE

      public static final ImageErrorEnum.ImageError PROBLEM_READING_IMAGE_FILE
       There was a problem reading the image file.
       
      PROBLEM_READING_IMAGE_FILE = 16;
    • ERROR_STORING_IMAGE

      public static final ImageErrorEnum.ImageError ERROR_STORING_IMAGE
       There was an error storing the image.
       
      ERROR_STORING_IMAGE = 17;
    • ASPECT_RATIO_NOT_ALLOWED

      public static final ImageErrorEnum.ImageError ASPECT_RATIO_NOT_ALLOWED
       The aspect ratio of the image is not allowed.
       
      ASPECT_RATIO_NOT_ALLOWED = 18;
    • FLASH_HAS_NETWORK_OBJECTS

      public static final ImageErrorEnum.ImageError FLASH_HAS_NETWORK_OBJECTS
       Flash cannot have network objects.
       
      FLASH_HAS_NETWORK_OBJECTS = 19;
    • FLASH_HAS_NETWORK_METHODS

      public static final ImageErrorEnum.ImageError FLASH_HAS_NETWORK_METHODS
       Flash cannot have network methods.
       
      FLASH_HAS_NETWORK_METHODS = 20;
    • FLASH_HAS_URL

      public static final ImageErrorEnum.ImageError FLASH_HAS_URL
       Flash cannot have a Url.
       
      FLASH_HAS_URL = 21;
    • FLASH_HAS_MOUSE_TRACKING

      public static final ImageErrorEnum.ImageError FLASH_HAS_MOUSE_TRACKING
       Flash cannot use mouse tracking.
       
      FLASH_HAS_MOUSE_TRACKING = 22;
    • FLASH_HAS_RANDOM_NUM

      public static final ImageErrorEnum.ImageError FLASH_HAS_RANDOM_NUM
       Flash cannot have a random number.
       
      FLASH_HAS_RANDOM_NUM = 23;
    • FLASH_SELF_TARGETS

      public static final ImageErrorEnum.ImageError FLASH_SELF_TARGETS
       Ad click target cannot be '_self'.
       
      FLASH_SELF_TARGETS = 24;
    • FLASH_BAD_GETURL_TARGET

      public static final ImageErrorEnum.ImageError FLASH_BAD_GETURL_TARGET
       GetUrl method should only use '_blank'.
       
      FLASH_BAD_GETURL_TARGET = 25;
    • FLASH_VERSION_NOT_SUPPORTED

      public static final ImageErrorEnum.ImageError FLASH_VERSION_NOT_SUPPORTED
       Flash version is not supported.
       
      FLASH_VERSION_NOT_SUPPORTED = 26;
    • FLASH_WITHOUT_HARD_CODED_CLICK_URL

      public static final ImageErrorEnum.ImageError FLASH_WITHOUT_HARD_CODED_CLICK_URL
       Flash movies need to have hard coded click URL or clickTAG
       
      FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27;
    • INVALID_FLASH_FILE

      public static final ImageErrorEnum.ImageError INVALID_FLASH_FILE
       Uploaded flash file is corrupted.
       
      INVALID_FLASH_FILE = 28;
    • FAILED_TO_FIX_CLICK_TAG_IN_FLASH

      public static final ImageErrorEnum.ImageError FAILED_TO_FIX_CLICK_TAG_IN_FLASH
       Uploaded flash file can be parsed, but the click tag can not be fixed
       properly.
       
      FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29;
    • FLASH_ACCESSES_NETWORK_RESOURCES

      public static final ImageErrorEnum.ImageError FLASH_ACCESSES_NETWORK_RESOURCES
       Flash movie accesses network resources
       
      FLASH_ACCESSES_NETWORK_RESOURCES = 30;
    • FLASH_EXTERNAL_JS_CALL

      public static final ImageErrorEnum.ImageError FLASH_EXTERNAL_JS_CALL
       Flash movie attempts to call external javascript code
       
      FLASH_EXTERNAL_JS_CALL = 31;
    • FLASH_EXTERNAL_FS_CALL

      public static final ImageErrorEnum.ImageError FLASH_EXTERNAL_FS_CALL
       Flash movie attempts to call flash system commands
       
      FLASH_EXTERNAL_FS_CALL = 32;
    • FILE_TOO_LARGE

      public static final ImageErrorEnum.ImageError FILE_TOO_LARGE
       Image file is too large.
       
      FILE_TOO_LARGE = 33;
    • IMAGE_DATA_TOO_LARGE

      public static final ImageErrorEnum.ImageError IMAGE_DATA_TOO_LARGE
       Image data is too large.
       
      IMAGE_DATA_TOO_LARGE = 34;
    • IMAGE_PROCESSING_ERROR

      public static final ImageErrorEnum.ImageError IMAGE_PROCESSING_ERROR
       Error while processing the image.
       
      IMAGE_PROCESSING_ERROR = 35;
    • IMAGE_TOO_SMALL

      public static final ImageErrorEnum.ImageError IMAGE_TOO_SMALL
       Image is too small.
       
      IMAGE_TOO_SMALL = 36;
    • INVALID_INPUT

      public static final ImageErrorEnum.ImageError INVALID_INPUT
       Input was invalid.
       
      INVALID_INPUT = 37;
    • PROBLEM_READING_FILE

      public static final ImageErrorEnum.ImageError PROBLEM_READING_FILE
       There was a problem reading the image file.
       
      PROBLEM_READING_FILE = 38;
    • IMAGE_CONSTRAINTS_VIOLATED

      public static final ImageErrorEnum.ImageError IMAGE_CONSTRAINTS_VIOLATED
       Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED
       can't be provided. This happens when asset spec contains more than one
       constraint and different criteria of different constraints are violated.
       
      IMAGE_CONSTRAINTS_VIOLATED = 39;
    • FORMAT_NOT_ALLOWED

      public static final ImageErrorEnum.ImageError FORMAT_NOT_ALLOWED
       Image format is not allowed.
       
      FORMAT_NOT_ALLOWED = 40;
    • UNRECOGNIZED

      public static final ImageErrorEnum.ImageError 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:
    • INVALID_IMAGE_VALUE

      public static final int INVALID_IMAGE_VALUE
       The image is not valid.
       
      INVALID_IMAGE = 2;
      See Also:
    • STORAGE_ERROR_VALUE

      public static final int STORAGE_ERROR_VALUE
       The image could not be stored.
       
      STORAGE_ERROR = 3;
      See Also:
    • BAD_REQUEST_VALUE

      public static final int BAD_REQUEST_VALUE
       There was a problem with the request.
       
      BAD_REQUEST = 4;
      See Also:
    • UNEXPECTED_SIZE_VALUE

      public static final int UNEXPECTED_SIZE_VALUE
       The image is not of legal dimensions.
       
      UNEXPECTED_SIZE = 5;
      See Also:
    • ANIMATED_NOT_ALLOWED_VALUE

      public static final int ANIMATED_NOT_ALLOWED_VALUE
       Animated image are not permitted.
       
      ANIMATED_NOT_ALLOWED = 6;
      See Also:
    • ANIMATION_TOO_LONG_VALUE

      public static final int ANIMATION_TOO_LONG_VALUE
       Animation is too long.
       
      ANIMATION_TOO_LONG = 7;
      See Also:
    • SERVER_ERROR_VALUE

      public static final int SERVER_ERROR_VALUE
       There was an error on the server.
       
      SERVER_ERROR = 8;
      See Also:
    • CMYK_JPEG_NOT_ALLOWED_VALUE

      public static final int CMYK_JPEG_NOT_ALLOWED_VALUE
       Image cannot be in CMYK color format.
       
      CMYK_JPEG_NOT_ALLOWED = 9;
      See Also:
    • FLASH_NOT_ALLOWED_VALUE

      public static final int FLASH_NOT_ALLOWED_VALUE
       Flash images are not permitted.
       
      FLASH_NOT_ALLOWED = 10;
      See Also:
    • FLASH_WITHOUT_CLICKTAG_VALUE

      public static final int FLASH_WITHOUT_CLICKTAG_VALUE
       Flash images must support clickTag.
       
      FLASH_WITHOUT_CLICKTAG = 11;
      See Also:
    • FLASH_ERROR_AFTER_FIXING_CLICK_TAG_VALUE

      public static final int FLASH_ERROR_AFTER_FIXING_CLICK_TAG_VALUE
       A flash error has occurred after fixing the click tag.
       
      FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12;
      See Also:
    • ANIMATED_VISUAL_EFFECT_VALUE

      public static final int ANIMATED_VISUAL_EFFECT_VALUE
       Unacceptable visual effects.
       
      ANIMATED_VISUAL_EFFECT = 13;
      See Also:
    • FLASH_ERROR_VALUE

      public static final int FLASH_ERROR_VALUE
       There was a problem with the flash image.
       
      FLASH_ERROR = 14;
      See Also:
    • LAYOUT_PROBLEM_VALUE

      public static final int LAYOUT_PROBLEM_VALUE
       Incorrect image layout.
       
      LAYOUT_PROBLEM = 15;
      See Also:
    • PROBLEM_READING_IMAGE_FILE_VALUE

      public static final int PROBLEM_READING_IMAGE_FILE_VALUE
       There was a problem reading the image file.
       
      PROBLEM_READING_IMAGE_FILE = 16;
      See Also:
    • ERROR_STORING_IMAGE_VALUE

      public static final int ERROR_STORING_IMAGE_VALUE
       There was an error storing the image.
       
      ERROR_STORING_IMAGE = 17;
      See Also:
    • ASPECT_RATIO_NOT_ALLOWED_VALUE

      public static final int ASPECT_RATIO_NOT_ALLOWED_VALUE
       The aspect ratio of the image is not allowed.
       
      ASPECT_RATIO_NOT_ALLOWED = 18;
      See Also:
    • FLASH_HAS_NETWORK_OBJECTS_VALUE

      public static final int FLASH_HAS_NETWORK_OBJECTS_VALUE
       Flash cannot have network objects.
       
      FLASH_HAS_NETWORK_OBJECTS = 19;
      See Also:
    • FLASH_HAS_NETWORK_METHODS_VALUE

      public static final int FLASH_HAS_NETWORK_METHODS_VALUE
       Flash cannot have network methods.
       
      FLASH_HAS_NETWORK_METHODS = 20;
      See Also:
    • FLASH_HAS_URL_VALUE

      public static final int FLASH_HAS_URL_VALUE
       Flash cannot have a Url.
       
      FLASH_HAS_URL = 21;
      See Also:
    • FLASH_HAS_MOUSE_TRACKING_VALUE

      public static final int FLASH_HAS_MOUSE_TRACKING_VALUE
       Flash cannot use mouse tracking.
       
      FLASH_HAS_MOUSE_TRACKING = 22;
      See Also:
    • FLASH_HAS_RANDOM_NUM_VALUE

      public static final int FLASH_HAS_RANDOM_NUM_VALUE
       Flash cannot have a random number.
       
      FLASH_HAS_RANDOM_NUM = 23;
      See Also:
    • FLASH_SELF_TARGETS_VALUE

      public static final int FLASH_SELF_TARGETS_VALUE
       Ad click target cannot be '_self'.
       
      FLASH_SELF_TARGETS = 24;
      See Also:
    • FLASH_BAD_GETURL_TARGET_VALUE

      public static final int FLASH_BAD_GETURL_TARGET_VALUE
       GetUrl method should only use '_blank'.
       
      FLASH_BAD_GETURL_TARGET = 25;
      See Also:
    • FLASH_VERSION_NOT_SUPPORTED_VALUE

      public static final int FLASH_VERSION_NOT_SUPPORTED_VALUE
       Flash version is not supported.
       
      FLASH_VERSION_NOT_SUPPORTED = 26;
      See Also:
    • FLASH_WITHOUT_HARD_CODED_CLICK_URL_VALUE

      public static final int FLASH_WITHOUT_HARD_CODED_CLICK_URL_VALUE
       Flash movies need to have hard coded click URL or clickTAG
       
      FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27;
      See Also:
    • INVALID_FLASH_FILE_VALUE

      public static final int INVALID_FLASH_FILE_VALUE
       Uploaded flash file is corrupted.
       
      INVALID_FLASH_FILE = 28;
      See Also:
    • FAILED_TO_FIX_CLICK_TAG_IN_FLASH_VALUE

      public static final int FAILED_TO_FIX_CLICK_TAG_IN_FLASH_VALUE
       Uploaded flash file can be parsed, but the click tag can not be fixed
       properly.
       
      FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29;
      See Also:
    • FLASH_ACCESSES_NETWORK_RESOURCES_VALUE

      public static final int FLASH_ACCESSES_NETWORK_RESOURCES_VALUE
       Flash movie accesses network resources
       
      FLASH_ACCESSES_NETWORK_RESOURCES = 30;
      See Also:
    • FLASH_EXTERNAL_JS_CALL_VALUE

      public static final int FLASH_EXTERNAL_JS_CALL_VALUE
       Flash movie attempts to call external javascript code
       
      FLASH_EXTERNAL_JS_CALL = 31;
      See Also:
    • FLASH_EXTERNAL_FS_CALL_VALUE

      public static final int FLASH_EXTERNAL_FS_CALL_VALUE
       Flash movie attempts to call flash system commands
       
      FLASH_EXTERNAL_FS_CALL = 32;
      See Also:
    • FILE_TOO_LARGE_VALUE

      public static final int FILE_TOO_LARGE_VALUE
       Image file is too large.
       
      FILE_TOO_LARGE = 33;
      See Also:
    • IMAGE_DATA_TOO_LARGE_VALUE

      public static final int IMAGE_DATA_TOO_LARGE_VALUE
       Image data is too large.
       
      IMAGE_DATA_TOO_LARGE = 34;
      See Also:
    • IMAGE_PROCESSING_ERROR_VALUE

      public static final int IMAGE_PROCESSING_ERROR_VALUE
       Error while processing the image.
       
      IMAGE_PROCESSING_ERROR = 35;
      See Also:
    • IMAGE_TOO_SMALL_VALUE

      public static final int IMAGE_TOO_SMALL_VALUE
       Image is too small.
       
      IMAGE_TOO_SMALL = 36;
      See Also:
    • INVALID_INPUT_VALUE

      public static final int INVALID_INPUT_VALUE
       Input was invalid.
       
      INVALID_INPUT = 37;
      See Also:
    • PROBLEM_READING_FILE_VALUE

      public static final int PROBLEM_READING_FILE_VALUE
       There was a problem reading the image file.
       
      PROBLEM_READING_FILE = 38;
      See Also:
    • IMAGE_CONSTRAINTS_VIOLATED_VALUE

      public static final int IMAGE_CONSTRAINTS_VIOLATED_VALUE
       Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED
       can't be provided. This happens when asset spec contains more than one
       constraint and different criteria of different constraints are violated.
       
      IMAGE_CONSTRAINTS_VIOLATED = 39;
      See Also:
    • FORMAT_NOT_ALLOWED_VALUE

      public static final int FORMAT_NOT_ALLOWED_VALUE
       Image format is not allowed.
       
      FORMAT_NOT_ALLOWED = 40;
      See Also:
  • Method Details

    • values

      public static ImageErrorEnum.ImageError[] 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 ImageErrorEnum.ImageError 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 ImageErrorEnum.ImageError 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 ImageErrorEnum.ImageError 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<ImageErrorEnum.ImageError> 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 ImageErrorEnum.ImageError 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