abstract type CustomCriteriaNode (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eA CustomCriteriaNode represents a node within the custom targeting tree in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt can be either a CustomCriteriaSet (non-leaf, representing a group of criteria) or a CustomCriteria (leaf, representing a single criterion).\u003c/p\u003e\n"],["\u003cp\u003eThe structure and rules of the custom targeting tree are governed by Targeting.customTargeting.\u003c/p\u003e\n"],["\u003cp\u003eCustomCriteriaNode is part of the Google Ad Manager API namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The core content defines the `CustomCriteriaNode` within the ad management system. This node, part of the custom targeting tree, can be either a `CustomCriteriaSet` (non-leaf) or a `CustomCriteriaLeaf` (leaf). Several services, including `AdRuleService`, `AdjustmentService`, `AudienceSegmentService`, `ForecastService`, and others, utilize this `CustomCriteriaNode` structure. The custom criteria targeting tree adheres to specific rules outlined in `Targeting.customTargeting`. The namespace for these definitions is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# abstract type CustomCriteriaNode (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.CustomCriteriaNode) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.CustomCriteriaNode) **AudienceSegmentService** [ForecastService](/ad-manager/api/reference/v202408/ForecastService.CustomCriteriaNode) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.CustomCriteriaNode) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.CustomCriteriaNode) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.CustomCriteriaNode) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.CustomCriteriaNode) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.CustomCriteriaNode) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.CustomCriteriaNode) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.CustomCriteriaNode) **Dependencies** \n[CustomCriteriaSet](/ad-manager/api/reference/v202408/AudienceSegmentService.CustomCriteriaSet) \n▼\n**CustomCriteriaNode** **Inheritance** \n**CustomCriteriaNode** \n▼\n[CustomCriteriaLeaf](/ad-manager/api/reference/v202408/AudienceSegmentService.CustomCriteriaLeaf) [CustomCriteriaSet](/ad-manager/api/reference/v202408/AudienceSegmentService.CustomCriteriaSet)\n\nA [CustomCriteriaNode](/ad-manager/api/reference/v202408/AudienceSegmentService.CustomCriteriaNode) is a node in the custom targeting tree. A custom criteria node can\neither be a [CustomCriteriaSet](/ad-manager/api/reference/v202408/AudienceSegmentService.CustomCriteriaSet) (a non-leaf node) or a [CustomCriteria](/ad-manager/api/reference/v202408/AudienceSegmentService.CustomCriteria) (a leaf\nnode). The custom criteria targeting tree is subject to the rules defined on [Targeting.customTargeting](/ad-manager/api/reference/v202408/AdRuleService.Targeting#customTargeting).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---|---|"]]