enum PermissionError.Reason (v202508)

  • The provided content is an API reference for Google Ad Manager, specifically for version v202508, detailing various services and their associated PermissionError.Reason.

  • The core of the content focuses on the PermissionError.Reason enumeration, which describes why a user might encounter permission errors when making API requests.

  • Two specific reasons for permission errors are listed: PERMISSION_DENIED, indicating the user lacks necessary permissions, and UNKNOWN, used when the actual error value is not exposed by the API version.

  • The content also lists numerous Ad Manager services, each potentially returning a PermissionError.Reason, highlighting the widespread applicability of this error type across the API.

Describes reasons for permission errors.


Namespace
https://www.google.com/apis/ads/publisher/v202508
Enumeration Description
PERMISSION_DENIED User does not have the required permission for the request.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.