Prebid.js
Prebid.js copied to clipboard
Feature: VAST Unwrapper module
Type of issue
Feature Request
Description
The Video Committee has identified the need for a module capable of unwrapping VAST URLs. This would provide information that is valuable to publishers and vendors acting on behalf of Publishers, such as:
- Does the VAST tag respond with a valid ad
- the duration of the Ad
- the Universal Ad ID
- The creative ID
Technical Requirements:
-
supported inputs:
- VAST tag URL as string
- VAST XML as string
-
Configuration options:
- max amount of redirects
-
can request the VAST tag URL
-
can parse the VAST XML
-
Supports VAST versions: [TBD]
-
returns metadata including the following information:
- was the response invalid
- response was empty
- max redirects exceeded
- Ad System
- Ad Serving ID
- Advertiser
- Pricing (Refer to section 3.4.8 of the VAST 4 spec)
- Expires (Refer to section 3.4.10 of the VAST 4 spec)
- VAST version
- Total amount of Ads
- greater than 1 for ad pods
- Total ad duration
- for each Ad element:
- ad duration
- Universal Ad ID
- sequence in pod
- ad type (video, audio, hybrid.)
- was the response invalid