type FirstPartyAudienceSegmentRule (v202502)

  • 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

inventoryRule

InventoryTargeting

Specifies the inventory (i.e. ad units and placements) that are part of the rule of a FirstPartyAudienceSegment. This attribute is required.

customCriteriaRule

CustomCriteriaSet

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.

The resulting custom criteria rule would be of the form: