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."],[[["\u003cp\u003eThe StringFormatError object provides error information when input strings have invalid content.\u003c/p\u003e\n"],["\u003cp\u003eIt's part of the Google Ad Manager API and falls under the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis error includes details like the field path causing the error and the reason for the error, such as illegal characters or invalid formatting.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003ereason\u003c/code\u003e field to understand the specific nature of the string format error and adjust their input accordingly.\u003c/p\u003e\n"]]],["The document outlines services and errors within an ad management API. Services include managing ads, content, targeting, forecasts, and reporting. Errors, like `StringFormatError`, indicate issues with input strings, such as illegal characters or invalid formats. The `ApiError` structure details error causes, providing field paths, triggers, and string representations of the error. StringFormatError has reasons `UNKNOWN`, `ILLEGAL_CHARS`, and `INVALID_FORMAT`. It includes services such as `AdRuleService`, `AdsTxtService`, `AudienceSegmentService` and others.\n"],null,["**Service** \n**AdRuleService** [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.StringFormatError) [AdsTxtService](/ad-manager/api/reference/v202411/AdsTxtService.StringFormatError) [AudienceSegmentService](/ad-manager/api/reference/v202411/AudienceSegmentService.StringFormatError) [CdnConfigurationService](/ad-manager/api/reference/v202411/CdnConfigurationService.StringFormatError) [CmsMetadataService](/ad-manager/api/reference/v202411/CmsMetadataService.StringFormatError) [CompanyService](/ad-manager/api/reference/v202411/CompanyService.StringFormatError) [ContactService](/ad-manager/api/reference/v202411/ContactService.StringFormatError) [ContentBundleService](/ad-manager/api/reference/v202411/ContentBundleService.StringFormatError) [ContentService](/ad-manager/api/reference/v202411/ContentService.StringFormatError) [CreativeService](/ad-manager/api/reference/v202411/CreativeService.StringFormatError) [CreativeSetService](/ad-manager/api/reference/v202411/CreativeSetService.StringFormatError) [CreativeTemplateService](/ad-manager/api/reference/v202411/CreativeTemplateService.StringFormatError) [CreativeWrapperService](/ad-manager/api/reference/v202411/CreativeWrapperService.StringFormatError) [CustomFieldService](/ad-manager/api/reference/v202411/CustomFieldService.StringFormatError) [CustomTargetingService](/ad-manager/api/reference/v202411/CustomTargetingService.StringFormatError) [DaiAuthenticationKeyService](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.StringFormatError) [DaiEncodingProfileService](/ad-manager/api/reference/v202411/DaiEncodingProfileService.StringFormatError) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.StringFormatError) [InventoryService](/ad-manager/api/reference/v202411/InventoryService.StringFormatError) [LabelService](/ad-manager/api/reference/v202411/LabelService.StringFormatError) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202411/LineItemCreativeAssociationService.StringFormatError) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.StringFormatError) [LineItemTemplateService](/ad-manager/api/reference/v202411/LineItemTemplateService.StringFormatError) [LiveStreamEventService](/ad-manager/api/reference/v202411/LiveStreamEventService.StringFormatError) [MobileApplicationService](/ad-manager/api/reference/v202411/MobileApplicationService.StringFormatError) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.StringFormatError) [NetworkService](/ad-manager/api/reference/v202411/NetworkService.StringFormatError) [OrderService](/ad-manager/api/reference/v202411/OrderService.StringFormatError) [PlacementService](/ad-manager/api/reference/v202411/PlacementService.StringFormatError) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.StringFormatError) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.StringFormatError) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.StringFormatError) [ReportService](/ad-manager/api/reference/v202411/ReportService.StringFormatError) [SegmentPopulationService](/ad-manager/api/reference/v202411/SegmentPopulationService.StringFormatError) [SiteService](/ad-manager/api/reference/v202411/SiteService.StringFormatError) [StreamActivityMonitorService](/ad-manager/api/reference/v202411/StreamActivityMonitorService.StringFormatError) [SuggestedAdUnitService](/ad-manager/api/reference/v202411/SuggestedAdUnitService.StringFormatError) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.StringFormatError) [TeamService](/ad-manager/api/reference/v202411/TeamService.StringFormatError) [UserService](/ad-manager/api/reference/v202411/UserService.StringFormatError) [UserTeamAssociationService](/ad-manager/api/reference/v202411/UserTeamAssociationService.StringFormatError) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.StringFormatError) **Inheritance** \n[ApiError](/ad-manager/api/reference/v202411/AdRuleService.ApiError) \n▼\n[AdRuleDateError](/ad-manager/api/reference/v202411/AdRuleService.AdRuleDateError) [AdRuleError](/ad-manager/api/reference/v202411/AdRuleService.AdRuleError) [AdRuleFrequencyCapError](/ad-manager/api/reference/v202411/AdRuleService.AdRuleFrequencyCapError) [AdRulePriorityError](/ad-manager/api/reference/v202411/AdRuleService.AdRulePriorityError) [AdRuleSlotError](/ad-manager/api/reference/v202411/AdRuleService.AdRuleSlotError) [AdRuleTargetingError](/ad-manager/api/reference/v202411/AdRuleService.AdRuleTargetingError) [ApiVersionError](/ad-manager/api/reference/v202411/AdRuleService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202411/AdRuleService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202411/AdRuleService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202411/AdRuleService.CommonError) [CustomTargetingError](/ad-manager/api/reference/v202411/AdRuleService.CustomTargetingError) [FeatureError](/ad-manager/api/reference/v202411/AdRuleService.FeatureError) [GeoTargetingError](/ad-manager/api/reference/v202411/AdRuleService.GeoTargetingError) [InternalApiError](/ad-manager/api/reference/v202411/AdRuleService.InternalApiError) [InventoryTargetingError](/ad-manager/api/reference/v202411/AdRuleService.InventoryTargetingError) [NotNullError](/ad-manager/api/reference/v202411/AdRuleService.NotNullError) [ParseError](/ad-manager/api/reference/v202411/AdRuleService.ParseError) [PermissionError](/ad-manager/api/reference/v202411/AdRuleService.PermissionError) [PoddingError](/ad-manager/api/reference/v202411/AdRuleService.PoddingError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202411/AdRuleService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202411/AdRuleService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202411/AdRuleService.QuotaError) [RequiredCollectionError](/ad-manager/api/reference/v202411/AdRuleService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202411/AdRuleService.RequiredError) [RequiredNumberError](/ad-manager/api/reference/v202411/AdRuleService.RequiredNumberError) [ServerError](/ad-manager/api/reference/v202411/AdRuleService.ServerError) [StatementError](/ad-manager/api/reference/v202411/AdRuleService.StatementError) **StringFormatError** [StringLengthError](/ad-manager/api/reference/v202411/AdRuleService.StringLengthError) [UniqueError](/ad-manager/api/reference/v202411/AdRuleService.UniqueError)\n\nA list of error code for reporting invalid content of input strings.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ||\n|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| `fieldPath` | ` `xsd:`string` The OGNL field path to identify cause of error. |\n| `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202411/AdRuleService.FieldPathElement)`[]` 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)}. |\n| `trigger` | ` `xsd:`string` The data that caused the error. |\n| `errorString` | ` `xsd:`string` A simple string representation of the error and reason. |\n| **`StringFormatError`** ||\n| `reason` | ` `[StringFormatError.Reason](/ad-manager/api/reference/v202411/AdRuleService.StringFormatError.Reason)` ` *** ** * ** *** **Enumerations** `UNKNOWN` : `ILLEGAL_CHARS` : The input string value contains disallowed characters. `INVALID_FORMAT` : The input string value is invalid for the associated field. \u003cbr /\u003e |"]]