# type StringLengthError (v202605)

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

Errors for Strings which do not meet given length constraints.

*** ** * ** ***

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. |
| **`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 /> |