> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v24** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/reference/rpc/latest/AssetGenerationErrorEnum.AssetGenerationError).

Enum describing GenAI asset generation errors.

[Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v24/errors/asset_generation_error.proto)

| Enums ||
|---|---|
| ## `ALL_OUTPUT_IMAGES_FILTERED_OUT` | All output images were filtered out for a reason not covered by a more specific error code. |
| ## `ALL_OUTPUT_IMAGES_FILTERED_OUT_CHILDREN_DEPICTION` | All output images were filtered out because they included depictions of children. |
| ## `ALL_OUTPUT_IMAGES_FILTERED_OUT_SPECIFIC_PEOPLE` | All output images were filtered out because they included depictions of specific people. |
| ## `CAMPAIGN_TYPE_REQUIRED` | 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. |
| ## `CONTEXT_AD_GROUP_AD_NOT_FOUND` | Ad Group Ad could not be found with the provided ID combination. |
| ## `CONTEXT_ASSET_GROUP_NOT_FOUND` | Asset Group could not be found with the provided ID. |
| ## `CONTEXT_CAMPAIGN_NOT_FOUND` | Could not find Campaign associated with the provided generation context. |
| ## `FINAL_URL_REQUIRED` | 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_SENSITIVE` | The provided final URL is considered sensitive, and assets cannot be generated. |
| ## `FINAL_URL_UNAVAILABLE` | The provided final URL was not indexed or could otherwise not be processed. |
| ## `FINAL_URL_UNSUPPORTED_LANGUAGE` | The language of the provided final URL is not supported. |
| ## `FREEFORM_PROMPT_BRAND_CONTENT` | The provided freeform prompt contains brand content. |
| ## `FREEFORM_PROMPT_INVALID_LENGTH` | The provided freeform prompt does not have a valid length. |
| ## `FREEFORM_PROMPT_REFERENCES_CHILDREN` | The provided freeform prompt references children. |
| ## `FREEFORM_PROMPT_REFERENCES_SPECIFIC_PEOPLE` | The provided freeform prompt references specific people. |
| ## `FREEFORM_PROMPT_SENSITIVE` | The provided freeform prompt is considered sensitive, and assets cannot be generated. |
| ## `FREEFORM_PROMPT_UNSUPPORTED_LANGUAGE` | The language of the provided freeform prompt is not supported. |
| ## `FREEFORM_PROMPT_VIOLATES_ADS_POLICY` | The provided freeform prompt violates Ads Policy. |
| ## `GENERATION_CONTEXT_MISSING_FINAL_URL` | A final URL is required but was not provided, and could not be sourced from the provided existing generation context. |
| ## `GENERATION_TYPE_REQUIRED` | Exactly one generation type must be provided. |
| ## `INPUT_IMAGE_CONTAINS_BRAND_CONTENT` | The provided image contains brand content. |
| ## `INPUT_IMAGE_DEPICTS_CHILDREN` | The provided image depicts children. |
| ## `INPUT_IMAGE_EMPTY` | The provided image is empty. |
| ## `INPUT_IMAGE_FILE_SIZE_TOO_LARGE` | The provided image file size exceeds the limit. |
| ## `INPUT_IMAGE_REQUIRED` | At least one input image is required for certain requests. |
| ## `INPUT_IMAGE_SENSITIVE` | The provided image contains sensitive subject matter. |
| ## `INPUT_IMAGE_UNSUPPORTED_IMAGE_TYPE` | The provided image is of an unsupported type. |
| ## `INPUT_IMAGE_VIOLATES_POLICY` | The provided image may violate Google Ads policies. |
| ## `KEYWORD_INVALID_LENGTH` | A provided keyword does not have a valid length. |
| ## `NO_ASSETS_GENERATED` | No assets were generated for the given request. |
| ## `NO_VALID_KEYWORDS` | All keywords were filtered out. |
| ## `TOO_MANY_KEYWORDS` | Too many keywords provided in request. |
| ## `UNKNOWN` | The received error code is not known in this version. |
| ## `UNSPECIFIED` | Enum unspecified. |
| ## `UNSUPPORTED_CAMPAIGN_TYPE` | The provided campaign type is not supported for this asset generation operation. |
| ## `UNSUPPORTED_FIELD_TYPE` | The provided field type is not supported for this asset generation operation. |
| ## `UNSUPPORTED_FIELD_TYPE_FOR_CAMPAIGN_TYPE` | The provided field type is not supported for the given campaign type. |