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 2024-11-19 UTC."],[[["PlacementError is a class used for defining validation errors that can occur when working with placements in Google Ad Manager."],["This class inherits from ApiError, providing access to general error information like field path, trigger, and error string."],["PlacementError includes a specific \"reason\" field to indicate the cause of the validation error, like using shared inventory with local inventory in the same placement."],["Possible reasons for PlacementError are outlined in the PlacementError.Reason enumeration with detailed explanations."],["This information is crucial for developers to understand and handle potential errors during placement management through the Ad Manager API."]]],["The core content outlines the `PlacementError` class within the `PlacementService`, detailing its structure and validation rules. `PlacementError` inherits from `ApiError` and includes fields like `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`. It defines specific error reasons such as `INVALID_ENTITY_TYPE`, `SHARED_INVENTORY_ASSIGNED`, `PLACEMENTS_CANNOT_INCLUDE_INVENTORY_FROM_MULTIPLE_DISTRIBUTOR_NETWORKS`, `PLACEMENTS_CANNOT_INCLUDE_BOTH_LOCAL_AND_SHARED_INVENTORY` and `UNKNOWN`. Other potential errors are also available, like `ApiVersionError`, `AuthenticationError` and `InternalApiError`. It is part of the ContentBundleService.\n"]]