enum PermissionError.Reason (v202411)

  • This documentation details PermissionError.Reason, which outlines reasons for permission errors in Google Ad Manager API.

  • PermissionError.Reason includes two enumerations: PERMISSION_DENIED and UNKNOWN.

  • PERMISSION_DENIED indicates the user lacks necessary permissions, while UNKNOWN signifies the value is not exposed in the current API version.

  • Developers can utilize this information to understand and handle permission-related errors when interacting with the Ad Manager API.

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.