enum AdRuleSlotBehavior (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
The types of behaviors for ads within a ad rule slot.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Enumeration |
Description |
ALWAYS_SHOW
|
This ad rule always includes this slot's ads.
|
NEVER_SHOW
|
This ad rule never includes this slot's ads.
|
DEFER
|
Defer to lower priority rules. This ad rule doesn't specify guidelines for this slot's ads.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
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\u003e\u003ccode\u003eAdRuleSlotBehavior\u003c/code\u003e defines how ads within an ad rule slot should behave, dictating whether they should always show, never show, defer to other rules, or remain unspecified.\u003c/p\u003e\n"],["\u003cp\u003eThis enumeration includes four values: \u003ccode\u003eALWAYS_SHOW\u003c/code\u003e, \u003ccode\u003eNEVER_SHOW\u003c/code\u003e, \u003ccode\u003eDEFER\u003c/code\u003e, and \u003ccode\u003eUNKNOWN\u003c/code\u003e, providing flexibility in ad serving configurations within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdRuleSlotBehavior\u003c/code\u003e enumeration resides within the \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e namespace, accessible via the AdRuleService API in Google Ad Manager.\u003c/p\u003e\n"]]],["AdRuleService's AdRuleSlotBehavior defines how ad slots are handled within ad rules. It includes four behaviors: `ALWAYS_SHOW`, ensuring ads in the slot are always included; `NEVER_SHOW`, excluding ads from the slot; `DEFER`, which delegates the decision to lower-priority rules; and `UNKNOWN`, for values not exposed by the API version. These determine an ad slot inclusion in an ad rule. The information is from the namespace `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# enum AdRuleSlotBehavior (v202408)\n\n**Service** \n**AdRuleService** **Dependencies** \n[BaseAdRuleSlot](/ad-manager/api/reference/v202408/AdRuleService.BaseAdRuleSlot) \n▼\n**AdRuleSlotBehavior**\n\nThe types of behaviors for ads within a [ad rule slot](/ad-manager/api/reference/v202408/AdRuleService.BaseAdRuleSlot).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|---------------|---------------------------------------------------------------------------------------------|\n| `ALWAYS_SHOW` | This ad rule always includes this slot's ads. |\n| `NEVER_SHOW` | This ad rule never includes this slot's ads. |\n| `DEFER` | Defer to lower priority rules. This ad rule doesn't specify guidelines for this slot's ads. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]