# type RequiredSizeError (v202605)

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

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

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` 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` | ` RequiredSizeError.Reason ` *** ** * ** *** **Enumerations** `REQUIRED` : [Creative.size](https://developers.google.com/ad-manager/api/reference/v202605/CreativeService.Creative.md.txt#size) or [LineItem.creativePlaceholders](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#creativePlaceholders) size is missing. `NOT_ALLOWED` : [LineItemCreativeAssociation.sizes](https://developers.google.com/ad-manager/api/reference/v202605/LineItemCreativeAssociationService.LineItemCreativeAssociation.md.txt#sizes) must be a subset of [LineItem.creativePlaceholders](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#creativePlaceholders) sizes. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |