enum FileError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
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."],[],["The document outlines `FileError.Reason` within the `v202502` API namespace, used by `CreativeService`, `CreativeSetService`, `LineItemCreativeAssociationService`, and `PublisherQueryLanguageService`. It defines three error reasons: `MISSING_CONTENTS` (empty byte array), `SIZE_TOO_LARGE` (file exceeds network limit), and `UNKNOWN` (value not exposed by the API version). These reasons explain the possible errors related to file handling in these services.\n"],null,["# enum FileError.Reason (v202502)\n\n**Service** \n[CreativeService](/ad-manager/api/reference/v202502/CreativeService.FileError.Reason) [CreativeSetService](/ad-manager/api/reference/v202502/CreativeSetService.FileError.Reason) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202502/LineItemCreativeAssociationService.FileError.Reason) **PublisherQueryLanguageService** **Dependencies** \n[FileError](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.FileError) \n▼\n**FileError.Reason**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|--------------------|-------------------------------------------------------------------------------------|\n| `MISSING_CONTENTS` | The provided byte array is empty. |\n| `SIZE_TOO_LARGE` | The provided file is larger than the maximum size defined for the network. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]