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 within the Publisher Query Language Service of the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFileError\u003c/code\u003e is used for problems specifically related to files, such as missing content or exceeding size limits.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the \u003ccode\u003eApiError\u003c/code\u003e object, which provides context about the error, like the field path and trigger.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field in \u003ccode\u003eFileError\u003c/code\u003e clarifies the specific issue encountered with the file.\u003c/p\u003e\n"],["\u003cp\u003ePossible reasons include \u003ccode\u003eMISSING_CONTENTS\u003c/code\u003e, \u003ccode\u003eSIZE_TOO_LARGE\u003c/code\u003e, and \u003ccode\u003eUNKNOWN\u003c/code\u003e.\u003c/p\u003e\n"]]],["The core content outlines services and errors within an API, focusing on `FileError` and `PublisherQueryLanguageService`. `FileError` represents problems with files, detailing reasons like `MISSING_CONTENTS` and `SIZE_TOO_LARGE`. The `PublisherQueryLanguageService` and its errors include categories like `AdUnitCodeError`, `AuthenticationError`, and `QuotaError`. The `ApiError`, inherited by all errors, provides details like `fieldPath`, `trigger`, and `errorString`, while `FileError` includes a `reason` field with specified values.\n"],null,["# type FileError (v202411)\n\n**Service** \n[CreativeService](/ad-manager/api/reference/v202411/CreativeService.FileError) [CreativeSetService](/ad-manager/api/reference/v202411/CreativeSetService.FileError) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202411/LineItemCreativeAssociationService.FileError) **PublisherQueryLanguageService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.ApiError) \n▼\n[AdUnitCodeError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.AdUnitCodeError) [AdUnitHierarchyError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.AdUnitHierarchyError) [ApiVersionError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.ApiVersionError) [AudienceSegmentError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.AudienceSegmentError) [AuthenticationError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.CommonError) [CreativeError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.CreativeError) [DealError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.DealError) [ExchangeRateError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.ExchangeRateError) [FeatureError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.FeatureError) **FileError** [InternalApiError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.InternalApiError) [InvalidEmailError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.InvalidEmailError) [InvalidUrlError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.InvalidUrlError) [InventoryTargetingError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.InventoryTargetingError) [InventoryUnitError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.InventoryUnitError) [LineItemFlightDateError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.LineItemFlightDateError) [LineItemOperationError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.LineItemOperationError) [NotNullError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.NotNullError) [NullError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.NullError) [OrderActionError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.OrderActionError) [OrderError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.OrderError) [ParseError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.ParseError) [PermissionError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.QuotaError) [RangeError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.RangeError) [RegExError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.RegExError) [RequiredCollectionError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.RequiredError) [RequiredNumberError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.RequiredNumberError) [RequiredSizeError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.RequiredSizeError) [ReservationDetailsError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.ReservationDetailsError) [ServerError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.ServerError) [StatementError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.StatementError) [StringFormatError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.StringLengthError) [TypeError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.TypeError) [UniqueError](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.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/PublisherQueryLanguageService.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/PublisherQueryLanguageService.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 |"]]