enum PermissionError.Reason (v202411)

  • The AudienceSegmentService.PermissionError.Reason enumeration outlines the reasons for permission errors in Google Ad Manager.

  • There are two main reasons for permission errors: PERMISSION_DENIED and UNKNOWN.

  • PERMISSION_DENIED indicates the user lacks the necessary permissions for the request.

  • UNKNOWN signifies the actual reason for the error is not available in the current API version.

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.