enum PermissionError.Reason (v202411)

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

  • PermissionError.Reason outlines the reasons for permission errors within the Ad Manager API, primarily focusing on denied permissions.

  • It includes two possible values: PERMISSION_DENIED and UNKNOWN, indicating either a lack of user permissions or an undefined error.

  • The provided namespace is https://www.google.com/apis/ads/publisher/v202411.

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.