enum InventoryUnitError.Reason (v202411)

  • InventoryUnitError outlines potential errors encountered when managing inventory units within Google Ad Manager.

  • These errors can arise from explicit targeting restrictions, platform incompatibility, AdSense limitations, or root unit deactivation attempts.

  • InventoryUnitError includes specific reasons such as EXPLICIT_TARGETING_NOT_ALLOWED, TARGET_PLATFORM_NOT_APPLICABLE, ADSENSE_CANNOT_BE_ENABLED, ROOT_UNIT_CANNOT_BE_DEACTIVATED, and UNKNOWN.

  • Ad Manager 360 accounts have specific functionalities like setting AdUnit.explicitlyTargeted to true.

  • The provided namespace helps identify the API version and associated functionalities related to inventory unit errors.

Possible reasons for the error.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
EXPLICIT_TARGETING_NOT_ALLOWED AdUnit.explicitlyTargeted can be set to true only in an Ad Manager 360 account.
TARGET_PLATFORM_NOT_APPLICABLE The specified target platform is not applicable for the inventory unit.
ADSENSE_CANNOT_BE_ENABLED AdSense cannot be enabled on this inventory unit if it is disabled for the network.
ROOT_UNIT_CANNOT_BE_DEACTIVATED A root unit cannot be deactivated.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.