AI-generated Key Takeaways
-
RequiredSizeError
is used to validate the size of creatives and line items in Google Ad Manager. -
It occurs when the
Creative.size
orLineItem.creativePlaceholders
size is missing, not allowed, or unknown. -
LineItemCreativeAssociation.sizes
must be a subset ofLineItem.creativePlaceholders
sizes to avoid this error. -
The error is indicated by the
reason
field, which provides the specific cause of the issue. -
Refer to the linked documentation for more details on
Creative
,LineItem
, andLineItemCreativeAssociation
objects and their properties.
A list of all errors to be used for validating Size.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field |
|
---|---|
ApiError (inherited)
|
|
|
The OGNL field path to identify cause of error. |
|
A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. |
|
The data that caused the error. |
|
A simple string representation of the error and reason. |
RequiredSizeError
|
|
|
Enumerations
|