Errors

The ad tag validator will report errors, including:

Note that the ad tag validator can throw multiple errors that reflect the same violation as reported by the tag and the player.

About VAST/VPAID Sequence Errors

In addition to checking out the presence or absence of expected events, you also want to check that ad events and function calls are firing in the appropriate order.

VAST Sequences

In general, VAST function calls and events should occur in the following sequence:

  1. handshakeVersion (method called by the player)
  2. initAd: "AdLoaded" (an ad event)
  3. startAd: "AdStarted" (an ad event)
  4. "AdImpression" (an ad event)
  5. "AdVideoStart" (an ad event)
  6. "AdVideoFirstQuartile" (an ad event)
  7. "AdVideoMidpoint" (an ad event)
  8. "AdVideoThirdQuartile" (an ad event)
  9. "AdVideoComplete"(an ad event)
  10. stopAd: "AdStopped" (an ad event)

For more information about VAST ad event sequencing, see page 7 of the IAB Digital Video Ad Serving Template (VAST)

VPAID Sequences

In general, VPAID function calls and events should occur in the following sequence:

  1. handshakeVersion (method called by the player)
  2. initAd: "AdLoaded" (an ad event)
  3. startAd: "AdStarted" (an ad event)
  4. "AdImpression" (an ad event)
  5. "AdVideoStart" (an ad event)
  6. "AdVideoFirstQuartile" (an ad event)
  7. "AdVideoMidpoint" (an ad event)
  8. "AdVideoThirdQuartile" (an ad event)
  9. "AdVideoComplete"(an ad event)
  10. stopAd: "AdStopped" (an ad event)

For more information about VPAID ad event sequencing, see section 4.10 (page 17) of the IAB Video Player-Ad Interface Definition (VPAID)