type StringFormatError (v202502)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
StringFormatError is an error code used for reporting invalid content of input strings within the Google Ad Manager API, specifically in version v202502.
StringFormatError inherits from ApiError and includes fields like fieldPath, fieldPathElements, trigger, and errorString.
StringFormatError has a specific field called reason, which can be UNKNOWN, ILLEGAL_CHARS (disallowed characters), or INVALID_FORMAT.
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
trigger
xsd:string
The data that caused the error.
errorString
xsd:string
A simple string representation of the error and reason.
[[["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 content details numerous services, including AdRule, Adjustment, AdsTxt, AudienceSegment, and more, alongside services for content, creatives, forecasting, inventory, and various management tasks. It also presents an inheritance hierarchy for `ApiError`, outlining specific error types like `ApiVersionError`, `AuthenticationError`, and `StringFormatError`. String format error lists the error code for reporting invalid strings such as `UNKNOWN`, `ILLEGAL_CHARS`, and `INVALID_FORMAT`. Also it contains the namespace: `https://www.google.com/apis/ads/publisher/v202502`.\n"]]