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
  • Enum Constant Details

    • 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 through 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;
    • 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;
    • EXCLUDED_PARENT_FIELD_TYPE

      public static final AssetLinkErrorEnum.AssetLinkError EXCLUDED_PARENT_FIELD_TYPE
       The specified field type is excluded for given campaign or ad group.
       
      EXCLUDED_PARENT_FIELD_TYPE = 16;
    • 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;
    • CUSTOMER_NOT_VERIFIED

      public static final AssetLinkErrorEnum.AssetLinkError CUSTOMER_NOT_VERIFIED
       Customer is not verified.
       
      CUSTOMER_NOT_VERIFIED = 23;
    • UNSUPPORTED_CALL_TO_ACTION

      public static final AssetLinkErrorEnum.AssetLinkError UNSUPPORTED_CALL_TO_ACTION
       Call to action value is not supported.
       
      UNSUPPORTED_CALL_TO_ACTION = 24;
    • BRAND_ASSETS_NOT_LINKED_AT_ASSET_GROUP_LEVEL

      public static final AssetLinkErrorEnum.AssetLinkError 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

      public static final AssetLinkErrorEnum.AssetLinkError 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

      public static final AssetLinkErrorEnum.AssetLinkError UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The received error code is not known in this version.
       
      UNKNOWN = 1;
      See Also:
    • 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:
    • UNSUPPORTED_FIELD_TYPE_VALUE

      public static final int UNSUPPORTED_FIELD_TYPE_VALUE
       The 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_VALUE
       The 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_VALUE
       The 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_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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • EXCLUDED_PARENT_FIELD_TYPE_VALUE

      public static final int EXCLUDED_PARENT_FIELD_TYPE_VALUE
       The 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_VALUE
       The 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_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:
    • CUSTOMER_NOT_VERIFIED_VALUE

      public static final int CUSTOMER_NOT_VERIFIED_VALUE
       Customer is not verified.
       
      CUSTOMER_NOT_VERIFIED = 23;
      See Also:
    • UNSUPPORTED_CALL_TO_ACTION_VALUE

      public static final int UNSUPPORTED_CALL_TO_ACTION_VALUE
       Call 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_VALUE
       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;
      See Also:
    • BRAND_ASSETS_NOT_LINKED_AT_CAMPAIGN_LEVEL_VALUE

      public static final int BRAND_ASSETS_NOT_LINKED_AT_CAMPAIGN_LEVEL_VALUE
       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;
      See Also:
  • Method Details

    • values

      public static AssetLinkErrorEnum.AssetLinkError[] 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

      public static AssetLinkErrorEnum.AssetLinkError valueOf(String name)
      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 name
      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 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 name
      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:
      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 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 name
      NullPointerException - if the argument is null