enum PlacementError.Reason (v202508)

  • PlacementError.Reason is an enumeration listing possible reasons for errors related to placing content or inventory.

  • Reasons for PlacementError include invalid entity type, shared inventory issues, and mixing shared and local inventory.

  • Errors can occur if shared inventory from different distributor networks is included in the same placement.

  • The UNKNOWN value is returned when the actual error reason is not exposed in the API version used.

Possible reasons for the error.


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