刪除範圍

您可以從時間軸中移除beginlocalTimeend之間的TimeRanges

秘訣

若要僅從內容移除特定範圍,請建立CustomRangeMetadata例項,並指定類型為使用已定義自訂範圍的DELETE作業。

廣告地圖必須依廣告伺服器的定義使用。

  1. 若要刪除具有Adobe Primetime廣告決策廣告的範圍:

    {   
        "properties": [],
        "stream": {
            "manifests": [
                {
                    "url": "https://d398890tia84ty.cloudfront.net/e2e-vod/cloudfront_vod_hls_tos_30fps.m3u8",
                    "type": "hls"
                }
            ],
            "metadata": {
                "time-ranges": {
                    "type": "delete",
                    "time-range-list": [
                        {
                            "begin": 0,
                            "end": 20000
                        },
                        {
                            "begin": 69000,
                            "end": 99000
                        },
                        {
                            "begin": 251000,
                            "end": 281000
                        },
                        {
                            "begin": 514000,
                            "end": 544000
                        }
                    ]
                },
                "ad": {
                    "targeting": [
                        {
                            "value": "MulAdsAvail12346",
                            "key": "osmfKeyMulAdsAvail12346"
                        }
                    ],
                    "domain": "sandbox2.auditude.com",
                    "mediaid": "psdk_000105",
                    "zoneid": "121781"
                }     
            }
        },   
        "title": "VOD - DELETE TimeRange with xm-replace_text Phrase Ads",
        "thumbnail": {
            "large": "https://example.com",
            "small": "https://example.com"
        },
        "type": "vod",
        "id": "vod_003"
    },
    

本頁內容