enum PermissionError.Reason (v202411)

  • This documentation details the PermissionError.Reason enumeration within the Google Ad Manager API.

  • It outlines specific reasons for permission errors encountered when accessing Ad Manager services.

  • Two primary reasons are defined: PERMISSION_DENIED indicating insufficient user permissions and UNKNOWN for errors not exposed in the current API version.

  • Developers can use this information to understand and handle permission-related issues 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.