Skip to content

bidReductionEnabled

The bidReductionEnabled flag enables ML-driven bid reduction for a tag. When set to true, Htag fetches sampling rates from the ws-header-bidreduction service and probabilistically removes bid requests to bidders that are unlikely to win the auction.

window.htag = window.htag || { que: [] };
window.htag.bidReductionEnabled = true;
  • All configured bidders participate in every auction
  • No config is fetched from ws-header-bidreduction
  • Htag fetches bid reduction config on startup and caches it
  • Each bidder’s bid request is kept or removed based on the configured sampling rate
  • Removed bids emit a bidReduced tracking event
  • Google and Amazon bidders are never subject to reduction
  • If the config fetch fails or times out, all bids proceed normally (fail-open)