enum PlacementError.Reason (v202411)

  • PlacementError.Reason enumerates possible errors related to placements in the Google Ad Manager API.

  • These errors can occur due to invalid entity types, issues with shared inventory assignments, or conflicts between different types of inventory within a placement.

  • The UNKNOWN reason indicates that the actual error value is not available in 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.