> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v24** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/reference/rpc/latest/ContextErrorEnum.ContextError).

Enum describing possible context errors.

[Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v24/errors/context_error.proto)

| Enums ||
|---|---|
| ## `OPERATION_NOT_PERMITTED_FOR_CONTEXT` | The operation is not allowed for the given context. |
| ## `OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE` | The operation is not allowed for removed resources. |
| ## `UNKNOWN` | The received error code is not known in this version. |
| ## `UNSPECIFIED` | Enum unspecified. |