AI-generated Key Takeaways
-
This documentation outlines the
RequiredSizeError
object and its properties used for validating sizes within Google Ad Manager. -
RequiredSizeError
inherits fromApiError
providing standard error information like field path, trigger and error message. -
It includes a
reason
field specifying why the size validation failed, with reasons likeREQUIRED
,NOT_ALLOWED
, orUNKNOWN
. -
This error is encountered when working with services like
CreativeService
,CreativeSetService
,ForecastService
, and more, as shown in the content. -
Errors relate to missing creative or LineItem sizes, incorrect sizes in LineItemCreativeAssociations and other size-related discrepancies.
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
|