AssetLinkError

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.

MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE

The media bundle asset provided is too large for the submitted asset field.

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.

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.