enum RequiredSizeError.Reason (v202508)

  • RequiredSizeError.Reason is an enumeration within the NativeStyleService namespace.

  • The REQUIRED reason indicates a missing size for Creative.size or LineItem.creativePlaceholders.

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

  • The UNKNOWN reason is used when the actual value is not exposed by the 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.