enum FileError.Reason (v202411)
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["FileError.Reason is an enumeration providing context for errors related to file handling within the CreativeService, CreativeSetService, LineItemCreativeAssociationService, and PublisherQueryLanguageService."],["It defines three reasons for file errors: MISSING_CONTENTS when the file is empty, SIZE_TOO_LARGE when it exceeds network limits, and UNKNOWN for unexpected errors."],["The namespace for this enumeration is `https://www.google.com/apis/ads/publisher/v202411`."]]],["The core content details the `FileError.Reason` enumeration within a service namespace. It defines three possible reasons for a file error: `MISSING_CONTENTS`, which indicates an empty byte array; `SIZE_TOO_LARGE`, indicating the file exceeds the network's size limit; and `UNKNOWN`, used when the actual error reason isn't available in the API version. This error applies to the CreativeSetService, LineItemCreativeAssociationService and PublisherQueryLanguageService.\n"]]