type PrerollSettings (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Service
LiveStreamEventService
Settings for ad breaks on LiveStreamEvent that are specific to preroll.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Field
|
adTag
|
xsd:string
The Ad Manager ad tag URL generated by the Ad Manager trafficking workflow that is associated
with this live stream event. This attribute is required.
This attribute is required.
|
maxAdPodDurationSeconds
|
xsd:long
The maximum duration (in seconds) for an ad break.
This attribute is required.
|
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 `LiveStreamEventService` utilizes `PrerollSettings` to manage ad breaks. Key actions involve specifying an `adTag`, which is a required Ad Manager URL for the live stream. Another required attribute is `maxAdPodDurationSeconds`, defining the maximum length of an ad break in seconds. These settings are within the `https://www.google.com/apis/ads/publisher/v202502` namespace, used to set the ad breaks for the `LiveStreamEvent`.\n"],null,["# type PrerollSettings (v202502)\n\n**Service** \n**LiveStreamEventService** **Dependencies** \n[LiveStreamEvent](/ad-manager/api/reference/v202502/LiveStreamEventService.LiveStreamEvent) \n▼\n**PrerollSettings**\n\nSettings for ad breaks on [LiveStreamEvent](/ad-manager/api/reference/v202502/LiveStreamEventService.LiveStreamEvent) that are specific to preroll.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ----- ||\n|-------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `adTag` | ` `xsd:`string` The Ad Manager ad tag URL generated by the Ad Manager trafficking workflow that is associated with this live stream event. This attribute is required. This attribute is required. |\n| ### `maxAdPodDurationSeconds` | ` `xsd:`long` The maximum duration (in seconds) for an ad break. This attribute is required. |"]]