enum RequiredSizeError.Reason (v202411)

  • RequiredSizeError.Reason enumerates reasons for size-related errors in Google Ad Manager.

  • The REQUIRED reason indicates a missing size for a creative or creative placeholder in a line item.

  • The NOT_ALLOWED reason signals that line item creative association sizes are not a subset of line item creative placeholder sizes.

  • UNKNOWN is returned when the API version doesn't expose the actual error reason.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
REQUIRED Creative.size or LineItem.creativePlaceholders size is missing.
NOT_ALLOWED LineItemCreativeAssociation.sizes must be a subset of LineItem.creativePlaceholders sizes.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.