enum RequiredSizeError.Reason (v202502)

  • The content lists various Ad Manager API services like CreativeService, CreativeSetService, and LineItemService.

  • RequiredSizeError.Reason is an enumeration within the Publisher API namespace https://www.google.com/apis/ads/publisher/v202502.

  • The REQUIRED reason indicates missing sizes for Creative or LineItem creative placeholders.

  • The NOT_ALLOWED reason signifies that LineItemCreativeAssociation sizes are not a subset of LineItem creative placeholder sizes.

  • The UNKNOWN reason is returned for values not exposed by the API version.


Namespace
https://www.google.com/apis/ads/publisher/v202502
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.