enum PlacementError.Reason (v202502)

  • PlacementError.Reason is an enumeration detailing possible reasons for errors related to placements in the Ad Manager API v202502.

  • Possible errors include invalid entity types, issues with shared inventory assignment and usage from multiple or local distributor networks, and an unknown error reason.

  • These error reasons are relevant to services like ContentBundleService and PlacementService.

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.