enum PermissionError.Reason (v202411)

  • This page documents PermissionError.Reason, which describes reasons for permission errors in Google Ad Manager API.

  • PermissionError.Reason has two possible values: PERMISSION_DENIED and UNKNOWN.

  • PERMISSION_DENIED indicates the user lacks necessary permissions for the request.

  • UNKNOWN is a fallback value when the actual reason isn't exposed by the API version.

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.