> [!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/CustomAudienceErrorEnum.CustomAudienceError).

Enum describing possible custom audience 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/custom_audience_error.proto)

| Enums ||
|---|---|
| ## `CANNOT_REMOVE_WHILE_IN_USE` | Cannot remove a custom audience while it's still being used as targeting. |
| ## `INVALID_MEMBER_TYPE` | Member type is invalid. |
| ## `INVALID_TYPE_CHANGE` | Change in custom audience type is not allowed. |
| ## `MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED` | The pair of \[type, value\] already exists in members. |
| ## `MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH` | Member type does not have associated value. |
| ## `NAME_ALREADY_USED` | New name in the custom audience is duplicated ignoring cases. |
| ## `POLICY_VIOLATION` | Custom audience contains a member that violates policy. |
| ## `RESOURCE_ALREADY_REMOVED` | Cannot update or remove a custom audience that is already removed. |
| ## `UNKNOWN` | The received error code is not known in this version. |
| ## `UNSPECIFIED` | Enum unspecified. |