Function requestNextAd

  • Requests the next ad in the VAST Chain.

    Parameters

    Returns Promise<VastChain>

    Returns a Promise that will resolve with a VastChain with the newest VAST response at the beginning of the array. If the VastChain had an error. The first VAST response of the array will contain an error and an errorCode entry.

Generated using TypeDoc