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 document details the `PlacementError.Reason` enumeration within the `PlacementService` of an ad management API. Key error reasons include `INVALID_ENTITY_TYPE`, indicating an incorrect entity type; `SHARED_INVENTORY_ASSIGNED`, prohibiting shared inventory in a placement; and `PLACEMENTS_CANNOT_INCLUDE_INVENTORY_FROM_MULTIPLE_DISTRIBUTOR_NETWORKS` and `PLACEMENTS_CANNOT_INCLUDE_BOTH_LOCAL_AND_SHARED_INVENTORY`, specifying restrictions on mixing inventory types or sources. `UNKNOWN` is a catch-all for unexposed API values. These errors are used in the ContentBundleService.\n"],null,["# enum PlacementError.Reason (v202502)\n\n**Service** \n[ContentBundleService](/ad-manager/api/reference/v202502/ContentBundleService.PlacementError.Reason) **PlacementService** **Dependencies** \n[PlacementError](/ad-manager/api/reference/v202502/PlacementService.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. |"]]