enum PlacementError.Reason (v202411)

  • Placement errors may occur due to invalid entity types, such as using something other than inventory or content.

  • Placements cannot contain shared inventory assigned from multiple distributor networks or a mix of local and shared inventory.

  • Shared inventory cannot be assigned to placements directly.

  • The UNKNOWN reason is used when the actual error reason isn't exposed by the current API version.

Possible reasons for the error.


Namespace
https://www.google.com/apis/ads/publisher/v202411
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.