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 when interacting with the Ad Manager API.

  • It includes two possible values: PERMISSION_DENIED indicating insufficient user permissions and UNKNOWN for cases where the reason isn't exposed by the API version.

  • This enumeration is used by various Ad Manager services listed on the page like AdRuleService, AdjustmentService, and others, to signal permission-related issues.

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.