AI-generated Key Takeaways
- 
          
AudienceSegmentError indicates errors specifically related to audience segment requests in various services like AudienceSegmentService, ForecastService, and others.
 - 
          
This error type inherits properties from ApiError, including details like the field path, trigger, and a simple error string.
 - 
          
The AudienceSegmentError has a specific 'reason' field which can detail numerous specific causes for the error, such as invalid segment rules, names, duplicate names, or issues with nesting and policy violations.
 - 
          
Potential reasons for an AudienceSegmentError include issues with first-party segments, rule validity and length, naming conflicts, and invalid values for pageviews, recency, or membership expiration.
 - 
          
Errors can also occur due to invalid custom key/value names, unsupported custom value match types, nesting of segments incorrectly, or policy violations.
 
Errors that could occur on audience segment related requests.
- 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.  | 
                  
                        
                           AudienceSegmentError
                        
                      | 
                  |
                        
                           
                      | 
                     
                        
                         
 Enumerations 
  |