Skip to content

LivePreRollConfiguration

Source code in docs_src/capo_mediatailor/types/live_pre_roll_configuration.py
class LivePreRollConfiguration(TypedDict, closed=True):
    ad_decision_server_url: NotRequired["capo_mediatailor.types.__string.__string"]
    """<p>The URL for the ad decision server (ADS) for pre-roll ads. This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.</p>"""
    max_duration_seconds: NotRequired["capo_mediatailor.types.__integer.__integer"]
    """<p>The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns.</p>"""
    ad_decision_server_configuration: NotRequired[
        "capo_mediatailor.types.pre_roll_ad_decision_server_configuration.PreRollAdDecisionServerConfiguration"
    ]
    """<p>The configuration for the ad decision server (ADS) for live pre-roll ads. The configuration contains settings that control how MediaTailor processes VAST responses for pre-roll ad breaks.</p>"""

ad_decision_server_configuration instance-attribute

ad_decision_server_configuration: NotRequired[PreRollAdDecisionServerConfiguration]

The configuration for the ad decision server (ADS) for live pre-roll ads. The configuration contains settings that control how MediaTailor processes VAST responses for pre-roll ad breaks.

ad_decision_server_url instance-attribute

ad_decision_server_url: NotRequired[__string]

The URL for the ad decision server (ADS) for pre-roll ads. This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters.

max_duration_seconds instance-attribute

max_duration_seconds: NotRequired[__integer]

The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns.