Enum AssetLinkErrorEnum.AssetLinkError
- java.lang.Object
-
- java.lang.Enum<AssetLinkErrorEnum.AssetLinkError>
-
- com.google.ads.googleads.v10.errors.AssetLinkErrorEnum.AssetLinkError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<AssetLinkErrorEnum.AssetLinkError>
- Enclosing class:
- AssetLinkErrorEnum
public static enum AssetLinkErrorEnum.AssetLinkError extends java.lang.Enum<AssetLinkErrorEnum.AssetLinkError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible asset link errors.
Protobuf enumgoogle.ads.googleads.v10.errors.AssetLinkErrorEnum.AssetLinkError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPEThe given asset's type and the specified field type are incompatible.FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPEThe specified field type is incompatible with the given campaign type.IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGEThe image asset provided is not within the dimension constraints specified for the submitted asset field.INCOMPATIBLE_ADVERTISING_CHANNEL_TYPEThe campaign advertising channel type cannot be associated with the given asset due to channel-based restrictions on the asset's fields.INVALID_PINNED_FIELDThe pinned field is not valid for the submitted asset field.INVALID_STATUSThe status is invalid for the operation specified.MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGEThe media bundle asset provided is too large for the submitted asset field.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_WITH_FALLBACKNot enough assets with fallback are available.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.PINNING_UNSUPPORTEDPinning is not supported for the given asset link field.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.UNSUPPORTED_FIELD_TYPEThe given field type is not supported to be added directly via asset links.YOUTUBE_VIDEO_DURATION_NOT_DEFINEDThe YouTube video referenced in the provided asset has unknown duration.YOUTUBE_VIDEO_REMOVEDThe YouTube video referenced in the provided asset has been removed.YOUTUBE_VIDEO_TOO_LONGThe YouTube video referenced in the provided asset is too long for the field submitted.YOUTUBE_VIDEO_TOO_SHORTThe YouTube video referenced in the provided asset is too short for the field submitted.
-
Field Summary
Fields Modifier and Type Field Description static intFIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE_VALUEThe given asset's type and the specified field type are incompatible.static intFIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE_VALUEThe specified field type is incompatible with the given campaign type.static intIMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE_VALUEThe image asset provided is not within the dimension constraints specified for the submitted asset field.static intINCOMPATIBLE_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.static intINVALID_PINNED_FIELD_VALUEThe pinned field is not valid for the submitted asset field.static intINVALID_STATUS_VALUEThe status is invalid for the operation specified.static intMEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE_VALUEThe media bundle asset provided is too large for the submitted asset field.static intNOT_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.static intNOT_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.static intNOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_VALUENot enough assets with fallback are available.static intPINNING_UNSUPPORTED_VALUEPinning is not supported for the given asset link field.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.static intUNSUPPORTED_FIELD_TYPE_VALUEThe given field type is not supported to be added directly via asset links.static intYOUTUBE_VIDEO_DURATION_NOT_DEFINED_VALUEThe YouTube video referenced in the provided asset has unknown duration.static intYOUTUBE_VIDEO_REMOVED_VALUEThe YouTube video referenced in the provided asset has been removed.static intYOUTUBE_VIDEO_TOO_LONG_VALUEThe YouTube video referenced in the provided asset is too long for the field submitted.static intYOUTUBE_VIDEO_TOO_SHORT_VALUEThe YouTube video referenced in the provided asset is too short for the field submitted.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AssetLinkErrorEnum.AssetLinkErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<AssetLinkErrorEnum.AssetLinkError>internalGetValueMap()static AssetLinkErrorEnum.AssetLinkErrorvalueOf(int value)Deprecated.static AssetLinkErrorEnum.AssetLinkErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AssetLinkErrorEnum.AssetLinkErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AssetLinkErrorEnum.AssetLinkError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final AssetLinkErrorEnum.AssetLinkError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final AssetLinkErrorEnum.AssetLinkError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
PINNING_UNSUPPORTED
public static final AssetLinkErrorEnum.AssetLinkError PINNING_UNSUPPORTED
Pinning is not supported for the given asset link field.
PINNING_UNSUPPORTED = 2;
-
UNSUPPORTED_FIELD_TYPE
public static final AssetLinkErrorEnum.AssetLinkError UNSUPPORTED_FIELD_TYPE
The given field type is not supported to be added directly via asset links.
UNSUPPORTED_FIELD_TYPE = 3;
-
FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE
public static final AssetLinkErrorEnum.AssetLinkError 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
public static final AssetLinkErrorEnum.AssetLinkError 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
public static final AssetLinkErrorEnum.AssetLinkError 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
public static final AssetLinkErrorEnum.AssetLinkError 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
public static final AssetLinkErrorEnum.AssetLinkError 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
public static final AssetLinkErrorEnum.AssetLinkError 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_COMBINATION
Not 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_FALLBACK
Not enough assets with fallback are available. When validating the minimum number of assets, assets without fallback (e.g. 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_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.
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION = 12;
-
YOUTUBE_VIDEO_REMOVED
public static final AssetLinkErrorEnum.AssetLinkError YOUTUBE_VIDEO_REMOVED
The YouTube video referenced in the provided asset has been removed.
YOUTUBE_VIDEO_REMOVED = 13;
-
YOUTUBE_VIDEO_TOO_LONG
public static final AssetLinkErrorEnum.AssetLinkError 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
public static final AssetLinkErrorEnum.AssetLinkError YOUTUBE_VIDEO_TOO_SHORT
The YouTube video referenced in the provided asset is too short for the field submitted.
YOUTUBE_VIDEO_TOO_SHORT = 15;
-
INVALID_STATUS
public static final AssetLinkErrorEnum.AssetLinkError INVALID_STATUS
The status is invalid for the operation specified.
INVALID_STATUS = 17;
-
YOUTUBE_VIDEO_DURATION_NOT_DEFINED
public static final AssetLinkErrorEnum.AssetLinkError 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;
-
UNRECOGNIZED
public static final AssetLinkErrorEnum.AssetLinkError UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Enum unspecified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The received error code is not known in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
PINNING_UNSUPPORTED_VALUE
public static final int PINNING_UNSUPPORTED_VALUE
Pinning is not supported for the given asset link field.
PINNING_UNSUPPORTED = 2;- See Also:
- Constant Field Values
-
UNSUPPORTED_FIELD_TYPE_VALUE
public static final int UNSUPPORTED_FIELD_TYPE_VALUE
The given field type is not supported to be added directly via asset links.
UNSUPPORTED_FIELD_TYPE = 3;- See Also:
- Constant Field Values
-
FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE_VALUE
public static final int FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE_VALUE
The given asset's type and the specified field type are incompatible.
FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE = 4;- See Also:
- Constant Field Values
-
FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE_VALUE
public static final int FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE_VALUE
The specified field type is incompatible with the given campaign type.
FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE = 5;- See Also:
- Constant Field Values
-
INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE_VALUE
public static final int INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE_VALUE
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;- See Also:
- Constant Field Values
-
IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE_VALUE
public static final int IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE_VALUE
The image asset provided is not within the dimension constraints specified for the submitted asset field.
IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE = 7;- See Also:
- Constant Field Values
-
INVALID_PINNED_FIELD_VALUE
public static final int INVALID_PINNED_FIELD_VALUE
The pinned field is not valid for the submitted asset field.
INVALID_PINNED_FIELD = 8;- See Also:
- Constant Field Values
-
MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE_VALUE
public static final int MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE_VALUE
The media bundle asset provided is too large for the submitted asset field.
MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE = 9;- See Also:
- Constant Field Values
-
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION_VALUE
public static final int NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION_VALUE
Not 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:
- Constant Field Values
-
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_VALUE
public static final int NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_VALUE
Not enough assets with fallback are available. When validating the minimum number of assets, assets without fallback (e.g. assets that contain location tag without default value "{LOCATION(City)}") will not be counted.NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK = 11;- See Also:
- Constant Field Values
-
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_VALUE
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.
NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION = 12;- See Also:
- Constant Field Values
-
YOUTUBE_VIDEO_REMOVED_VALUE
public static final int YOUTUBE_VIDEO_REMOVED_VALUE
The YouTube video referenced in the provided asset has been removed.
YOUTUBE_VIDEO_REMOVED = 13;- See Also:
- Constant Field Values
-
YOUTUBE_VIDEO_TOO_LONG_VALUE
public static final int YOUTUBE_VIDEO_TOO_LONG_VALUE
The YouTube video referenced in the provided asset is too long for the field submitted.
YOUTUBE_VIDEO_TOO_LONG = 14;- See Also:
- Constant Field Values
-
YOUTUBE_VIDEO_TOO_SHORT_VALUE
public static final int YOUTUBE_VIDEO_TOO_SHORT_VALUE
The YouTube video referenced in the provided asset is too short for the field submitted.
YOUTUBE_VIDEO_TOO_SHORT = 15;- See Also:
- Constant Field Values
-
INVALID_STATUS_VALUE
public static final int INVALID_STATUS_VALUE
The status is invalid for the operation specified.
INVALID_STATUS = 17;- See Also:
- Constant Field Values
-
YOUTUBE_VIDEO_DURATION_NOT_DEFINED_VALUE
public static final int YOUTUBE_VIDEO_DURATION_NOT_DEFINED_VALUE
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;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AssetLinkErrorEnum.AssetLinkError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AssetLinkErrorEnum.AssetLinkError c : AssetLinkErrorEnum.AssetLinkError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AssetLinkErrorEnum.AssetLinkError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static AssetLinkErrorEnum.AssetLinkError valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static AssetLinkErrorEnum.AssetLinkError forNumber(int value)
- 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-