AI-generated Key Takeaways
- 
          
A FirstPartyAudienceSegmentRule defines user eligibility criteria for a segment.
 - 
          
The inventoryRule specifies required inventory for a FirstPartyAudienceSegmentRule.
 - 
          
The customCriteriaRule specifies custom criteria for a FirstPartyAudienceSegmentRule with up to three levels of logical operators.
 
Rule of a FirstPartyAudienceSegment that defines user's eligibility criteria to be part of a segment.
- Namespace
 - 
               
https://www.google.com/apis/ads/publisher/v202505 
                        Field | 
                  |
|---|---|
                        
                           
                      | 
                     
                        
                         Specifies the inventory (i.e. ad units and placements) that are part of the rule of a FirstPartyAudienceSegment. This attribute is required.  | 
                  
                        
                           
                      | 
                     
                        
                         Specifies the collection of custom criteria that are part of the rule of a FirstPartyAudienceSegment. Once the FirstPartyAudienceSegment is updated or modified with custom criteria, the server may return a normalized, but equivalent representation of the custom criteria rule. 
 customCriteriaRulewill have
up to three levels including itself.
The resulting custom criteria rule would be of the form:  |