enum PermissionError.Reason (v202502)

  • The document lists various Ad Manager API services, each potentially returning a PermissionError.

  • A PermissionError in these services indicates that the user lacks the necessary permissions to perform the requested action.

  • The PermissionError.Reason describes why a permission error occurred, with PERMISSION_DENIED being a specific reason.

  • The UNKNOWN reason is returned when the actual value for a permission error reason is not exposed in the API version used.

Describes reasons for permission errors.


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