enum RequiredSizeError.Reason (v202508)

  • RequiredSizeError.Reason is an enumeration within the PublisherQueryLanguageService with three possible values: REQUIRED, NOT_ALLOWED, and UNKNOWN.

  • The REQUIRED reason indicates that a size is missing for either Creative or LineItem creative placeholders.

  • The NOT_ALLOWED reason signifies that the sizes specified in a LineItemCreativeAssociation are not a subset of the sizes defined in the associated LineItem's creative placeholders.

  • The UNKNOWN reason is returned when the actual value of the error is not exposed in 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.