enum PermissionError.Reason (v202411)

  • This page outlines the PermissionError.Reason enumeration used within the Google Ad Manager API.

  • PermissionError.Reason explains the different reasons why a permission error might occur during API calls.

  • Two possible reasons are provided: PERMISSION_DENIED when the user lacks necessary permissions, and UNKNOWN for errors in the requested API version.

  • The provided namespace helps to locate and utilize PermissionError.Reason within your Ad Manager API implementation.

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.