type StringLengthError (v202502)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
The document lists various services available, including AdRuleService, AdjustmentService, and many others, all linking to their respective documentation for StringLengthError.
The document details the inheritance of StringLengthError from ApiError and lists inherited fields likefieldPath,fieldPathElements,trigger, anderrorString.
StringLengthError has a specific field calledreasonwhich is an enumeration with possible valuesTOO_LONG,TOO_SHORT, andUNKNOWN.
[[["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."],[],["This document outlines various services within an ad management API, including `AdRuleService`, `AdjustmentService`, and `AdsTxtService`, among many others. These services manage aspects like ad rules, content, creatives, forecasting, and inventory. It also details error handling, specifically `StringLengthError`, within the `SiteService`, indicating issues like `TOO_LONG` or `TOO_SHORT` string inputs, with inheritance from `ApiError`. The API operates under the namespace `https://www.google.com/apis/ads/publisher/v202502`.\n"]]