enum PlacementError.Reason (v202411)

  • PlacementError.Reason outlines potential reasons for errors encountered when working with placements in Google Ad Manager.

  • These reasons include issues like using an invalid entity type, attempting to assign shared inventory incorrectly, and mixing inventory from different networks or types within a single placement.

  • The namespace for this enumeration is https://www.google.com/apis/ads/publisher/v202411.

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.