This page demonstrates the Validated Actor Inventory (VAI) integration using the script tag approach.
Loading VAI data...
Loading...
This demonstrates how the VAI data would be passed to Prebid:
<!-- Example HTML (non-hook approach) -->
<!-- Prebid must already be loaded and pbjs must exist. -->
<!-- Load VAI (same-origin with your public surface, e.g. the cdn host in local dev) -->
<script src="/pw/vai.js"></script>
<script>
(function () {
var vai = window.__PW_VAI__;
if (!vai) {
// If you need strict ordering, prefer the hook approach (not shown here).
return;
}
pbjs.setConfig({
ortb2: {
site: {
ext: {
pw_vai: vai
}
}
}
});
})();
</script>
Running verification checks...
Checking if __PW_VAI_HOOK__ was called...