enum PlacementError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Possible reasons for the error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The core content defines potential errors within the `PlacementError.Reason` enumeration in the `ContentBundleService`. It details five possible error reasons: `INVALID_ENTITY_TYPE` (incorrect entity), `SHARED_INVENTORY_ASSIGNED` (shared inventory issue), `PLACEMENTS_CANNOT_INCLUDE_INVENTORY_FROM_MULTIPLE_DISTRIBUTOR_NETWORKS` (distributor network conflict), `PLACEMENTS_CANNOT_INCLUDE_BOTH_LOCAL_AND_SHARED_INVENTORY` (mixed inventory types), and `UNKNOWN` (unspecified error). These errors are related to inventory and content management within the service, specifically concerning placement assignments.\n"],null,["# enum PlacementError.Reason (v202502)\n\n**Service** \n**ContentBundleService** [PlacementService](/ad-manager/api/reference/v202502/PlacementService.PlacementError.Reason) **Dependencies** \n[PlacementError](/ad-manager/api/reference/v202502/ContentBundleService.PlacementError) \n▼\n**PlacementError.Reason**\n\nPossible reasons for the error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|--------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|\n| `INVALID_ENTITY_TYPE` | Entity type is something other than inventory or content. |\n| `SHARED_INVENTORY_ASSIGNED` | Shared inventory cannot be assigned to a placement. |\n| `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. |\n| `PLACEMENTS_CANNOT_INCLUDE_BOTH_LOCAL_AND_SHARED_INVENTORY` | Shared inventory and local inventory cannot be in the same placement. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]