enum PermissionError.Reason (v202411)

  • PermissionError.Reason describes reasons for permission errors.

  • The possible reasons for a PermissionError are PERMISSION_DENIED and UNKNOWN.

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

  • UNKNOWN is returned when the actual value is not exposed by the requested 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.