# type StringLengthError (v202608)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202608/AdRuleService.StringLengthError.md.txt) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202608/AdjustmentService.StringLengthError.md.txt) [AdsTxtService](https://developers.google.com/ad-manager/api/reference/v202608/AdsTxtService.StringLengthError.md.txt) [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202608/AudienceSegmentService.StringLengthError.md.txt) [CdnConfigurationService](https://developers.google.com/ad-manager/api/reference/v202608/CdnConfigurationService.StringLengthError.md.txt) [CmsMetadataService](https://developers.google.com/ad-manager/api/reference/v202608/CmsMetadataService.StringLengthError.md.txt) [CompanyService](https://developers.google.com/ad-manager/api/reference/v202608/CompanyService.StringLengthError.md.txt) [ContactService](https://developers.google.com/ad-manager/api/reference/v202608/ContactService.StringLengthError.md.txt) [ContentBundleService](https://developers.google.com/ad-manager/api/reference/v202608/ContentBundleService.StringLengthError.md.txt) [ContentService](https://developers.google.com/ad-manager/api/reference/v202608/ContentService.StringLengthError.md.txt) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202608/CreativeService.StringLengthError.md.txt) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202608/CreativeSetService.StringLengthError.md.txt) **CreativeTemplateService** [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202608/CreativeWrapperService.StringLengthError.md.txt) [CustomFieldService](https://developers.google.com/ad-manager/api/reference/v202608/CustomFieldService.StringLengthError.md.txt) [CustomTargetingService](https://developers.google.com/ad-manager/api/reference/v202608/CustomTargetingService.StringLengthError.md.txt) [DaiAuthenticationKeyService](https://developers.google.com/ad-manager/api/reference/v202608/DaiAuthenticationKeyService.StringLengthError.md.txt) [DaiEncodingProfileService](https://developers.google.com/ad-manager/api/reference/v202608/DaiEncodingProfileService.StringLengthError.md.txt) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202608/ForecastService.StringLengthError.md.txt) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202608/InventoryService.StringLengthError.md.txt) [LabelService](https://developers.google.com/ad-manager/api/reference/v202608/LabelService.StringLengthError.md.txt) [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202608/LineItemCreativeAssociationService.StringLengthError.md.txt) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202608/LineItemService.StringLengthError.md.txt) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202608/LineItemTemplateService.StringLengthError.md.txt) [LiveStreamEventService](https://developers.google.com/ad-manager/api/reference/v202608/LiveStreamEventService.StringLengthError.md.txt) [MobileApplicationService](https://developers.google.com/ad-manager/api/reference/v202608/MobileApplicationService.StringLengthError.md.txt) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202608/NativeStyleService.StringLengthError.md.txt) [NetworkService](https://developers.google.com/ad-manager/api/reference/v202608/NetworkService.StringLengthError.md.txt) [OrderService](https://developers.google.com/ad-manager/api/reference/v202608/OrderService.StringLengthError.md.txt) [PlacementService](https://developers.google.com/ad-manager/api/reference/v202608/PlacementService.StringLengthError.md.txt) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.StringLengthError.md.txt) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.StringLengthError.md.txt) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.StringLengthError.md.txt) [ReportService](https://developers.google.com/ad-manager/api/reference/v202608/ReportService.StringLengthError.md.txt) [SegmentPopulationService](https://developers.google.com/ad-manager/api/reference/v202608/SegmentPopulationService.StringLengthError.md.txt) [SiteService](https://developers.google.com/ad-manager/api/reference/v202608/SiteService.StringLengthError.md.txt) [StreamActivityMonitorService](https://developers.google.com/ad-manager/api/reference/v202608/StreamActivityMonitorService.StringLengthError.md.txt) [SuggestedAdUnitService](https://developers.google.com/ad-manager/api/reference/v202608/SuggestedAdUnitService.StringLengthError.md.txt) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202608/TargetingPresetService.StringLengthError.md.txt) [TeamService](https://developers.google.com/ad-manager/api/reference/v202608/TeamService.StringLengthError.md.txt) [UserService](https://developers.google.com/ad-manager/api/reference/v202608/UserService.StringLengthError.md.txt) [UserTeamAssociationService](https://developers.google.com/ad-manager/api/reference/v202608/UserTeamAssociationService.StringLengthError.md.txt) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202608/YieldGroupService.StringLengthError.md.txt) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.ApiError.md.txt) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.ApiVersionError.md.txt) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.AuthenticationError.md.txt) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.CollectionSizeError.md.txt) [CommonError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.CommonError.md.txt) [CreativeTemplateError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.CreativeTemplateError.md.txt) [CreativeTemplateOperationError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.CreativeTemplateOperationError.md.txt) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.FeatureError.md.txt) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.InternalApiError.md.txt) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.InvalidUrlError.md.txt) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.NotNullError.md.txt) [NullError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.NullError.md.txt) [ParseError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.ParseError.md.txt) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.PermissionError.md.txt) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.PublisherQueryLanguageContextError.md.txt "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.PublisherQueryLanguageSyntaxError.md.txt "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.QuotaError.md.txt) [RangeError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.RangeError.md.txt) [RequestError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.RequestError.md.txt) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.RequiredCollectionError.md.txt) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.RequiredError.md.txt) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.RequiredNumberError.md.txt) [ServerError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.ServerError.md.txt) [StatementError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.StatementError.md.txt) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.StringFormatError.md.txt) **StringLengthError** [UniqueError](https://developers.google.com/ad-manager/api/reference/v202608/CreativeTemplateService.UniqueError.md.txt)

Errors for Strings which do not meet given length constraints.

*** ** * ** ***

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. |
| **`StringLengthError`** ||
| ### `reason` | ` StringLengthError.Reason ` *** ** * ** *** **Enumerations** `TOO_LONG` : `TOO_SHORT` : `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |