Enum Class AssetGenerationErrorEnum.AssetGenerationError

java.lang.Object
java.lang.Enum<AssetGenerationErrorEnum.AssetGenerationError>
com.google.ads.googleads.v22.errors.AssetGenerationErrorEnum.AssetGenerationError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AssetGenerationErrorEnum.AssetGenerationError>, Constable
Enclosing class:
AssetGenerationErrorEnum

public static enum AssetGenerationErrorEnum.AssetGenerationError extends Enum<AssetGenerationErrorEnum.AssetGenerationError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing GenAI asset generation errors.
 
Protobuf enum google.ads.googleads.v22.errors.AssetGenerationErrorEnum.AssetGenerationError
  • Enum Constant Details

  • 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:
    • NO_ASSETS_GENERATED_VALUE

      public static final int NO_ASSETS_GENERATED_VALUE
       No assets were generated for the given request.
       
      NO_ASSETS_GENERATED = 2;
      See Also:
    • FINAL_URL_REQUIRED_VALUE

      public static final int FINAL_URL_REQUIRED_VALUE
       A final URL is required but was not provided, and could not be sourced
       from the existing generation context because no existing generation
       context was provided.
       
      FINAL_URL_REQUIRED = 3;
      See Also:
    • GENERATION_CONTEXT_MISSING_FINAL_URL_VALUE

      public static final int GENERATION_CONTEXT_MISSING_FINAL_URL_VALUE
       A final URL is required but was not provided, and could not be sourced
       from the provided existing generation context.
       
      GENERATION_CONTEXT_MISSING_FINAL_URL = 4;
      See Also:
    • FINAL_URL_SENSITIVE_VALUE

      public static final int FINAL_URL_SENSITIVE_VALUE
       The provided final URL is considered sensitive, and assets cannot be
       generated.
       
      FINAL_URL_SENSITIVE = 5;
      See Also:
    • FINAL_URL_UNSUPPORTED_LANGUAGE_VALUE

      public static final int FINAL_URL_UNSUPPORTED_LANGUAGE_VALUE
       The language of the provided final URL is not supported.
       
      FINAL_URL_UNSUPPORTED_LANGUAGE = 6;
      See Also:
    • FINAL_URL_UNAVAILABLE_VALUE

      public static final int FINAL_URL_UNAVAILABLE_VALUE
       The provided final URL was not indexed or could otherwise not be
       processed.
       
      FINAL_URL_UNAVAILABLE = 7;
      See Also:
    • CAMPAIGN_TYPE_REQUIRED_VALUE

      public static final int CAMPAIGN_TYPE_REQUIRED_VALUE
       Campaign type is required but was not provided, and could not be sourced
       from the existing generation context because no existing generation
       context was provided.
       
      CAMPAIGN_TYPE_REQUIRED = 8;
      See Also:
    • UNSUPPORTED_CAMPAIGN_TYPE_VALUE

      public static final int UNSUPPORTED_CAMPAIGN_TYPE_VALUE
       The provided campaign type is not supported for this asset generation
       operation.
       
      UNSUPPORTED_CAMPAIGN_TYPE = 9;
      See Also:
    • UNSUPPORTED_FIELD_TYPE_VALUE

      public static final int UNSUPPORTED_FIELD_TYPE_VALUE
       The provided field type is not supported for this asset generation
       operation.
       
      UNSUPPORTED_FIELD_TYPE = 10;
      See Also:
    • UNSUPPORTED_FIELD_TYPE_FOR_CAMPAIGN_TYPE_VALUE

      public static final int UNSUPPORTED_FIELD_TYPE_FOR_CAMPAIGN_TYPE_VALUE
       The provided field type is not supported for the given campaign type.
       
      UNSUPPORTED_FIELD_TYPE_FOR_CAMPAIGN_TYPE = 11;
      See Also:
    • FREEFORM_PROMPT_UNSUPPORTED_LANGUAGE_VALUE

      public static final int FREEFORM_PROMPT_UNSUPPORTED_LANGUAGE_VALUE
       The language of the provided freeform prompt is not supported.
       
      FREEFORM_PROMPT_UNSUPPORTED_LANGUAGE = 12;
      See Also:
    • FREEFORM_PROMPT_SENSITIVE_VALUE

      public static final int FREEFORM_PROMPT_SENSITIVE_VALUE
       The provided freeform prompt is considered sensitive, and assets cannot
       be generated.
       
      FREEFORM_PROMPT_SENSITIVE = 13;
      See Also:
    • INPUT_IMAGE_FILE_SIZE_TOO_LARGE_VALUE

      public static final int INPUT_IMAGE_FILE_SIZE_TOO_LARGE_VALUE
       The provided image file size exceeds the limit.
       
      INPUT_IMAGE_FILE_SIZE_TOO_LARGE = 14;
      See Also:
    • INPUT_IMAGE_EMPTY_VALUE

      public static final int INPUT_IMAGE_EMPTY_VALUE
       The provided image is empty.
       
      INPUT_IMAGE_EMPTY = 15;
      See Also:
    • GENERATION_TYPE_REQUIRED_VALUE

      public static final int GENERATION_TYPE_REQUIRED_VALUE
       Exactly one generation type must be provided.
       
      GENERATION_TYPE_REQUIRED = 16;
      See Also:
    • TOO_MANY_KEYWORDS_VALUE

      public static final int TOO_MANY_KEYWORDS_VALUE
       Too many keywords provided in request.
       
      TOO_MANY_KEYWORDS = 17;
      See Also:
    • KEYWORD_INVALID_LENGTH_VALUE

      public static final int KEYWORD_INVALID_LENGTH_VALUE
       A provided keyword does not have a valid length.
       
      KEYWORD_INVALID_LENGTH = 18;
      See Also:
    • NO_VALID_KEYWORDS_VALUE

      public static final int NO_VALID_KEYWORDS_VALUE
       All keywords were filtered out.
       
      NO_VALID_KEYWORDS = 19;
      See Also:
    • FREEFORM_PROMPT_INVALID_LENGTH_VALUE

      public static final int FREEFORM_PROMPT_INVALID_LENGTH_VALUE
       The provided freeform prompt does not have a valid length.
       
      FREEFORM_PROMPT_INVALID_LENGTH = 20;
      See Also:
    • FREEFORM_PROMPT_REFERENCES_CHILDREN_VALUE

      public static final int FREEFORM_PROMPT_REFERENCES_CHILDREN_VALUE
       The provided freeform prompt references children.
       
      FREEFORM_PROMPT_REFERENCES_CHILDREN = 21;
      See Also:
    • FREEFORM_PROMPT_REFERENCES_SPECIFIC_PEOPLE_VALUE

      public static final int FREEFORM_PROMPT_REFERENCES_SPECIFIC_PEOPLE_VALUE
       The provided freeform prompt references specific people.
       
      FREEFORM_PROMPT_REFERENCES_SPECIFIC_PEOPLE = 22;
      See Also:
    • FREEFORM_PROMPT_VIOLATES_ADS_POLICY_VALUE

      public static final int FREEFORM_PROMPT_VIOLATES_ADS_POLICY_VALUE
       The provided freeform prompt violates Ads Policy.
       
      FREEFORM_PROMPT_VIOLATES_ADS_POLICY = 23;
      See Also:
    • FREEFORM_PROMPT_BRAND_CONTENT_VALUE

      public static final int FREEFORM_PROMPT_BRAND_CONTENT_VALUE
       The provided freeform prompt contains brand content.
       
      FREEFORM_PROMPT_BRAND_CONTENT = 24;
      See Also:
    • INPUT_IMAGE_DEPICTS_CHILDREN_VALUE

      public static final int INPUT_IMAGE_DEPICTS_CHILDREN_VALUE
       The provided image depicts children.
       
      INPUT_IMAGE_DEPICTS_CHILDREN = 25;
      See Also:
    • INPUT_IMAGE_CONTAINS_BRAND_CONTENT_VALUE

      public static final int INPUT_IMAGE_CONTAINS_BRAND_CONTENT_VALUE
       The provided image contains brand content.
       
      INPUT_IMAGE_CONTAINS_BRAND_CONTENT = 26;
      See Also:
    • INPUT_IMAGE_SENSITIVE_VALUE

      public static final int INPUT_IMAGE_SENSITIVE_VALUE
       The provided image contains sensitive subject matter.
       
      INPUT_IMAGE_SENSITIVE = 27;
      See Also:
    • INPUT_IMAGE_VIOLATES_POLICY_VALUE

      public static final int INPUT_IMAGE_VIOLATES_POLICY_VALUE
       The provided image may violate Google Ads policies.
       
      INPUT_IMAGE_VIOLATES_POLICY = 28;
      See Also:
    • ALL_OUTPUT_IMAGES_FILTERED_OUT_CHILDREN_DEPICTION_VALUE

      public static final int ALL_OUTPUT_IMAGES_FILTERED_OUT_CHILDREN_DEPICTION_VALUE
       All output images were filtered out because they included depictions of
       children.
       
      ALL_OUTPUT_IMAGES_FILTERED_OUT_CHILDREN_DEPICTION = 29;
      See Also:
    • ALL_OUTPUT_IMAGES_FILTERED_OUT_SPECIFIC_PEOPLE_VALUE

      public static final int ALL_OUTPUT_IMAGES_FILTERED_OUT_SPECIFIC_PEOPLE_VALUE
       All output images were filtered out because they included depictions of
       specific people.
       
      ALL_OUTPUT_IMAGES_FILTERED_OUT_SPECIFIC_PEOPLE = 30;
      See Also:
    • ALL_OUTPUT_IMAGES_FILTERED_OUT_VALUE

      public static final int ALL_OUTPUT_IMAGES_FILTERED_OUT_VALUE
       All output images were filtered out for a reason not covered by a more
       specific error code.
       
      ALL_OUTPUT_IMAGES_FILTERED_OUT = 31;
      See Also:
    • INPUT_IMAGE_REQUIRED_VALUE

      public static final int INPUT_IMAGE_REQUIRED_VALUE
       At least one input image is required for certain requests.
       
      INPUT_IMAGE_REQUIRED = 32;
      See Also:
    • INPUT_IMAGE_UNSUPPORTED_IMAGE_TYPE_VALUE

      public static final int INPUT_IMAGE_UNSUPPORTED_IMAGE_TYPE_VALUE
       The provided image is of an unsupported type.
       
      INPUT_IMAGE_UNSUPPORTED_IMAGE_TYPE = 33;
      See Also:
    • CONTEXT_ASSET_GROUP_NOT_FOUND_VALUE

      public static final int CONTEXT_ASSET_GROUP_NOT_FOUND_VALUE
       Asset Group could not be found with the provided ID.
       
      CONTEXT_ASSET_GROUP_NOT_FOUND = 34;
      See Also:
    • CONTEXT_AD_GROUP_AD_NOT_FOUND_VALUE

      public static final int CONTEXT_AD_GROUP_AD_NOT_FOUND_VALUE
       Ad Group Ad could not be found with the provided ID combination.
       
      CONTEXT_AD_GROUP_AD_NOT_FOUND = 35;
      See Also:
    • CONTEXT_CAMPAIGN_NOT_FOUND_VALUE

      public static final int CONTEXT_CAMPAIGN_NOT_FOUND_VALUE
       Could not find Campaign associated with the provided generation context.
       
      CONTEXT_CAMPAIGN_NOT_FOUND = 36;
      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 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.
      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 AssetGenerationErrorEnum.AssetGenerationError 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<AssetGenerationErrorEnum.AssetGenerationError> 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 AssetGenerationErrorEnum.AssetGenerationError 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