Enum MediaBundleErrorEnum.MediaBundleError
- java.lang.Object
-
- java.lang.Enum<MediaBundleErrorEnum.MediaBundleError>
-
- com.google.ads.googleads.v10.errors.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 enumgoogle.ads.googleads.v10.errors.MediaBundleErrorEnum.MediaBundleError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_REQUESTThere was a problem with the request.CUSTOM_EXIT_NOT_ALLOWEDCustom exits not allowed in HTML5 entry.DOUBLECLICK_BUNDLE_NOT_ALLOWEDHTML5 ads using DoubleClick Studio created ZIP files are not supported.EXTERNAL_URL_NOT_ALLOWEDCannot reference URL external to the media bundle.FILE_TOO_LARGEMedia bundle file is too large.GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHEDZIP file from Google Web Designer is not published.INVALID_INPUTInput was invalid.INVALID_MEDIA_BUNDLEThere was a problem with the media bundle.INVALID_MEDIA_BUNDLE_ENTRYThere was a problem with one or more of the media bundle entries.INVALID_MIME_TYPEThe media bundle contains a file with an unknown mime typeINVALID_PATHThe media bundle contain an invalid asset path.INVALID_URL_REFERENCEHTML5 ad is trying to reference an asset not in .ZIP fileMEDIA_DATA_TOO_LARGEMedia data is too large.MISSING_PRIMARY_MEDIA_BUNDLE_ENTRYThe media bundle contains no primary entry.SERVER_ERRORThere was an error on the server.STORAGE_ERRORThe image could not be stored.SWIFFY_BUNDLE_NOT_ALLOWEDMedia bundle created with the Swiffy tool is not allowed.TOO_MANY_FILESThe media bundle contains too many files.UNEXPECTED_SIZEThe media bundle is not of legal dimensions.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENTGoogle Web Designer not created for "Google Ads" environment.UNSUPPORTED_HTML5_FEATUREUnsupported HTML5 feature in HTML5 asset.URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANTURL in HTML5 entry is not ssl compliant.
-
Field Summary
Fields Modifier and Type Field Description static intBAD_REQUEST_VALUEThere was a problem with the request.static intCUSTOM_EXIT_NOT_ALLOWED_VALUECustom exits not allowed in HTML5 entry.static intDOUBLECLICK_BUNDLE_NOT_ALLOWED_VALUEHTML5 ads using DoubleClick Studio created ZIP files are not supported.static intEXTERNAL_URL_NOT_ALLOWED_VALUECannot reference URL external to the media bundle.static intFILE_TOO_LARGE_VALUEMedia bundle file is too large.static intGOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED_VALUEZIP file from Google Web Designer is not published.static intINVALID_INPUT_VALUEInput was invalid.static intINVALID_MEDIA_BUNDLE_ENTRY_VALUEThere was a problem with one or more of the media bundle entries.static intINVALID_MEDIA_BUNDLE_VALUEThere was a problem with the media bundle.static intINVALID_MIME_TYPE_VALUEThe media bundle contains a file with an unknown mime typestatic intINVALID_PATH_VALUEThe media bundle contain an invalid asset path.static intINVALID_URL_REFERENCE_VALUEHTML5 ad is trying to reference an asset not in .ZIP filestatic intMEDIA_DATA_TOO_LARGE_VALUEMedia data is too large.static intMISSING_PRIMARY_MEDIA_BUNDLE_ENTRY_VALUEThe media bundle contains no primary entry.static intSERVER_ERROR_VALUEThere was an error on the server.static intSTORAGE_ERROR_VALUEThe image could not be stored.static intSWIFFY_BUNDLE_NOT_ALLOWED_VALUEMedia bundle created with the Swiffy tool is not allowed.static intTOO_MANY_FILES_VALUEThe media bundle contains too many files.static intUNEXPECTED_SIZE_VALUEThe media bundle is not of legal dimensions.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.static intUNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT_VALUEGoogle Web Designer not created for "Google Ads" environment.static intUNSUPPORTED_HTML5_FEATURE_VALUEUnsupported HTML5 feature in HTML5 asset.static intURL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT_VALUEURL in HTML5 entry is not ssl compliant.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MediaBundleErrorEnum.MediaBundleErrorforNumber(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<MediaBundleErrorEnum.MediaBundleError>internalGetValueMap()static MediaBundleErrorEnum.MediaBundleErrorvalueOf(int value)Deprecated.static MediaBundleErrorEnum.MediaBundleErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static MediaBundleErrorEnum.MediaBundleErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MediaBundleErrorEnum.MediaBundleError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final MediaBundleErrorEnum.MediaBundleError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final MediaBundleErrorEnum.MediaBundleError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
BAD_REQUEST
public static final MediaBundleErrorEnum.MediaBundleError BAD_REQUEST
There was a problem with the request.
BAD_REQUEST = 3;
-
DOUBLECLICK_BUNDLE_NOT_ALLOWED
public static final MediaBundleErrorEnum.MediaBundleError DOUBLECLICK_BUNDLE_NOT_ALLOWED
HTML5 ads using DoubleClick Studio created ZIP files are not supported.
DOUBLECLICK_BUNDLE_NOT_ALLOWED = 4;
-
EXTERNAL_URL_NOT_ALLOWED
public static final MediaBundleErrorEnum.MediaBundleError EXTERNAL_URL_NOT_ALLOWED
Cannot reference URL external to the media bundle.
EXTERNAL_URL_NOT_ALLOWED = 5;
-
FILE_TOO_LARGE
public static final MediaBundleErrorEnum.MediaBundleError FILE_TOO_LARGE
Media bundle file is too large.
FILE_TOO_LARGE = 6;
-
GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED
public static final MediaBundleErrorEnum.MediaBundleError GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED
ZIP file from Google Web Designer is not published.
GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 7;
-
INVALID_INPUT
public static final MediaBundleErrorEnum.MediaBundleError INVALID_INPUT
Input was invalid.
INVALID_INPUT = 8;
-
INVALID_MEDIA_BUNDLE
public static final MediaBundleErrorEnum.MediaBundleError INVALID_MEDIA_BUNDLE
There was a problem with the media bundle.
INVALID_MEDIA_BUNDLE = 9;
-
INVALID_MEDIA_BUNDLE_ENTRY
public static final MediaBundleErrorEnum.MediaBundleError INVALID_MEDIA_BUNDLE_ENTRY
There was a problem with one or more of the media bundle entries.
INVALID_MEDIA_BUNDLE_ENTRY = 10;
-
INVALID_MIME_TYPE
public static final MediaBundleErrorEnum.MediaBundleError INVALID_MIME_TYPE
The media bundle contains a file with an unknown mime type
INVALID_MIME_TYPE = 11;
-
INVALID_PATH
public static final MediaBundleErrorEnum.MediaBundleError INVALID_PATH
The media bundle contain an invalid asset path.
INVALID_PATH = 12;
-
INVALID_URL_REFERENCE
public static final MediaBundleErrorEnum.MediaBundleError INVALID_URL_REFERENCE
HTML5 ad is trying to reference an asset not in .ZIP file
INVALID_URL_REFERENCE = 13;
-
MEDIA_DATA_TOO_LARGE
public static final MediaBundleErrorEnum.MediaBundleError MEDIA_DATA_TOO_LARGE
Media data is too large.
MEDIA_DATA_TOO_LARGE = 14;
-
MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY
public static final MediaBundleErrorEnum.MediaBundleError MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY
The media bundle contains no primary entry.
MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 15;
-
SERVER_ERROR
public static final MediaBundleErrorEnum.MediaBundleError SERVER_ERROR
There was an error on the server.
SERVER_ERROR = 16;
-
STORAGE_ERROR
public static final MediaBundleErrorEnum.MediaBundleError STORAGE_ERROR
The image could not be stored.
STORAGE_ERROR = 17;
-
SWIFFY_BUNDLE_NOT_ALLOWED
public static final MediaBundleErrorEnum.MediaBundleError SWIFFY_BUNDLE_NOT_ALLOWED
Media bundle created with the Swiffy tool is not allowed.
SWIFFY_BUNDLE_NOT_ALLOWED = 18;
-
TOO_MANY_FILES
public static final MediaBundleErrorEnum.MediaBundleError TOO_MANY_FILES
The media bundle contains too many files.
TOO_MANY_FILES = 19;
-
UNEXPECTED_SIZE
public static final MediaBundleErrorEnum.MediaBundleError UNEXPECTED_SIZE
The media bundle is not of legal dimensions.
UNEXPECTED_SIZE = 20;
-
UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT
public static final MediaBundleErrorEnum.MediaBundleError UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT
Google Web Designer not created for "Google Ads" environment.
UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 21;
-
UNSUPPORTED_HTML5_FEATURE
public static final MediaBundleErrorEnum.MediaBundleError UNSUPPORTED_HTML5_FEATURE
Unsupported HTML5 feature in HTML5 asset.
UNSUPPORTED_HTML5_FEATURE = 22;
-
URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT
public static final MediaBundleErrorEnum.MediaBundleError URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT
URL in HTML5 entry is not ssl compliant.
URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23;
-
CUSTOM_EXIT_NOT_ALLOWED
public static final MediaBundleErrorEnum.MediaBundleError CUSTOM_EXIT_NOT_ALLOWED
Custom exits not allowed in HTML5 entry.
CUSTOM_EXIT_NOT_ALLOWED = 24;
-
UNRECOGNIZED
public static final MediaBundleErrorEnum.MediaBundleError 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
-
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 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 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 namejava.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.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<MediaBundleErrorEnum.MediaBundleError> 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 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 namejava.lang.NullPointerException- if the argument is null
-
-