enum RequiredSizeError.Reason (v202411)

  • RequiredSizeError.Reason is an enumeration that provides reasons for errors related to required sizes in Google Ad Manager.

  • It includes three reasons: REQUIRED, NOT_ALLOWED, and UNKNOWN.

  • REQUIRED indicates a missing creative or line item size.

  • NOT_ALLOWED signifies that line item creative association sizes must be a subset of line item creative placeholder sizes.

  • UNKNOWN is returned when the actual reason is not exposed by the API version.


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.