AI-generated Key Takeaways
-
The
InventoryUnitSizesError
highlights potential issues related to ad unit sizes, such as dimensions, video compatibility, and companion ad settings. -
This error encompasses reasons like invalid size specifications, platform incompatibility, missing video features, and restrictions on companions.
-
It provides specific error reasons including
INVALID_SIZES
,INVALID_SIZE_FOR_PLATFORM
,VIDEO_FEATURE_MISSING
, and others, enabling targeted troubleshooting. -
The namespace for this error is
https://www.google.com/apis/ads/publisher/v202411
, indicating its context within the Google Ad Manager API. -
An enumeration table details each error reason with its corresponding description, aiding in understanding the cause and resolution.
All possible reasons the error can be thrown.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration | Description |
---|---|
INVALID_SIZES
|
A size in the ad unit is too large or too small. |
INVALID_SIZE_FOR_PLATFORM
|
A size is an aspect ratio, but the ad unit is not a mobile ad unit. |
VIDEO_FEATURE_MISSING
|
A size is video, but the video feature is not enabled. |
VIDEO_MOBILE_LINE_ITEM_FEATURE_MISSING
|
A size is video in a mobile ad unit, but the mobile video feature is not enabled. |
INVALID_SIZE_FOR_MASTER
|
A size that has companions must have an environment of VIDEO_PLAYER. |
INVALID_SIZE_FOR_COMPANION
|
A size that is a companion must have an environment of BROWSER. |
DUPLICATE_MASTER_SIZES
|
Duplicate video master sizes are not allowed. |
ASPECT_RATIO_NOT_SUPPORTED
|
A size is an aspect ratio, but aspect ratio sizes are not enabled. |
VIDEO_COMPANIONS_NOT_SUPPORTED
|
A video size has companions, but companions are not allowed for the network |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version. |