Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
This page provides details on StringFormatError.Reason, which outlines the reasons for a string formatting error in the Google Ad Manager API.
StringFormatError.Reason includes the reasons UNKNOWN, ILLEGAL_CHARS, and INVALID_FORMAT, indicating disallowed characters or invalid input for a field.
This enumeration is part of the Google Ad Manager API and is used by various services like UserService, AdRuleService, and others to denote formatting errors.
Developers can use these reasons to identify and troubleshoot issues related to invalid string values 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 core content outlines various services within an ad management platform, including AdRule, Adjustment, AdsTxt, AudienceSegment, and many others. These services cover areas like content management, creative handling, forecasting, inventory, line items, targeting, reporting, and user management. Each service has an associated `StringFormatError.Reason`, with potential error types being `UNKNOWN`, `ILLEGAL_CHARS`, or `INVALID_FORMAT`. These errors are under the `StringFormatError` dependency, which is in the `https://www.google.com/apis/ads/publisher/v202411` namespace.\n"]]