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

Enum describing possible ad sharing errors.

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

| Enums ||
|---|---|
| ## `AD_GROUP_ALREADY_CONTAINS_AD` | Error resulting in attempting to add an Ad to an AdGroup that already contains the Ad. |
| ## `CANNOT_SHARE_INACTIVE_AD` | Cannot add AdGroupAd on inactive Ad. |
| ## `INCOMPATIBLE_AD_UNDER_AD_GROUP` | Ad is not compatible with the AdGroup it is being shared with. |
| ## `UNKNOWN` | The received error code is not known in this version. |
| ## `UNSPECIFIED` | Enum unspecified. |