enum CompanionDeliveryOption (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
The delivery option for companions. Used for line items whose environmentType is
EnvironmentType.VIDEO_PLAYER.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Enumeration |
Description |
OPTIONAL
|
Companions are not required to serve a creative set. The creative set can
serve to inventory that has zero or more matching companions.
|
AT_LEAST_ONE
|
At least one companion must be served in order for the creative set to be used.
|
ALL
|
All companions in the set must be served in order for the creative set to
be used. This can still serve to inventory that has more companions
than can be filled.
|
UNKNOWN
|
The delivery type is unknown.
|
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\u003eCompanionDeliveryOption specifies how companion ads are delivered alongside video player line items.\u003c/p\u003e\n"],["\u003cp\u003eOptions include serving companions optionally, requiring at least one, or requiring all companions to be served for the creative set to be used.\u003c/p\u003e\n"],["\u003cp\u003eThis setting is relevant when the line item's environmentType is VIDEO_PLAYER.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for CompanionDeliveryOption is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The content describes `CompanionDeliveryOption`, which dictates how companion ads are served for video player line items. There are four options: `OPTIONAL` (companions not required), `AT_LEAST_ONE` (at least one companion must serve), `ALL` (all companions must serve), and `UNKNOWN` (delivery type is not defined). This option is used by `ForecastService`, specifically for `LineItemService` and `ProposalLineItemService`.\n"],null,["# enum CompanionDeliveryOption (v202408)\n\n**Service** \n**ForecastService** [LineItemService](/ad-manager/api/reference/v202408/LineItemService.CompanionDeliveryOption) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.CompanionDeliveryOption) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202408/ForecastService.LineItemSummary) [ProposalLineItem](/ad-manager/api/reference/v202408/ForecastService.ProposalLineItem) \n▼\n**CompanionDeliveryOption**\n\nThe delivery option for companions. Used for line items whose environmentType is\n[EnvironmentType.VIDEO_PLAYER](/ad-manager/api/reference/v202408/ForecastService.EnvironmentType#VIDEO_PLAYER).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `OPTIONAL` | Companions are not required to serve a creative set. The creative set can serve to inventory that has zero or more matching companions. |\n| `AT_LEAST_ONE` | At least one companion must be served in order for the creative set to be used. |\n| `ALL` | All companions in the set must be served in order for the creative set to be used. This can still serve to inventory that has more companions than can be filled. |\n| `UNKNOWN` | The delivery type is unknown. |"]]