AI-generated Key Takeaways
-
The
FeatureError
object is returned when attempting to use a feature not enabled for the current network. -
FeatureError
will specify the missing feature using thereason
field andMISSING_FEATURE
trigger. -
This error extends the
ApiError
class, providing further context through fields likefieldPath
, anderrorString
. -
The
reason
field in aFeatureError
clarifies why the feature is unavailable, such as due to it being missing for the network. -
The
FeatureError
class is part of theCreativeWrapperService
and belongs to the namespacehttps://www.google.com/apis/ads/publisher/v202411
.
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
|