AI-generated Key Takeaways
-
The NativeStyleService provides specific errors related to native styles.
-
Errors related to NativeStyleService inherit from the general ApiError class.
-
NativeStyleService errors can include issues with required fields, invalid targeting, and incorrect creative template usage.
-
The
reasonfield onNativeStyleErrorprovides an enumerated value detailing the specific cause of the error. -
Various field path and data elements are available to help pinpoint the source of an error within the API call.
Errors for native styles.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
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. |
NativeStyleError
|
|
|
The error reason represented by an enum. Enumerations
|