from:https://support.google.com/adxbuyer/answer/2691733?hl=en
Implement skippable functionality using VAST creatives
Ad Exchange supports skippable ads that use VAST 2.0 (via a custom in-line skippable tracking element in the XML) or VAST 3.0 with built-in skippable ad tracking functionality. When a skippable ad is served, the publisher player reads the response and displays a skippable button, if the ad has been correctly implemented as skippable.
To render an in-stream video creative as skippable:
VAST 2.0: Creatives must include at least one
Tracking
node underAd/Inline/Extensions/Extension/CustomTracking
, with the attributeevent="skip"
. The content of the node should be a CDATA-wrapped URI that the video player will ping if and when the user clicks the skip button.<CustomTracking>
<Tracking event="skip">
<![ CDATA[http://googleads.g.doubleclick.net/pagead/conversion/?ai=BYjRF3nOCTrGYG8_a-
gbhkeDyAaKnaCios789IQ1234aBCdEfg87OPAWiod98L0adVlkjpiu9PKJ9O00qKsS998983J;FAPOIAPIUH99PI
JH9hkli899hif989KUH73lkpO ]]>
</Tracking>
</CustomTracking>VAST 3.0: Creatives only need to include the
skip
event, not the custom tracking extension. Also, theskipOffset
attribute on the linear element must be set to00:00:05
.