# type RequiredSizeError (v202505)

**Service** **CreativeService** [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.RequiredSizeError) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.RequiredSizeError) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.RequiredSizeError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.RequiredSizeError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.RequiredSizeError) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202505/NativeStyleService.RequiredSizeError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.RequiredSizeError) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.RequiredSizeError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.ApiVersionError) [AssetError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.AssetError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.CommonError) [CreativeAssetMacroError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.CreativeAssetMacroError) [CreativeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.CreativeError) [CreativeSetError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.CreativeSetError) [CreativeTemplateError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.CreativeTemplateError) [CreativeTemplateOperationError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.CreativeTemplateOperationError) [CustomCreativeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.CustomCreativeError) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.CustomFieldValueError) [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.FeatureError) [FileError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.FileError) [HtmlBundleProcessorError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.HtmlBundleProcessorError) [ImageError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.ImageError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.InternalApiError) [InvalidPhoneNumberError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.InvalidPhoneNumberError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.InvalidUrlError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.LabelEntityAssociationError) [LineItemCreativeAssociation...](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.LineItemCreativeAssociationError "LineItemCreativeAssociationError") [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.NullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.RangeError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.RequiredNumberError) **RequiredSizeError** [RichMediaStudioCreativeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.RichMediaStudioCreativeError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.ServerError) [SetTopBoxCreativeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.SetTopBoxCreativeError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.StringLengthError) [SwiffyConversionError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.SwiffyConversionError) [TemplateInstantiatedCreativ...](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.TemplateInstantiatedCreativeError "TemplateInstantiatedCreativeError") [TranscodingError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.TranscodingError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.UniqueError)

A list of all errors to be used for validating [Size](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.Size).

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202505`

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.FieldPathElement[]` A parsed copy of the field path. For example, the field path "operations\[1\].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. |
| ### `trigger` | ` xsd:string` The data that caused the error. |
| ### `errorString` | ` xsd:string` A simple string representation of the error and reason. |
| **`RequiredSizeError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.RequiredSizeError.Reason ` *** ** * ** *** **Enumerations** `REQUIRED` : [Creative.size](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.Creative#size) or [LineItem.creativePlaceholders](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.LineItem#creativePlaceholders) size is missing. `NOT_ALLOWED` : [LineItemCreativeAssociation.sizes](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.LineItemCreativeAssociation#sizes) must be a subset of [LineItem.creativePlaceholders](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.LineItem#creativePlaceholders) sizes. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |