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\u003ePlacementError encompasses all validation errors for a placement within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from ApiError, providing context about the error's origin and nature.\u003c/p\u003e\n"],["\u003cp\u003ePlacementError includes a \u003ccode\u003ereason\u003c/code\u003e field to categorize the specific type of error encountered.\u003c/p\u003e\n"],["\u003cp\u003ePossible reasons for PlacementError include issues with entity types, shared inventory assignment, or mixing inventory types.\u003c/p\u003e\n"],["\u003cp\u003eThe error messages provide details about the encountered issues, including the field path, trigger, and a string representation.\u003c/p\u003e\n"]]],["The document outlines the `PlacementError` class within the `PlacementService`, detailing its inheritance from `ApiError` and its role in validating placement operations. Key information includes the `ApiError`'s fields (`fieldPath`, `fieldPathElements`, `trigger`, `errorString`) and the `PlacementError`'s `reason`, an enum with values like `INVALID_ENTITY_TYPE`, `SHARED_INVENTORY_ASSIGNED`, `PLACEMENTS_CANNOT_INCLUDE_INVENTORY_FROM_MULTIPLE_DISTRIBUTOR_NETWORKS`, `PLACEMENTS_CANNOT_INCLUDE_BOTH_LOCAL_AND_SHARED_INVENTORY`, and `UNKNOWN`. It lists various error types that can be inherited from.\n"],null,["# type PlacementError (v202408)\n\n**Service** \n[ContentBundleService](/ad-manager/api/reference/v202408/ContentBundleService.PlacementError) **PlacementService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202408/PlacementService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202408/PlacementService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202408/PlacementService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/PlacementService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/PlacementService.CommonError) [EntityChildrenLimitReachedE...](/ad-manager/api/reference/v202408/PlacementService.EntityChildrenLimitReachedError \"EntityChildrenLimitReachedError\") [EntityLimitReachedError](/ad-manager/api/reference/v202408/PlacementService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202408/PlacementService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202408/PlacementService.InternalApiError) [NotNullError](/ad-manager/api/reference/v202408/PlacementService.NotNullError) [NullError](/ad-manager/api/reference/v202408/PlacementService.NullError) [ParseError](/ad-manager/api/reference/v202408/PlacementService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/PlacementService.PermissionError) **PlacementError** [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/PlacementService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/PlacementService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/PlacementService.QuotaError) [RangeError](/ad-manager/api/reference/v202408/PlacementService.RangeError) [RegExError](/ad-manager/api/reference/v202408/PlacementService.RegExError) [RequiredCollectionError](/ad-manager/api/reference/v202408/PlacementService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/PlacementService.RequiredError) [ServerError](/ad-manager/api/reference/v202408/PlacementService.ServerError) [StatementError](/ad-manager/api/reference/v202408/PlacementService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/PlacementService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/PlacementService.StringLengthError) [TypeError](/ad-manager/api/reference/v202408/PlacementService.TypeError) [UniqueError](/ad-manager/api/reference/v202408/PlacementService.UniqueError)\n\nClass defining all validation errors for a placement.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\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/v202408/PlacementService.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| **`PlacementError`** ||\n| ### `reason` | ` `[PlacementError.Reason](/ad-manager/api/reference/v202408/PlacementService.PlacementError.Reason)` ` *** ** * ** *** **Enumerations** `INVALID_ENTITY_TYPE` : Entity type is something other than inventory or content. `SHARED_INVENTORY_ASSIGNED` : Shared inventory cannot be assigned to a placement. `PLACEMENTS_CANNOT_INCLUDE_INVENTORY_FROM_MULTIPLE_DISTRIBUTOR_NETWORKS` : Shared inventory from one distributor network cannot be in the same placement with inventory from another distributor. `PLACEMENTS_CANNOT_INCLUDE_BOTH_LOCAL_AND_SHARED_INVENTORY` : Shared inventory and local inventory cannot be in the same placement. `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]