enum RoadblockingType (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Describes the roadblocking types.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
ONLY_ONE
|
Only one creative from a line item can serve at a time.
|
ONE_OR_MORE
|
Any number of creatives from a line item can serve together at a time.
|
AS_MANY_AS_POSSIBLE
|
As many creatives from a line item as can fit on a page will serve. This
could mean anywhere from one to all of a line item's creatives given the
size constraints of ad slots on a page.
|
ALL_ROADBLOCK
|
All or none of the creatives from a line item will serve. This option will only work if
served to a GPT tag using SRA (single request architecture mode).
|
CREATIVE_SET
|
A master/companion CreativeSet roadblocking type.
A LineItem.creativePlaceholders must be set accordingly.
|
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 `RoadblockingType` enumeration defines how creatives from a line item serve. `ONLY_ONE` allows only one creative to serve at a time. `ONE_OR_MORE` permits multiple creatives to serve concurrently. `AS_MANY_AS_POSSIBLE` serves as many creatives as fit. `ALL_ROADBLOCK` ensures either all or none serve, requiring GPT SRA. `CREATIVE_SET` enables master/companion creative set roadblocking, mandating specific settings in `LineItem.creativePlaceholders`. The information is in the namespace: `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# enum RoadblockingType (v202502)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202502/ForecastService.RoadblockingType) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.RoadblockingType) **LineItemTemplateService** [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.RoadblockingType) **Dependencies** \n[LineItemTemplate](/ad-manager/api/reference/v202502/LineItemTemplateService.LineItemTemplate) \n▼\n**RoadblockingType**\n\nDescribes the roadblocking types.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ONLY_ONE` | Only one creative from a line item can serve at a time. |\n| `ONE_OR_MORE` | Any number of creatives from a line item can serve together at a time. |\n| `AS_MANY_AS_POSSIBLE` | As many creatives from a line item as can fit on a page will serve. This could mean anywhere from one to all of a line item's creatives given the size constraints of ad slots on a page. |\n| `ALL_ROADBLOCK` | All or none of the creatives from a line item will serve. This option will only work if served to a GPT tag using SRA (single request architecture mode). |\n| `CREATIVE_SET` | A master/companion [CreativeSet](/ad-manager/api/reference/v202502/CreativeSetService.CreativeSet) roadblocking type. A [LineItem.creativePlaceholders](/ad-manager/api/reference/v202502/ForecastService.LineItem#creativePlaceholders) must be set accordingly. |"]]