Enum Class AssetLinkErrorEnum.AssetLinkError
java.lang.Object
java.lang.Enum<AssetLinkErrorEnum.AssetLinkError>
com.google.ads.googleads.v18.errors.AssetLinkErrorEnum.AssetLinkError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AssetLinkErrorEnum.AssetLinkError>,Constable
- Enclosing class:
- AssetLinkErrorEnum
public static enum AssetLinkErrorEnum.AssetLinkError
extends Enum<AssetLinkErrorEnum.AssetLinkError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible asset link errors.Protobuf enum
google.ads.googleads.v18.errors.AssetLinkErrorEnum.AssetLinkError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFor Performance Max campaigns where brand_guidelines_enabled is false, business name and logo assets must be linked as AssetGroupAssets.For Performance Max campaigns where brand_guidelines_enabled is true, business name and logo assets must be linked as CampaignAssets.User cannot create automatically created links.Lead Form asset with Location answer type can't be linked to the Customer/Campaign because there are no Location assets.Advertiser links cannot link to automatically created asset.Automatically created links cannot be changed into advertiser links or the reverse.Customer is not verified.The specified field type is excluded for given campaign or ad group.The given asset's type and the specified field type are incompatible.The specified field type is incompatible with the given campaign type.The image asset provided is not within the dimension constraints specified for the submitted asset field.The campaign advertising channel type cannot be associated with the given asset due to channel-based restrictions on the asset's fields.The pinned field is not valid for the submitted asset field.The status is invalid for the operation specified.The media bundle asset provided is too large for the submitted asset field.Not enough assets are available for use with other fields since other assets are pinned to specific fields.Not enough assets with fallback are available.This is a combination of the NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors.Pinning is not supported for the given asset link field.The received error code is not known in this version.Enum unspecified.Call to action value is not supported.The given field type is not supported to be added directly through asset links.The YouTube video referenced in the provided asset has unknown duration.The YouTube video referenced in the provided asset has been removed.The YouTube video referenced in the provided asset is too long for the field submitted.The YouTube video referenced in the provided asset is too short for the field submitted. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFor Performance Max campaigns where brand_guidelines_enabled is false, business name and logo assets must be linked as AssetGroupAssets.static final intFor Performance Max campaigns where brand_guidelines_enabled is true, business name and logo assets must be linked as CampaignAssets.static final intUser cannot create automatically created links.static final intLead Form asset with Location answer type can't be linked to the Customer/Campaign because there are no Location assets.static final intAdvertiser links cannot link to automatically created asset.static final intAutomatically created links cannot be changed into advertiser links or the reverse.static final intCustomer is not verified.static final intThe specified field type is excluded for given campaign or ad group.static final intThe given asset's type and the specified field type are incompatible.static final intThe specified field type is incompatible with the given campaign type.static final intThe image asset provided is not within the dimension constraints specified for the submitted asset field.static final intThe campaign advertising channel type cannot be associated with the given asset due to channel-based restrictions on the asset's fields.static final intThe pinned field is not valid for the submitted asset field.static final intThe status is invalid for the operation specified.static final intThe media bundle asset provided is too large for the submitted asset field.static final intNot enough assets are available for use with other fields since other assets are pinned to specific fields.static final intThis is a combination of the NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors.static final intNot enough assets with fallback are available.static final intPinning is not supported for the given asset link field.static final intThe received error code is not known in this version.static final intEnum unspecified.static final intCall to action value is not supported.static final intThe given field type is not supported to be added directly through asset links.static final intThe YouTube video referenced in the provided asset has unknown duration.static final intThe YouTube video referenced in the provided asset has been removed.static final intThe YouTube video referenced in the provided asset is too long for the field submitted.static final intThe YouTube video referenced in the provided asset is too short for the field submitted. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AssetLinkErrorEnum.AssetLinkError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static AssetLinkErrorEnum.AssetLinkError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
PINNING_UNSUPPORTED
Pinning is not supported for the given asset link field.
PINNING_UNSUPPORTED = 2; -
UNSUPPORTED_FIELD_TYPE
The given field type is not supported to be added directly through asset links.
UNSUPPORTED_FIELD_TYPE = 3; -
FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE
The given asset's type and the specified field type are incompatible.
FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE = 4; -
FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE
The specified field type is incompatible with the given campaign type.
FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE = 5; -
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.
INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 6; -
IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE
The image asset provided is not within the dimension constraints specified for the submitted asset field.
IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE = 7; -
INVALID_PINNED_FIELD
The pinned field is not valid for the submitted asset field.
INVALID_PINNED_FIELD = 8; -
MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE
The media bundle asset provided is too large for the submitted asset field.
MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE = 9; -
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION
public static final AssetLinkErrorEnum.AssetLinkError NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATIONNot enough assets are available for use with other fields since other assets are pinned to specific fields.
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION = 10; -
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK
public static final AssetLinkErrorEnum.AssetLinkError NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACKNot 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 = 11; -
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION
public static final AssetLinkErrorEnum.AssetLinkError NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATIONThis 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.
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION = 12; -
YOUTUBE_VIDEO_REMOVED
The YouTube video referenced in the provided asset has been removed.
YOUTUBE_VIDEO_REMOVED = 13; -
YOUTUBE_VIDEO_TOO_LONG
The YouTube video referenced in the provided asset is too long for the field submitted.
YOUTUBE_VIDEO_TOO_LONG = 14; -
YOUTUBE_VIDEO_TOO_SHORT
The YouTube video referenced in the provided asset is too short for the field submitted.
YOUTUBE_VIDEO_TOO_SHORT = 15; -
EXCLUDED_PARENT_FIELD_TYPE
The specified field type is excluded for given campaign or ad group.
EXCLUDED_PARENT_FIELD_TYPE = 16; -
INVALID_STATUS
The status is invalid for the operation specified.
INVALID_STATUS = 17; -
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.
YOUTUBE_VIDEO_DURATION_NOT_DEFINED = 18; -
CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS
User cannot create automatically created links.
CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS = 19; -
CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET
Advertiser links cannot link to automatically created asset.
CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET = 20; -
CANNOT_MODIFY_ASSET_LINK_SOURCE
Automatically created links cannot be changed into advertiser links or the reverse.
CANNOT_MODIFY_ASSET_LINK_SOURCE = 21; -
CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET
public static final AssetLinkErrorEnum.AssetLinkError CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSETLead Form asset with Location answer type can't be linked to the Customer/Campaign because there are no Location assets.
CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET = 22; -
CUSTOMER_NOT_VERIFIED
Customer is not verified.
CUSTOMER_NOT_VERIFIED = 23; -
UNSUPPORTED_CALL_TO_ACTION
Call to action value is not supported.
UNSUPPORTED_CALL_TO_ACTION = 24; -
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_ASSET_GROUP_LEVEL = 25; -
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.
BRAND_ASSETS_NOT_LINKED_AT_CAMPAIGN_LEVEL = 26; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received error code is not known in this version.
UNKNOWN = 1;- See Also:
-
PINNING_UNSUPPORTED_VALUE
public static final int PINNING_UNSUPPORTED_VALUEPinning is not supported for the given asset link field.
PINNING_UNSUPPORTED = 2;- See Also:
-
UNSUPPORTED_FIELD_TYPE_VALUE
public static final int UNSUPPORTED_FIELD_TYPE_VALUEThe given field type is not supported to be added directly through asset links.
UNSUPPORTED_FIELD_TYPE = 3;- See Also:
-
FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE_VALUE
public static final int FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE_VALUEThe given asset's type and the specified field type are incompatible.
FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE = 4;- See Also:
-
FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE_VALUE
public static final int FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE_VALUEThe specified field type is incompatible with the given campaign type.
FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE = 5;- See Also:
-
INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE_VALUE
public static final int INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE_VALUEThe campaign advertising channel type cannot be associated with the given asset due to channel-based restrictions on the asset's fields.
INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 6;- See Also:
-
IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE_VALUE
public static final int IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE_VALUEThe image asset provided is not within the dimension constraints specified for the submitted asset field.
IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE = 7;- See Also:
-
INVALID_PINNED_FIELD_VALUE
public static final int INVALID_PINNED_FIELD_VALUEThe pinned field is not valid for the submitted asset field.
INVALID_PINNED_FIELD = 8;- See Also:
-
MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE_VALUE
public static final int MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE_VALUEThe media bundle asset provided is too large for the submitted asset field.
MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE = 9;- See Also:
-
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION_VALUE
public static final int NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION_VALUENot enough assets are available for use with other fields since other assets are pinned to specific fields.
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION = 10;- See Also:
-
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_VALUE
public static final int NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_VALUENot 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 = 11;- See Also:
-
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION_VALUE
public static final int NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION_VALUEThis 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.
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION = 12;- See Also:
-
YOUTUBE_VIDEO_REMOVED_VALUE
public static final int YOUTUBE_VIDEO_REMOVED_VALUEThe YouTube video referenced in the provided asset has been removed.
YOUTUBE_VIDEO_REMOVED = 13;- See Also:
-
YOUTUBE_VIDEO_TOO_LONG_VALUE
public static final int YOUTUBE_VIDEO_TOO_LONG_VALUEThe YouTube video referenced in the provided asset is too long for the field submitted.
YOUTUBE_VIDEO_TOO_LONG = 14;- See Also:
-
YOUTUBE_VIDEO_TOO_SHORT_VALUE
public static final int YOUTUBE_VIDEO_TOO_SHORT_VALUEThe YouTube video referenced in the provided asset is too short for the field submitted.
YOUTUBE_VIDEO_TOO_SHORT = 15;- See Also:
-
EXCLUDED_PARENT_FIELD_TYPE_VALUE
public static final int EXCLUDED_PARENT_FIELD_TYPE_VALUEThe specified field type is excluded for given campaign or ad group.
EXCLUDED_PARENT_FIELD_TYPE = 16;- See Also:
-
INVALID_STATUS_VALUE
public static final int INVALID_STATUS_VALUEThe status is invalid for the operation specified.
INVALID_STATUS = 17;- See Also:
-
YOUTUBE_VIDEO_DURATION_NOT_DEFINED_VALUE
public static final int YOUTUBE_VIDEO_DURATION_NOT_DEFINED_VALUEThe 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.
YOUTUBE_VIDEO_DURATION_NOT_DEFINED = 18;- See Also:
-
CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS_VALUE
public static final int CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS_VALUEUser cannot create automatically created links.
CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS = 19;- See Also:
-
CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET_VALUE
public static final int CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET_VALUEAdvertiser links cannot link to automatically created asset.
CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET = 20;- See Also:
-
CANNOT_MODIFY_ASSET_LINK_SOURCE_VALUE
public static final int CANNOT_MODIFY_ASSET_LINK_SOURCE_VALUEAutomatically created links cannot be changed into advertiser links or the reverse.
CANNOT_MODIFY_ASSET_LINK_SOURCE = 21;- See Also:
-
CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET_VALUE
public static final int CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET_VALUELead Form asset with Location answer type can't be linked to the Customer/Campaign because there are no Location assets.
CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET = 22;- See Also:
-
CUSTOMER_NOT_VERIFIED_VALUE
public static final int CUSTOMER_NOT_VERIFIED_VALUECustomer is not verified.
CUSTOMER_NOT_VERIFIED = 23;- See Also:
-
UNSUPPORTED_CALL_TO_ACTION_VALUE
public static final int UNSUPPORTED_CALL_TO_ACTION_VALUECall to action value is not supported.
UNSUPPORTED_CALL_TO_ACTION = 24;- See Also:
-
BRAND_ASSETS_NOT_LINKED_AT_ASSET_GROUP_LEVEL_VALUE
public static final int BRAND_ASSETS_NOT_LINKED_AT_ASSET_GROUP_LEVEL_VALUEFor Performance Max campaigns where brand_guidelines_enabled is false, business name and logo assets must be linked as AssetGroupAssets.
BRAND_ASSETS_NOT_LINKED_AT_ASSET_GROUP_LEVEL = 25;- See Also:
-
BRAND_ASSETS_NOT_LINKED_AT_CAMPAIGN_LEVEL_VALUE
public static final int BRAND_ASSETS_NOT_LINKED_AT_CAMPAIGN_LEVEL_VALUEFor Performance Max campaigns where brand_guidelines_enabled is true, business name and logo assets must be linked as CampaignAssets.
BRAND_ASSETS_NOT_LINKED_AT_CAMPAIGN_LEVEL = 26;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AssetLinkErrorEnum.AssetLinkError> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static AssetLinkErrorEnum.AssetLinkError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-