enum CustomCriteriaSet.LogicalOperator (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Specifies the available logical operators.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Enumeration |
Description |
AND
|
|
OR
|
|
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\u003eThe \u003ccode\u003eTargetingPresetService.CustomCriteriaSet.LogicalOperator\u003c/code\u003e enumeration defines the logical operators (\u003ccode\u003eAND\u003c/code\u003e, \u003ccode\u003eOR\u003c/code\u003e) used in custom criteria sets within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThis enumeration is part of the Google Ad Manager API and resides within the \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eCustom criteria sets allow for advanced targeting options when setting up ad campaigns or other functionalities within the platform, using these logical operators to combine individual criteria.\u003c/p\u003e\n"],["\u003cp\u003eSeveral other services within Google Ad Manager utilize this \u003ccode\u003eLogicalOperator\u003c/code\u003e enumeration, including AdRuleService, AdjustmentService, AudienceSegmentService, and others listed on the page.\u003c/p\u003e\n"]]],["The core content details logical operators available within various advertising services, including AdRuleService, AdjustmentService, and others. These services utilize `CustomCriteriaSet`, which allows for defining logical operations. The `CustomCriteriaSet.LogicalOperator` specifies that `AND` and `OR` are the only available logical operators. These operators are part of the `https://www.google.com/apis/ads/publisher/v202408` namespace. They allow to combine criteria when creating targeting rules.\n"],null,["# enum CustomCriteriaSet.LogicalOperator (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.CustomCriteriaSet.LogicalOperator) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.CustomCriteriaSet.LogicalOperator) [AudienceSegmentService](/ad-manager/api/reference/v202408/AudienceSegmentService.CustomCriteriaSet.LogicalOperator) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.CustomCriteriaSet.LogicalOperator) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.CustomCriteriaSet.LogicalOperator) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.CustomCriteriaSet.LogicalOperator) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.CustomCriteriaSet.LogicalOperator) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.CustomCriteriaSet.LogicalOperator) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.CustomCriteriaSet.LogicalOperator) **TargetingPresetService** [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.CustomCriteriaSet.LogicalOperator) **Dependencies** \n[CustomCriteriaSet](/ad-manager/api/reference/v202408/TargetingPresetService.CustomCriteriaSet) \n▼\n**CustomCriteriaSet.LogicalOp...**\n\nSpecifies the available logical operators.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|-------------|-------------|\n| `AND` | |\n| `OR` | |"]]