AI-generated Key Takeaways
-
InventoryUnitError outlines potential errors encountered when managing inventory units within Google Ad Manager.
-
Reasons for these errors can include explicit targeting restrictions, platform incompatibility, AdSense limitations, and root unit deactivation attempts.
-
Each error reason is represented by a specific enumeration value within the InventoryUnitError object, providing detailed context for troubleshooting.
-
Ad Manager 360 accounts have specific functionalities, such as enabling explicit targeting for ad units, that may not be available in other account types.
-
Understanding these error reasons and their corresponding enumerations helps publishers effectively manage and troubleshoot inventory unit configurations in their Ad Manager network.
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. |