abstract type CustomCriteriaLeaf (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
A CustomCriteriaLeaf object represents a generic leaf of CustomCriteria tree
structure.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
CustomCriteriaNode (inherited)
|
CustomCriteriaLeaf
|
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 \u003ccode\u003eCustomCriteriaLeaf\u003c/code\u003e object in Google Ad Manager represents a basic element within the \u003ccode\u003eCustomCriteria\u003c/code\u003e tree, used for targeting specific criteria.\u003c/p\u003e\n"],["\u003cp\u003eThis structure is part of the Publisher Query Language Service and has a dedicated namespace for API interaction.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCustomCriteriaLeaf\u003c/code\u003e inherits from \u003ccode\u003eCustomCriteriaNode\u003c/code\u003e and serves as the base for various criteria types like \u003ccode\u003eAudienceSegmentCriteria\u003c/code\u003e and \u003ccode\u003eCmsMetadataCriteria\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eServices like \u003ccode\u003eAdRuleService\u003c/code\u003e, \u003ccode\u003eLineItemService\u003c/code\u003e, and \u003ccode\u003eProposalService\u003c/code\u003e utilize this object for advanced targeting options within Ad Manager.\u003c/p\u003e\n"]]],["The core content details the structure and components of various services and criteria within a publisher API. It lists services like `AdRuleService`, `ForecastService`, and `ProposalService`. The `CustomCriteriaLeaf` is defined as a leaf in the `CustomCriteria` tree, inheriting from `CustomCriteriaNode`. It further classifies `CustomCriteriaLeaf` types, including `AudienceSegmentCriteria`, `CmsMetadataCriteria`, and `CustomCriteria`. The namespace for these objects is provided. The table shows inherited field `CustomCriteriaNode` and `CustomCriteriaLeaf`.\n"],null,["# abstract type CustomCriteriaLeaf (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.CustomCriteriaLeaf) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.CustomCriteriaLeaf) [AudienceSegmentService](/ad-manager/api/reference/v202408/AudienceSegmentService.CustomCriteriaLeaf) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.CustomCriteriaLeaf) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.CustomCriteriaLeaf) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.CustomCriteriaLeaf) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.CustomCriteriaLeaf) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.CustomCriteriaLeaf) **PublisherQueryLanguageService** [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.CustomCriteriaLeaf) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.CustomCriteriaLeaf) **Inheritance** \n[CustomCriteriaNode](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.CustomCriteriaNode) \n▼\n**CustomCriteriaLeaf** [CustomCriteriaSet](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.CustomCriteriaSet) \n▼\n[AudienceSegmentCriteria](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.AudienceSegmentCriteria) [CmsMetadataCriteria](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.CmsMetadataCriteria) [CustomCriteria](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.CustomCriteria)\n\nA [CustomCriteriaLeaf](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.CustomCriteriaLeaf) object represents a generic leaf of [CustomCriteria](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.CustomCriteria) tree\nstructure.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---|---|\n| **`CustomCriteriaNode` (inherited)** ||\n| **`CustomCriteriaLeaf`** ||"]]