Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
This documentation details the StringLengthError.Reason enumeration within the Google Ad Manager API.
StringLengthError.Reason is used to indicate why a string value is invalid, either due to exceeding the maximum length or falling short of the minimum length.
The enumeration includes three possible values: TOO_LONG, TOO_SHORT, and UNKNOWN.
UNKNOWN is returned when the specific reason for the error is not available in the current API version.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The content lists numerous services within an ad management platform, including `AdRuleService`, `AdjustmentService`, `AudienceSegmentService`, `CreativeService`, `ForecastService`, `OrderService`, and `ReportService`, among many others. These services handle various aspects of ad management. There is a section for `DaiAuthenticationKeyService` that depends on `StringLengthError` which has the reason of `TOO_LONG`, `TOO_SHORT`, and `UNKNOWN`. These strings indicate errors related to length.\n"]]