Enum 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 enum google.ads.googleads.v10.errors.AssetLinkErrorEnum.AssetLinkError
    • Enum Constant Detail

      • 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;
      • 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;
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        java.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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        java.lang.NullPointerException - if the argument is null