Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
This page documents the StringLengthError.Reason enumeration for the Google Ad Manager API.
StringLengthError.Reason indicates why a string failed validation, either due to exceeding the maximum length (TOO_LONG) or not meeting the minimum length (TOO_SHORT).
It also includes an UNKNOWN value for cases where the specific reason isn't exposed by the API version in use.
This enumeration is part of the broader Google Ad Manager API namespace https://www.google.com/apis/ads/publisher/v202411.
[[["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 various services within the Google Ad Manager API (v202411), including AdRuleService, AdjustmentService, and CustomTargetingService. Each service links to potential StringLengthErrors. It also details a dependency, `StringLengthError`, with possible reasons: `TOO_LONG`, `TOO_SHORT`, or `UNKNOWN`. The namespace for these services is defined as `https://www.google.com/apis/ads/publisher/v202411`.\n"]]