AI-generated Key Takeaways
- 
          ForecastError represents errors specifically related to forecast requests within the LineItemTemplateService. 
- 
          This error type inherits properties from ApiError, including fieldPath,fieldPathElements,trigger, anderrorStringfor detailing the error source and context.
- 
          The primary field for ForecastError is reason, which provides an enumerated value explaining the specific cause of the forecast failure, such asSERVER_NOT_AVAILABLE,NOT_ENOUGH_INVENTORY, orEXCEEDED_QUOTA.
- 
          Various services, including AdjustmentService, ForecastService, and LineItemService, can also return ForecastError, indicating its use across different forecasting contexts. 
Errors that can result from a forecast request.
- Namespace
- 
               https://www.google.com/apis/ads/publisher/v202505
| 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. | 
| ForecastError | |
| 
                            | The reason for the forecast error. Enumerations 
 |