AI-generated Key Takeaways
-
This documentation outlines the
FeatureError
within the Ad Manager API, specifically for theContentService
. -
FeatureError
occurs when attempting to use a feature not enabled for the network, indicated by theMISSING_FEATURE
reason. -
It provides details about the error including
fieldPath
,trigger
, and a human-readableerrorString
. -
FeatureError
inherits properties fromApiError
for comprehensive error context. -
Developers can utilize this information to debug and handle scenarios where requested features are unavailable.
Errors related to feature management. If you attempt using a feature that is not available to the current network you'll receive a FeatureError with the missing feature as the trigger.
- 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. |
FeatureError
|
|
|
Enumerations
|