enum PermissionError.Reason (v202411)

  • This documentation details the PermissionError.Reason enumeration within the Google Ad Manager API.

  • It outlines specific reasons for permission errors encountered when accessing Ad Manager resources.

  • The two primary reasons are PERMISSION_DENIED, indicating insufficient user permissions, and UNKNOWN for cases where the error reason is not exposed by the API.

  • Developers can use this information to handle permission errors gracefully and understand why a request might be denied.

Describes reasons for permission errors.


Namespace
https://www.google.com/apis/ads/publisher/v202411
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.