type CustomCriteriaSet (v202411)

  • A CustomCriteriaSet in Google Ad Manager combines CustomCriteriaNode objects using a logical operator (AND or OR) to define targeting criteria.

  • This structure, used within Targeting.customTargeting, enables sophisticated audience targeting based on various criteria.

  • CustomCriteriaSet objects have two key properties: logicalOperator (AND/OR) and children, which contain other custom criteria nodes or leaves.

  • children can include a range of criteria types, like CustomCriteria, CmsMetadataCriteria, and AudienceSegmentCriteria.

  • These criteria work together to filter the audience for ad delivery based on the defined parameters.

A CustomCriteriaSet comprises of a set of CustomCriteriaNode objects combined by the CustomCriteriaSet.LogicalOperator.logicalOperator. The custom criteria targeting tree is subject to the rules defined on Targeting.customTargeting.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

CustomCriteriaNode (inherited)
CustomCriteriaSet

logicalOperator

CustomCriteriaSet.LogicalOp...

The logical operator to be applied to CustomCriteriaSet.children. This attribute is required.


Enumerations
AND
OR

This attribute is required.

children

  1. CustomCriteriaNode[]
    1. CustomCriteriaSet
    2. CustomCriteriaLeaf
      1. CustomCriteria
      2. CmsMetadataCriteria
      3. AudienceSegmentCriteria

The custom criteria. This attribute is required.