enum PermissionError.Reason (v202505)

  • The content provides a list of services within the Ad Manager API, specifically referencing the PermissionError.Reason for each.

  • It defines the PermissionError.Reason enumeration, detailing possible causes for permission errors in the API.

  • The two possible reasons for a PermissionError are PERMISSION_DENIED when a user lacks required permissions and UNKNOWN for unexposed values in the requested API version.

Describes reasons for permission errors.


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