AssetLinkError
Stay organized with collections
Save and categorize content based on your preferences.
Enum describing possible asset link errors.
Enums |
UNSPECIFIED
|
Enum unspecified. |
UNKNOWN
|
The received error code is not known in this version. |
PINNING_UNSUPPORTED
|
Pinning is not supported for the given asset link field. |
UNSUPPORTED_FIELD_TYPE
|
The given field type is not supported to be added directly through asset links. |
FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE
|
The given asset's type and the specified field type are incompatible. |
FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE
|
The specified field type is incompatible with the given campaign type. |
INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE
|
The campaign advertising channel type cannot be associated with the given asset due to channel-based restrictions on the asset's fields. |
IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE
|
The image asset provided is not within the dimension constraints specified for the submitted asset field. |
INVALID_PINNED_FIELD
|
The pinned field is not valid for the submitted asset field. |
|
The media bundle asset provided is too large for the submitted asset field. |
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION
|
Not enough assets are available for use with other fields since other assets are pinned to specific fields. |
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK
|
Not enough assets with fallback are available. When validating the minimum number of assets, assets without fallback (for example, assets that contain location tag without default value "{LOCATION(City)}") will not be counted. |
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION
|
This is a combination of the NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets with fallback are available since some assets are pinned. |
YOUTUBE_VIDEO_REMOVED
|
The YouTube video referenced in the provided asset has been removed. |
YOUTUBE_VIDEO_TOO_LONG
|
The YouTube video referenced in the provided asset is too long for the field submitted. |
YOUTUBE_VIDEO_TOO_SHORT
|
The YouTube video referenced in the provided asset is too short for the field submitted. |
EXCLUDED_PARENT_FIELD_TYPE
|
The specified field type is excluded for given campaign or ad group. |
INVALID_STATUS
|
The status is invalid for the operation specified. |
YOUTUBE_VIDEO_DURATION_NOT_DEFINED
|
The YouTube video referenced in the provided asset has unknown duration. This might be the case for a livestream video or a video being currently uploaded to YouTube. In both cases, the video duration should eventually get resolved. |
CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS
|
User cannot create automatically created links. |
CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET
|
Advertiser links cannot link to automatically created asset. |
CANNOT_MODIFY_ASSET_LINK_SOURCE
|
Automatically created links cannot be changed into advertiser links or the reverse. |
|
Lead Form asset with Location answer type can't be linked to the Customer/Campaign because there are no Location assets. |
CUSTOMER_NOT_VERIFIED
|
Customer is not verified. |
UNSUPPORTED_CALL_TO_ACTION
|
Call to action value is not supported. |
BRAND_ASSETS_NOT_LINKED_AT_ASSET_GROUP_LEVEL
|
For Performance Max campaigns where brand_guidelines_enabled is false, business name and logo assets must be linked as AssetGroupAssets. |
BRAND_ASSETS_NOT_LINKED_AT_CAMPAIGN_LEVEL
|
For Performance Max campaigns where brand_guidelines_enabled is true, business name and logo assets must be linked as CampaignAssets. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["Enum describing possible asset link errors.\n\n| Enums ||\n|------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `UNSPECIFIED` | Enum unspecified. |\n| `UNKNOWN` | The received error code is not known in this version. |\n| `PINNING_UNSUPPORTED` | Pinning is not supported for the given asset link field. |\n| `UNSUPPORTED_FIELD_TYPE` | The given field type is not supported to be added directly through asset links. |\n| `FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE` | The given asset's type and the specified field type are incompatible. |\n| `FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE` | The specified field type is incompatible with the given campaign type. |\n| `INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE` | The campaign advertising channel type cannot be associated with the given asset due to channel-based restrictions on the asset's fields. |\n| `IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE` | The image asset provided is not within the dimension constraints specified for the submitted asset field. |\n| `INVALID_PINNED_FIELD` | The pinned field is not valid for the submitted asset field. |\n| `MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE` | The media bundle asset provided is too large for the submitted asset field. |\n| `NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION` | Not enough assets are available for use with other fields since other assets are pinned to specific fields. |\n| `NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK` | Not enough assets with fallback are available. When validating the minimum number of assets, assets without fallback (for example, assets that contain location tag without default value \"{LOCATION(City)}\") will not be counted. |\n| `NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION` | This is a combination of the NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets with fallback are available since some assets are pinned. |\n| `YOUTUBE_VIDEO_REMOVED` | The YouTube video referenced in the provided asset has been removed. |\n| `YOUTUBE_VIDEO_TOO_LONG` | The YouTube video referenced in the provided asset is too long for the field submitted. |\n| `YOUTUBE_VIDEO_TOO_SHORT` | The YouTube video referenced in the provided asset is too short for the field submitted. |\n| `EXCLUDED_PARENT_FIELD_TYPE` | The specified field type is excluded for given campaign or ad group. |\n| `INVALID_STATUS` | The status is invalid for the operation specified. |\n| `YOUTUBE_VIDEO_DURATION_NOT_DEFINED` | The YouTube video referenced in the provided asset has unknown duration. This might be the case for a livestream video or a video being currently uploaded to YouTube. In both cases, the video duration should eventually get resolved. |\n| `CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS` | User cannot create automatically created links. |\n| `CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET` | Advertiser links cannot link to automatically created asset. |\n| `CANNOT_MODIFY_ASSET_LINK_SOURCE` | Automatically created links cannot be changed into advertiser links or the reverse. |\n| `CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET` | Lead Form asset with Location answer type can't be linked to the Customer/Campaign because there are no Location assets. |\n| `CUSTOMER_NOT_VERIFIED` | Customer is not verified. |\n| `UNSUPPORTED_CALL_TO_ACTION` | Call to action value is not supported. |\n| `BRAND_ASSETS_NOT_LINKED_AT_ASSET_GROUP_LEVEL` | For Performance Max campaigns where brand_guidelines_enabled is false, business name and logo assets must be linked as AssetGroupAssets. |\n| `BRAND_ASSETS_NOT_LINKED_AT_CAMPAIGN_LEVEL` | For Performance Max campaigns where brand_guidelines_enabled is true, business name and logo assets must be linked as CampaignAssets. |"]]