enum PermissionError.Reason (v202411)

  • This documentation outlines the PermissionError.Reason enumeration for the Google Ad Manager API.

  • It defines the possible reasons for permission errors encountered when using the API.

  • The reasons provided are PERMISSION_DENIED when a user lacks necessary permissions and UNKNOWN for cases where the error reason is not exposed by the specific API version.

  • This information is crucial for developers to understand and handle permission-related issues during API interactions.

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.