# 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** [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](https://developers.google.com/ad-manager/api/reference/v202605/UserService.StringLengthError.md.txt) [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/LiveStreamEventService.ApiError.md.txt) ▼ [AdBreakMarkupError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.AdBreakMarkupError.md.txt) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.ApiVersionError.md.txt) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.AuthenticationError.md.txt) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.CollectionSizeError.md.txt) [CommonError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.CommonError.md.txt) [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.EntityLimitReachedError.md.txt) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.FeatureError.md.txt) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.InternalApiError.md.txt) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.InvalidUrlError.md.txt) [LiveStreamEventActionError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.LiveStreamEventActionError.md.txt) [LiveStreamEventCdnSettingsE...](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.LiveStreamEventCdnSettingsError.md.txt "LiveStreamEventCdnSettingsError") [LiveStreamEventConditioning...](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.LiveStreamEventConditioningError.md.txt "LiveStreamEventConditioningError") [LiveStreamEventCustomAssetK...](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.LiveStreamEventCustomAssetKeyError.md.txt "LiveStreamEventCustomAssetKeyError") [LiveStreamEventDateTimeError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.LiveStreamEventDateTimeError.md.txt) [LiveStreamEventDvrWindowError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.LiveStreamEventDvrWindowError.md.txt) [LiveStreamEventPrerollSetti...](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.LiveStreamEventPrerollSettingsError.md.txt "LiveStreamEventPrerollSettingsError") [LiveStreamEventSlateError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.LiveStreamEventSlateError.md.txt) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.NotNullError.md.txt) [NullError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.NullError.md.txt) [ParseError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.ParseError.md.txt) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.PermissionError.md.txt) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.PublisherQueryLanguageContextError.md.txt "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.PublisherQueryLanguageSyntaxError.md.txt "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.QuotaError.md.txt) [RangeError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.RangeError.md.txt) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.RequiredCollectionError.md.txt) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.RequiredError.md.txt) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.RequiredNumberError.md.txt) [ServerError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.ServerError.md.txt) [StatementError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.StatementError.md.txt) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.StringFormatError.md.txt) **StringLengthError** [UniqueError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.UniqueError.md.txt) [VideoAdTagError](https://developers.google.com/ad-manager/api/reference/v202605/LiveStreamEventService.VideoAdTagError.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 /> |