enum AdRuleSlotBumper (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Types of bumper ads on an ad rule slot.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
NONE
|
Do not show a bumper ad.
|
BEFORE
|
Show a bumper ad before the slot's other ads.
|
AFTER
|
Show a bumper ad after the slot's other ads.
|
BEFORE_AND_AFTER
|
Show a bumper before and after the slot's other 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."],[],["The `AdRuleSlotBumper` within the `AdRuleService` defines the placement of bumper ads relative to other ads in a slot. It allows for four configurations: `NONE` (no bumper ad), `BEFORE` (bumper ad before other ads), `AFTER` (bumper ad after other ads), and `BEFORE_AND_AFTER` (bumper ads both before and after). Additionally, `UNKNOWN` is a possible value when the actual value cannot be obtained through the current API version. The `BaseAdRuleSlot` is a dependency of `AdRuleService`.\n"],null,["# enum AdRuleSlotBumper (v202502)\n\n**Service** \n**AdRuleService** **Dependencies** \n[BaseAdRuleSlot](/ad-manager/api/reference/v202502/AdRuleService.BaseAdRuleSlot) \n▼\n**AdRuleSlotBumper**\n\nTypes of bumper ads on an ad rule slot.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|--------------------|-------------------------------------------------------------------------------------|\n| `NONE` | Do not show a bumper ad. |\n| `BEFORE` | Show a bumper ad before the slot's other ads. |\n| `AFTER` | Show a bumper ad after the slot's other ads. |\n| `BEFORE_AND_AFTER` | Show a bumper before and after the slot's other ads. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]