Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
This page provides details on the StringLengthError.Reason enumeration within the Google Ad Manager API.
The enumeration outlines potential reasons for string length errors, such as exceeding maximum length (TOO_LONG) or falling below minimum length (TOO_SHORT).
It also includes an UNKNOWN reason for cases where the specific error cause is not exposed by the API version.
Developers can utilize this information to understand and handle string length validation issues when interacting with the Ad Manager API.
[[["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 document lists numerous services related to ad management, including `AdRuleService`, `AdjustmentService`, `AudienceSegmentService`, `CreativeService`, `ForecastService`, `InventoryService`, `OrderService`, `PlacementService` and `ReportService` among others. Each service has a corresponding StringLengthError.Reason. The StringLengthError dependency has three possible enumeration values: `TOO_LONG`, `TOO_SHORT`, and `UNKNOWN`, which are used to identify if an error has occurred.\n"]]