AI-generated Key Takeaways
- 
          RuleBasedFirstPartyAudienceSegment defines user eligibility criteria for a segment. 
- 
          The RuleBasedFirstPartyAudienceSegment depends on RuleBasedFirstPartyAudience. 
- 
          The rule for a FirstPartyAudienceSegment specifies inventory targeting and can include custom criteria. 
- 
          Custom criteria rules can have up to three levels of logical operators and custom 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/v202502
| 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: |