enum FileError.Reason (v202411)

  • FileError.Reason identifies potential errors related to file uploads in Google Ad Manager.

  • Possible reasons include missing content, exceeding file size limits, or unknown issues.

  • It's part of the broader Google Ad Manager API and is used by services like CreativeService, CreativeSetService, etc.

  • The error codes, like MISSING_CONTENTS and SIZE_TOO_LARGE, provide specific details about the file upload issue.


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.