Integration & Setup
Installing the Advlume Script
One script tag is all you need. Place the personalised hb.js tag in your <head> — it loads Prebid, GPT, CMP, and the video module automatically.
Adding Ad Unit Divs
Add banner, footer, outstream, and instream slots using simple data- attributes. No JavaScript required — the wrapper discovers the divs and runs auctions automatically.
Adding Video Ad Tags
How to add outstream (self-contained player) and instream (your own player, VAST tag) video ad slots, including the advlume:vastReady event for retrieving the winning VAST URL.
WordPress Integration
Three ways to add the Advlume script in WordPress (theme header, wp_head hook, header/footer plugin) and how to insert ad slot divs using Custom HTML blocks or widgets.
Single-Page App (SPA) Support
The wrapper's MutationObserver detects new slot divs within 300ms of DOM insertion — SPA route changes, infinite scroll, and dynamic content are handled automatically, no config needed.
Domain Verification
Prove domain ownership via a TXT file at the root or an HTML meta tag — both checked with an 8-second fetch. Verification triggers the site evaluation and approval queue.
ads.txt Setup Guide
Step-by-step guide to uploading your personalised ads.txt to your domain root — for standard servers, WordPress, and hosted builders — plus how to merge with an existing file.