enum RoadblockingType (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Describes the roadblocking types.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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."],[[["\u003cp\u003e\u003ccode\u003eRoadblockingType\u003c/code\u003e defines how creatives from a line item are displayed together on a page.\u003c/p\u003e\n"],["\u003cp\u003eThere are five roadblocking types: \u003ccode\u003eONLY_ONE\u003c/code\u003e, \u003ccode\u003eONE_OR_MORE\u003c/code\u003e, \u003ccode\u003eAS_MANY_AS_POSSIBLE\u003c/code\u003e, \u003ccode\u003eALL_ROADBLOCK\u003c/code\u003e, and \u003ccode\u003eCREATIVE_SET\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach type dictates a specific creative serving behavior, ranging from displaying only one creative at a time to ensuring all creatives are served together.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eALL_ROADBLOCK\u003c/code\u003e requires single request architecture (SRA) for proper functionality.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCREATIVE_SET\u003c/code\u003e is specifically designed for master/companion creative sets and requires appropriate creative placeholder setup.\u003c/p\u003e\n"]]],["The core content details the `RoadblockingType` enumeration, defining how creatives from a line item are served. It includes five types: `ONLY_ONE` (only one creative), `ONE_OR_MORE` (multiple creatives), `AS_MANY_AS_POSSIBLE` (as many as fit), `ALL_ROADBLOCK` (all or none, requiring SRA), and `CREATIVE_SET` (master/companion set, with specific placeholders). It also lists the `ForecastService` and its dependencies, including `LineItemService`, `LineItemTemplateService`, `ProposalLineItemService`, `LineItemSummary` and `ProposalLineItem`.\n"],null,["# enum RoadblockingType (v202408)\n\n**Service** \n**ForecastService** [LineItemService](/ad-manager/api/reference/v202408/LineItemService.RoadblockingType) [LineItemTemplateService](/ad-manager/api/reference/v202408/LineItemTemplateService.RoadblockingType) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.RoadblockingType) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202408/ForecastService.LineItemSummary) [ProposalLineItem](/ad-manager/api/reference/v202408/ForecastService.ProposalLineItem) \n▼\n**RoadblockingType**\n\nDescribes the roadblocking types.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\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/v202408/CreativeSetService.CreativeSet) roadblocking type. A [LineItem.creativePlaceholders](/ad-manager/api/reference/v202408/ForecastService.LineItem#creativePlaceholders) must be set accordingly. |"]]