Enum MediaBundleErrorEnum.MediaBundleError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<MediaBundleErrorEnum.MediaBundleError>
    Enclosing class:
    MediaBundleErrorEnum

    public static enum MediaBundleErrorEnum.MediaBundleError
    extends java.lang.Enum<MediaBundleErrorEnum.MediaBundleError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible media bundle errors.
     
    Protobuf enum google.ads.googleads.v10.errors.MediaBundleErrorEnum.MediaBundleError
    • 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
      • BAD_REQUEST_VALUE

        public static final int BAD_REQUEST_VALUE
         There was a problem with the request.
         
        BAD_REQUEST = 3;
        See Also:
        Constant Field Values
      • DOUBLECLICK_BUNDLE_NOT_ALLOWED_VALUE

        public static final int DOUBLECLICK_BUNDLE_NOT_ALLOWED_VALUE
         HTML5 ads using DoubleClick Studio created ZIP files are not supported.
         
        DOUBLECLICK_BUNDLE_NOT_ALLOWED = 4;
        See Also:
        Constant Field Values
      • EXTERNAL_URL_NOT_ALLOWED_VALUE

        public static final int EXTERNAL_URL_NOT_ALLOWED_VALUE
         Cannot reference URL external to the media bundle.
         
        EXTERNAL_URL_NOT_ALLOWED = 5;
        See Also:
        Constant Field Values
      • FILE_TOO_LARGE_VALUE

        public static final int FILE_TOO_LARGE_VALUE
         Media bundle file is too large.
         
        FILE_TOO_LARGE = 6;
        See Also:
        Constant Field Values
      • GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED_VALUE

        public static final int GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED_VALUE
         ZIP file from Google Web Designer is not published.
         
        GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 7;
        See Also:
        Constant Field Values
      • INVALID_INPUT_VALUE

        public static final int INVALID_INPUT_VALUE
         Input was invalid.
         
        INVALID_INPUT = 8;
        See Also:
        Constant Field Values
      • INVALID_MEDIA_BUNDLE_VALUE

        public static final int INVALID_MEDIA_BUNDLE_VALUE
         There was a problem with the media bundle.
         
        INVALID_MEDIA_BUNDLE = 9;
        See Also:
        Constant Field Values
      • INVALID_MEDIA_BUNDLE_ENTRY_VALUE

        public static final int INVALID_MEDIA_BUNDLE_ENTRY_VALUE
         There was a problem with one or more of the media bundle entries.
         
        INVALID_MEDIA_BUNDLE_ENTRY = 10;
        See Also:
        Constant Field Values
      • INVALID_MIME_TYPE_VALUE

        public static final int INVALID_MIME_TYPE_VALUE
         The media bundle contains a file with an unknown mime type
         
        INVALID_MIME_TYPE = 11;
        See Also:
        Constant Field Values
      • INVALID_PATH_VALUE

        public static final int INVALID_PATH_VALUE
         The media bundle contain an invalid asset path.
         
        INVALID_PATH = 12;
        See Also:
        Constant Field Values
      • INVALID_URL_REFERENCE_VALUE

        public static final int INVALID_URL_REFERENCE_VALUE
         HTML5 ad is trying to reference an asset not in .ZIP file
         
        INVALID_URL_REFERENCE = 13;
        See Also:
        Constant Field Values
      • MEDIA_DATA_TOO_LARGE_VALUE

        public static final int MEDIA_DATA_TOO_LARGE_VALUE
         Media data is too large.
         
        MEDIA_DATA_TOO_LARGE = 14;
        See Also:
        Constant Field Values
      • MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY_VALUE

        public static final int MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY_VALUE
         The media bundle contains no primary entry.
         
        MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 15;
        See Also:
        Constant Field Values
      • SERVER_ERROR_VALUE

        public static final int SERVER_ERROR_VALUE
         There was an error on the server.
         
        SERVER_ERROR = 16;
        See Also:
        Constant Field Values
      • STORAGE_ERROR_VALUE

        public static final int STORAGE_ERROR_VALUE
         The image could not be stored.
         
        STORAGE_ERROR = 17;
        See Also:
        Constant Field Values
      • SWIFFY_BUNDLE_NOT_ALLOWED_VALUE

        public static final int SWIFFY_BUNDLE_NOT_ALLOWED_VALUE
         Media bundle created with the Swiffy tool is not allowed.
         
        SWIFFY_BUNDLE_NOT_ALLOWED = 18;
        See Also:
        Constant Field Values
      • TOO_MANY_FILES_VALUE

        public static final int TOO_MANY_FILES_VALUE
         The media bundle contains too many files.
         
        TOO_MANY_FILES = 19;
        See Also:
        Constant Field Values
      • UNEXPECTED_SIZE_VALUE

        public static final int UNEXPECTED_SIZE_VALUE
         The media bundle is not of legal dimensions.
         
        UNEXPECTED_SIZE = 20;
        See Also:
        Constant Field Values
      • UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT_VALUE

        public static final int UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT_VALUE
         Google Web Designer not created for "Google Ads" environment.
         
        UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 21;
        See Also:
        Constant Field Values
      • UNSUPPORTED_HTML5_FEATURE_VALUE

        public static final int UNSUPPORTED_HTML5_FEATURE_VALUE
         Unsupported HTML5 feature in HTML5 asset.
         
        UNSUPPORTED_HTML5_FEATURE = 22;
        See Also:
        Constant Field Values
      • URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT_VALUE

        public static final int URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT_VALUE
         URL in HTML5 entry is not ssl compliant.
         
        URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23;
        See Also:
        Constant Field Values
      • CUSTOM_EXIT_NOT_ALLOWED_VALUE

        public static final int CUSTOM_EXIT_NOT_ALLOWED_VALUE
         Custom exits not allowed in HTML5 entry.
         
        CUSTOM_EXIT_NOT_ALLOWED = 24;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static MediaBundleErrorEnum.MediaBundleError[] 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 (MediaBundleErrorEnum.MediaBundleError c : MediaBundleErrorEnum.MediaBundleError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MediaBundleErrorEnum.MediaBundleError 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 name
        java.lang.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 MediaBundleErrorEnum.MediaBundleError 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 name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static MediaBundleErrorEnum.MediaBundleError forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • 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 MediaBundleErrorEnum.MediaBundleError 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 name
        java.lang.NullPointerException - if the argument is null