type FileError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
A list of all errors to be used for problems related to files.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
FieldPathElement[]
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
|
trigger
|
xsd:string
The data that caused the error.
|
errorString
|
xsd:string
A simple string representation of the error and reason.
|
FileError
|
reason
|
FileError.Reason
Enumerations
-
MISSING_CONTENTS
- The provided byte array is empty.
-
SIZE_TOO_LARGE
- The provided file is larger than the maximum size defined for the
network.
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eFileError\u003c/code\u003e object used for problems related to files in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFileError\u003c/code\u003e inherits from \u003ccode\u003eApiError\u003c/code\u003e which provides context about the error such as field path, trigger and error string.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFileError\u003c/code\u003e itself has a \u003ccode\u003ereason\u003c/code\u003e field, which can be \u003ccode\u003eMISSING_CONTENTS\u003c/code\u003e, \u003ccode\u003eSIZE_TOO_LARGE\u003c/code\u003e, or \u003ccode\u003eUNKNOWN\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThese reasons indicate issues like empty file content, exceeding size limits, or unspecified errors.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this object is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The content outlines the `FileError` within the context of various services like `CreativeService`, `CreativeSetService`, `LineItemCreativeAssociationService`, and `PublisherQueryLanguageService`. `FileError` is an inherited error type under `ApiError`. Key information includes the `ApiError` fields (`fieldPath`, `fieldPathElements`, `trigger`, `errorString`) and specific `FileError` reasons: `MISSING_CONTENTS`, `SIZE_TOO_LARGE`, and `UNKNOWN`. It also shows a list of all the errors related to files.\n"],null,["# type FileError (v202411)\n\n**Service** \n[CreativeService](/ad-manager/api/reference/v202411/CreativeService.FileError) **CreativeSetService** [LineItemCreativeAssociationService](/ad-manager/api/reference/v202411/LineItemCreativeAssociationService.FileError) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.FileError) **Inheritance** \n[ApiError](/ad-manager/api/reference/v202411/CreativeSetService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202411/CreativeSetService.ApiVersionError) [AssetError](/ad-manager/api/reference/v202411/CreativeSetService.AssetError) [AuthenticationError](/ad-manager/api/reference/v202411/CreativeSetService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202411/CreativeSetService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202411/CreativeSetService.CommonError) [CreativeAssetMacroError](/ad-manager/api/reference/v202411/CreativeSetService.CreativeAssetMacroError) [CreativeError](/ad-manager/api/reference/v202411/CreativeSetService.CreativeError) [CreativeSetError](/ad-manager/api/reference/v202411/CreativeSetService.CreativeSetError) [CreativeTemplateError](/ad-manager/api/reference/v202411/CreativeSetService.CreativeTemplateError) [CreativeTemplateOperationError](/ad-manager/api/reference/v202411/CreativeSetService.CreativeTemplateOperationError) [CustomCreativeError](/ad-manager/api/reference/v202411/CreativeSetService.CustomCreativeError) [CustomFieldValueError](/ad-manager/api/reference/v202411/CreativeSetService.CustomFieldValueError) [EntityLimitReachedError](/ad-manager/api/reference/v202411/CreativeSetService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202411/CreativeSetService.FeatureError) **FileError** [HtmlBundleProcessorError](/ad-manager/api/reference/v202411/CreativeSetService.HtmlBundleProcessorError) [ImageError](/ad-manager/api/reference/v202411/CreativeSetService.ImageError) [InternalApiError](/ad-manager/api/reference/v202411/CreativeSetService.InternalApiError) [InvalidPhoneNumberError](/ad-manager/api/reference/v202411/CreativeSetService.InvalidPhoneNumberError) [InvalidUrlError](/ad-manager/api/reference/v202411/CreativeSetService.InvalidUrlError) [LabelEntityAssociationError](/ad-manager/api/reference/v202411/CreativeSetService.LabelEntityAssociationError) [NotNullError](/ad-manager/api/reference/v202411/CreativeSetService.NotNullError) [NullError](/ad-manager/api/reference/v202411/CreativeSetService.NullError) [ParseError](/ad-manager/api/reference/v202411/CreativeSetService.ParseError) [PermissionError](/ad-manager/api/reference/v202411/CreativeSetService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202411/CreativeSetService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202411/CreativeSetService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202411/CreativeSetService.QuotaError) [RangeError](/ad-manager/api/reference/v202411/CreativeSetService.RangeError) [RequiredCollectionError](/ad-manager/api/reference/v202411/CreativeSetService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202411/CreativeSetService.RequiredError) [RequiredNumberError](/ad-manager/api/reference/v202411/CreativeSetService.RequiredNumberError) [RequiredSizeError](/ad-manager/api/reference/v202411/CreativeSetService.RequiredSizeError) [RichMediaStudioCreativeError](/ad-manager/api/reference/v202411/CreativeSetService.RichMediaStudioCreativeError) [ServerError](/ad-manager/api/reference/v202411/CreativeSetService.ServerError) [SetTopBoxCreativeError](/ad-manager/api/reference/v202411/CreativeSetService.SetTopBoxCreativeError) [StatementError](/ad-manager/api/reference/v202411/CreativeSetService.StatementError) [StringFormatError](/ad-manager/api/reference/v202411/CreativeSetService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202411/CreativeSetService.StringLengthError) [SwiffyConversionError](/ad-manager/api/reference/v202411/CreativeSetService.SwiffyConversionError) [TemplateInstantiatedCreativ...](/ad-manager/api/reference/v202411/CreativeSetService.TemplateInstantiatedCreativeError \"TemplateInstantiatedCreativeError\") [TranscodingError](/ad-manager/api/reference/v202411/CreativeSetService.TranscodingError) [TypeError](/ad-manager/api/reference/v202411/CreativeSetService.TypeError) [UniqueError](/ad-manager/api/reference/v202411/CreativeSetService.UniqueError)\n\nA list of all errors to be used for problems related to files.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` The OGNL field path to identify cause of error. |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202411/CreativeSetService.FieldPathElement)`[]` A parsed copy of the field path. For example, the field path \"operations\\[1\\].operand\" corresponds to this list: {FieldPathElement(field = \"operations\", index = 1), FieldPathElement(field = \"operand\", index = null)}. |\n| ### `trigger` | ` `xsd:`string` The data that caused the error. |\n| ### `errorString` | ` `xsd:`string` A simple string representation of the error and reason. |\n| **`FileError`** ||\n| ### `reason` | ` `[FileError.Reason](/ad-manager/api/reference/v202411/CreativeSetService.FileError.Reason)` ` *** ** * ** *** **Enumerations** `MISSING_CONTENTS` : The provided byte array is empty. `SIZE_TOO_LARGE` : The provided file is larger than the maximum size defined for the network. `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]