enum RequiredSizeError.Reason (v202411)

  • RequiredSizeError.Reason enumerates reasons for errors related to creative or line item sizes in Google Ad Manager.

  • It includes reasons like missing size specifications (REQUIRED), disallowed size combinations (NOT_ALLOWED), and unknown errors (UNKNOWN).

  • The enumeration is part of the Google Ad Manager API and is used across various services like CreativeService, LineItemService, and OrderService.

  • Developers can use these reasons to troubleshoot and fix size-related issues in their Ad Manager integrations.


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.