AI-generated Key Takeaways
- 
          
RuleBasedFirstPartyAudienceSegment rules define user eligibility criteria for a segment.
 - 
          
The
inventoryRulefield specifies the required inventory (ad units and placements) for a rule. - 
          
The
customCriteriaRulefield specifies the collection of custom criteria for a rule, which has a structured hierarchy of logical operators and criteria objects. 
Rule of a FirstPartyAudienceSegment that defines user's eligibility criteria to be part of a segment.
- Namespace
 - 
               
https://www.google.com/apis/ads/publisher/v202411 
                        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:  |