AI-generated Key Takeaways
- 
          
GeoTargetingError lists errors related to geographical targeting for a LineItem.
 - 
          
This error is associated with several services including AdRuleService, ForecastService, and LineItemService.
 - 
          
GeoTargetingError inherits from ApiError and includes fields like fieldPath, trigger, and errorString.
 - 
          
Specific reasons for GeoTargetingError are provided as enumerations, such as TARGETED_LOCATIONS_NOT_EXCLUDABLE and POSTAL_CODES_CANNOT_BE_EXCLUDED.
 
Lists all errors associated with geographical targeting for a LineItem.
- 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.  | 
                  
                        
                           GeoTargetingError
                        
                      | 
                  |
                        
                           
                      | 
                     
                        
                         The error reason represented by an enum. Enumerations 
  |