type FileError (v202408)
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/v202408
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\u003eThe PublisherQueryLanguageService.FileError object signifies errors related to file processing within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties from ApiError, providing details like field path, trigger, and error string.\u003c/p\u003e\n"],["\u003cp\u003eFileError includes a \u003ccode\u003ereason\u003c/code\u003e field, which indicates the specific cause of the file error, such as missing contents, excessive size, or an unknown issue.\u003c/p\u003e\n"],["\u003cp\u003eThis error is commonly encountered during operations involving CreativeService, CreativeSetService, and LineItemCreativeAssociationService.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the reason field to identify and address file-related problems in their API interactions.\u003c/p\u003e\n"]]],["The document outlines errors associated with various services, including `CreativeService`, `CreativeSetService`, and `LineItemCreativeAssociationService`, and extensively lists `PublisherQueryLanguageService` errors. `FileError` is detailed, encompassing errors such as `MISSING_CONTENTS` (empty file) and `SIZE_TOO_LARGE` (exceeding network limits). `ApiError`'s structure, with fields like `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`, is also presented, detailing how error causes are identified.\n"],null,["# type FileError (v202408)\n\n**Service** \n[CreativeService](/ad-manager/api/reference/v202408/CreativeService.FileError) [CreativeSetService](/ad-manager/api/reference/v202408/CreativeSetService.FileError) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.FileError) **PublisherQueryLanguageService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.ApiError) \n▼\n[AdUnitCodeError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.AdUnitCodeError) [AdUnitHierarchyError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.AdUnitHierarchyError) [ApiVersionError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.ApiVersionError) [AudienceSegmentError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.AudienceSegmentError) [AuthenticationError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.CommonError) [CreativeError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.CreativeError) [DealError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.DealError) [ExchangeRateError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.ExchangeRateError) [FeatureError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.FeatureError) **FileError** [InternalApiError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.InternalApiError) [InvalidEmailError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.InvalidEmailError) [InvalidUrlError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.InvalidUrlError) [InventoryTargetingError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.InventoryTargetingError) [InventoryUnitError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.InventoryUnitError) [LineItemFlightDateError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.LineItemFlightDateError) [LineItemOperationError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.LineItemOperationError) [NotNullError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.NotNullError) [NullError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.NullError) [OrderActionError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.OrderActionError) [OrderError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.OrderError) [ParseError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.QuotaError) [RangeError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.RangeError) [RegExError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.RegExError) [RequiredCollectionError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.RequiredError) [RequiredNumberError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.RequiredNumberError) [RequiredSizeError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.RequiredSizeError) [ReservationDetailsError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.ReservationDetailsError) [ServerError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.ServerError) [StatementError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.StringLengthError) [TypeError](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.TypeError) [UniqueError](/ad-manager/api/reference/v202408/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/v202408`\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/v202408/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/v202408/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 |"]]