enum RequiredSizeError.Reason (v202508)

  • RequiredSizeError.Reason is an enumeration within the Google Ad Manager API's v202508 namespace.

  • The enumeration provides reasons for size-related errors, such as missing creative or line item sizes (REQUIRED) or incompatible sizes between line items and creative associations (NOT_ALLOWED).

  • An UNKNOWN value is returned if the actual value is not exposed by the requested API version.


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