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 \u003ccode\u003eGeoTargetingError\u003c/code\u003e object lists errors related to geographical targeting for line items in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThis error is commonly encountered when setting up location-based targeting for ad campaigns.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGeoTargetingError\u003c/code\u003e reasons include conflicts between targeted and excluded locations, restrictions on excluding postal codes, and targeting untargetable locations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field provides specific information about the geographical targeting error encountered.\u003c/p\u003e\n"],["\u003cp\u003eThis information helps publishers to troubleshoot and resolve geographical targeting issues in their ad campaigns.\u003c/p\u003e\n"]]],["The document details error handling for various services like `AdRuleService`, `OrderService`, and `ForecastService`, focusing on `GeoTargetingError`. This error, inherited from `ApiError`, includes fields like `fieldPath`, `trigger`, and `errorString`. `GeoTargetingError` reasons include `TARGETED_LOCATIONS_NOT_EXCLUDABLE`, `EXCLUDED_LOCATIONS_CANNOT_HAVE_CHILDREN_TARGETED`, `POSTAL_CODES_CANNOT_BE_EXCLUDED`, `UNTARGETABLE_LOCATION`, and `UNKNOWN`, specifying issues with location targeting or exclusions. It also provides a namespace and identifies these errors as associated with a line item.\n"],null,[]]