enum AdRuleSlotBumper (v202408)
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/v202408
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."],[[["\u003cp\u003e\u003ccode\u003eAdRuleSlotBumper\u003c/code\u003e defines the types of bumper ads that can be displayed on an ad rule slot.\u003c/p\u003e\n"],["\u003cp\u003eIt is an enumeration within the \u003ccode\u003eAdRuleService\u003c/code\u003e and uses the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eOptions include displaying bumper ads before, after, or before and after the main ad content, or choosing not to show them at all.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNKNOWN\u003c/code\u003e value is returned if the API version used does not expose the actual value.\u003c/p\u003e\n"]]],["The `AdRuleSlotBumper` enumeration defines the placement of bumper ads within an ad rule slot. The possible values are `NONE` (no bumper), `BEFORE` (bumper before other ads), `AFTER` (bumper after other ads), `BEFORE_AND_AFTER` (bumper before and after), and `UNKNOWN` (value not exposed by the API). This service is found within the AdRuleService dependencies of the BaseAdRuleSlot, located within the Google Ad Manager API.\n"],null,["# enum AdRuleSlotBumper (v202408)\n\n**Service** \n**AdRuleService** **Dependencies** \n[BaseAdRuleSlot](/ad-manager/api/reference/v202408/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/v202408`\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. |"]]