enum RequiredSizeError.Reason (v202411)

  • RequiredSizeError.Reason indicates why an error related to creative or line item size requirements occurred.

  • This error can arise if a creative or line item is missing size information, if specified sizes are not allowed, or if the API version doesn't expose the specific reason.

  • Possible reasons include missing creative or line item sizes, disallowed size combinations, or an unknown issue.

  • It is part of the Google Ad Manager API and used across various services like CreativeService, LineItemService, etc.


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.