AI-generated Key Takeaways
- 
          
The Audience Segment Service provides specific errors related to audience segments in various services like ForecastService, LineItemService, and OrderService.
 - 
          
AudienceSegmentError inherits from ApiError and includes specific fields like
reasonwhich indicates the specific cause of the audience segment related error. - 
          
The possible reasons for an Audience Segment Error are enumerated and cover various issues such as invalid segment rules, names, descriptions, values, or unsupported segment types.
 - 
          
Audience segment rules have restrictions regarding nested segments, shared selling inventory units, and the format of custom key and value names.
 - 
          
Policy violations and licensing errors can also trigger an AudienceSegmentError.
 
Errors that could occur on audience segment related requests.
- Namespace
 - 
               
https://www.google.com/apis/ads/publisher/v202508 
                        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.  | 
                  
                        
                           AudienceSegmentError
                        
                      | 
                  |
                        
                           
                      | 
                     
                        
                         
 Enumerations 
  |