enum PermissionError.Reason (v202411)

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

  • PermissionError.Reason outlines the reasons for permission errors occurring within the API, such as denied permissions or unknown error causes.

  • The enumeration includes two values: PERMISSION_DENIED and UNKNOWN, indicating specific permission-related issues.

  • Developers can use this information to understand and troubleshoot permission errors encountered 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.