type CustomCriteriaSet (v202411)

  • A CustomCriteriaSet uses logical operators (AND, OR) to combine CustomCriteriaNode objects for targeting.

  • This targeting structure adheres to the rules defined in Targeting.customTargeting and is used to create specific audience segments.

  • CustomCriteriaSets are essential for building complex targeting scenarios by grouping various criteria nodes, including leaves (representing individual targeting criteria).

  • The key components of a CustomCriteriaSet are the logical operator and its children, which can be other sets, nodes, or individual criteria like audience segments or CMS metadata.

  • This framework enables publishers to precisely target their desired audience by combining different criteria and controlling their relationships through logical operations.

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.