{"page":"/blog/prebid-js-guide","modified":"2026-11-10","license":"https://creativecommons.org/licenses/by/4.0/","columns":["Phase","Event","Fires when"],"rows":[["Start","requestBids","pbjs.requestBids() was called; carries the ad units and codes"],["Start","beforeRequestBids","Bids are about to be requested; handlers can adjust the ad units"],["Start","auctionInit","The auction has started"],["Bidding","bidRequested","A bid request was created for one bidder"],["Bidding","beforeBidderHttp","A bidder's network request is about to be sent"],["Bidding","beforePBSHttp","Defined in constants.ts; description n/d in the events table"],["Bidding","bidAccepted","A bid passed checks and is about to join the auction (removed in 11.0, restored in 11.7)"],["Bidding","bidAdjustment","A bid's price was adjusted"],["Bidding","bidResponse","A bid response was added to the auction"],["Bidding","bidRejected","A bid was rejected"],["Bidding","noBid","A bidder returned no bid (used in Prebid's own logging example)"],["Bidding","bidderError","A bidder's request failed; carries { error, bidderRequest }"],["Bidding","bidderDone","A bidder signalled it has finished responding"],["Close","auctionTimeout","The auction hit its timeout; fires before bidTimeout and auctionEnd"],["Close","bidTimeout","Lists the bids that timed out"],["Close","auctionEnd","The auction has ended"],["Close","setTargeting","Ad server targeting was set"],["Render","bidWon","A Prebid bid won; the only event that accepts an id (the ad unit code)"],["Render","adRenderSucceeded","The render call raised no error; it does not prove tracking fired"],["Render","adRenderFailed","Rendering failed; carries reason and message"],["Render","browserIntervention","The browser intervened in a creative, for example a heavy-ad unload"],["Server side","pbsAnalytics","Prebid Server returned extra analytics data such as seat non-bids"],["Privacy","tcf2Enforcement","TCF enforcement blocked storage, bidders or analytics"],["Diagnostics","auctionDebug","An error was logged to the console"],["Other names in constants.ts","bidViewable, staleRender, expiredRender, billableEvent, browsiInit, browsiData","Emitted by specific modules or features; see each module's page"]],"sourceUrls":[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]]}