type CustomCriteriaSet (v202411)

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

  • This targeting method adheres to rules defined in Targeting.customTargeting and impacts various services like AdRuleService, LineItemService, and ProposalService.

  • CustomCriteriaSet includes a logicalOperator (required) and children which represent specific targeting criteria.

  • Children can be CustomCriteriaNode, CustomCriteriaSet, or CustomCriteriaLeaf objects, providing flexibility in defining targeting criteria.

  • The CustomCriteriaSet is part of the PublisherQueryLanguageService within the Google Ad Manager API.

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.