enum PermissionError.Reason (v202411)

  • The PermissionError.Reason enumeration describes the reasons for permission errors in Google Ad Manager API.

  • It includes two possible values: PERMISSION_DENIED and UNKNOWN.

  • PERMISSION_DENIED indicates the user lacks necessary permissions, while UNKNOWN signifies the value is not exposed in the current API version.

  • This enumeration is part of the DaiEncodingProfileService and belongs to the https://www.google.com/apis/ads/publisher/v202411 namespace.

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.