enum FileError.Reason (v202408)
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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-08-20 UTC.
[null,null,["Last updated 2024-08-20 UTC."],[[["The `FileError.Reason` enumeration in Google Ad Manager's API outlines potential issues when uploading files, like missing content or exceeding size limits."],["It includes reasons such as `MISSING_CONTENTS`, `SIZE_TOO_LARGE`, and `UNKNOWN` to indicate specific file errors during operations with creative sets, line item creative associations, and publisher query language services."],["The namespace for this enumeration is `https://www.google.com/apis/ads/publisher/v202408`."]]],["The core content details the `FileError.Reason` enumeration within the namespace `https://www.google.com/apis/ads/publisher/v202408`. It lists three possible error reasons: `MISSING_CONTENTS`, indicating an empty byte array; `SIZE_TOO_LARGE`, signifying the file exceeds the network's size limit; and `UNKNOWN`, which represents cases where the actual error is not accessible via the current API version. This is used in the `CreativeService`, `CreativeSetService`, `LineItemCreativeAssociationService`, and `PublisherQueryLanguageService`.\n"]]