> [!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/DataLinkErrorEnum.DataLinkError).

Enum describing possible DataLink 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/data_link_error.proto)

| Enums ||
|---|---|
| ## `INVALID_RESOURCE_NAME` | The input resource name is invalid. |
| ## `INVALID_STATUS` | A link can not be removed or updated because the status is invalid. |
| ## `INVALID_UPDATE_STATUS` | The input status in the update request is invalid. |
| ## `PERMISSION_DENIED` | A link cannot be created because the customer doesn't have the permission. |
| ## `UNKNOWN` | The received error code is not known in this version. |
| ## `UNSPECIFIED` | Enum unspecified. |
| ## `YOUTUBE_CHANNEL_ID_INVALID` | The requested YouTube Channel ID is invalid. |
| ## `YOUTUBE_VIDEO_FROM_DIFFERENT_CHANNEL` | The requested YouTube Video ID doesn't belong to the requested YouTube Channel ID. |
| ## `YOUTUBE_VIDEO_ID_INVALID` | The requested YouTube Video ID is invalid. |