# type RequiredSizeError (v202608)

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

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

*** ** * ** ***

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

| ## 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/v202608/CreativeService.Creative.md.txt#size) or [LineItem.creativePlaceholders](https://developers.google.com/ad-manager/api/reference/v202608/ForecastService.LineItem.md.txt#creativePlaceholders) size is missing. `NOT_ALLOWED` : [LineItemCreativeAssociation.sizes](https://developers.google.com/ad-manager/api/reference/v202608/LineItemCreativeAssociationService.LineItemCreativeAssociation.md.txt#sizes) must be a subset of [LineItem.creativePlaceholders](https://developers.google.com/ad-manager/api/reference/v202608/ForecastService.LineItem.md.txt#creativePlaceholders) sizes. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |