enum PermissionError.Reason (v202411)

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

  • PermissionError.Reason outlines the reasons for permission errors when interacting with the CmsMetadataService.

  • There are two defined reasons: PERMISSION_DENIED indicating insufficient user permissions, and UNKNOWN for cases where the specific reason isn't exposed by the API.

  • Developers can utilize this information to handle permission-related issues within their Ad Manager integrations, specifically when working with CmsMetadataService.

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.