enum AdRuleSlotBehavior (v202411)

  • AdRuleSlotBehavior defines how ads within an ad rule slot should behave, dictating whether they are always shown, never shown, deferred to other rules, or unknown.

  • It's an enumeration within the AdRuleService and provides four possible values: ALWAYS_SHOW, NEVER_SHOW, DEFER, and UNKNOWN.

  • The behavior is crucial in determining ad serving priority and how different ad rules interact within an ad slot.

The types of behaviors for ads within a ad rule slot.


Namespace
https://www.google.com/apis/ads/publisher/v202411
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.