Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The StringLengthError object provides error reasons when a string value fails length validation.
StringLengthError.Reason is an enumeration outlining specific reasons for the error, like exceeding maximum length (TOO_LONG) or being below the minimum required length (TOO_SHORT).
Possible values include TOO_LONG, TOO_SHORT, and UNKNOWN.
It applies to various services in the Google Ad Manager API, such as AdsTxtService, indicated by its namespace.
[[["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 outlines various services within an ad management platform, including AdRule, Adjustment, AdsTxt, AudienceSegment, CdnConfiguration, and many more. These services cover functionalities like managing ads, targeting, inventory, reporting, forecasting, creative assets, and user management. The document also lists the `StringLengthError` dependency, detailing potential reasons like `TOO_LONG`, `TOO_SHORT`, and `UNKNOWN`, for issues related to string length within the system.\n"]]