enum RequiredSizeError.Reason (v202411)

  • RequiredSizeError.Reason indicates why an error related to creative or line item sizes occurred in Google Ad Manager.

  • The error could be due to a missing size in the creative or line item, disallowed sizes in the creative association, or an unknown reason.

  • REQUIRED, NOT_ALLOWED, and UNKNOWN are the possible reasons for the RequiredSizeError.

  • The reasons mainly deal with relationships between Creative.size, LineItem.creativePlaceholders, and LineItemCreativeAssociation.sizes.


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.