AI-generated Key Takeaways
-
The
TargetingPresetService
allows management of targeting presets in Google Ad Manager. -
This service exposes errors, including
FeatureError
, indicating features unavailable to the current network. -
FeatureError
details include a reason likeMISSING_FEATURE
when attempting to use an unenabled feature. -
Attempting to use features that aren't supported by the network will lead to errors with detailed information about the missing feature.
-
This service inherits from
ApiError
, providing context and specific details about errors related to the field path and data.
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
|