Description
⚠️ BREAKING CHANGE: Remove ad rendering and auction logic from the core TSJS library, keeping only configuration and logging.
Removed APIs
tsjs.addAdUnits() - ad unit registration
tsjs.renderAdUnit() - single ad unit rendering
tsjs.renderAllAdUnits() - batch ad unit rendering
tsjs.requestAds() - auction request
tsjs.getHighestCpmBids() - bid retrieval
tsjs.que - command queue
Kept APIs
tsjs.version - version string
tsjs.setConfig() - configuration
tsjs.getConfig() - get current config
tsjs.log - logging utilities
Removed Files
core/queue.ts, registry.ts, render.ts, request.ts, util.ts
core/styles/normalize.css, core/templates/iframe.html
integrations/ext/ (Prebid shim - replaced by prebid integration)
integrations/testlight/ (obsolete test integration)
Migration
Use the GAM interceptor integration (#249) for rendering Prebid creatives, or the Prebid NPM integration (#250) for server-side bidding.
Bundle size
Reduced from ~32KB to ~23KB (gzipped: ~7.5KB)
Related
Description
Removed APIs
tsjs.addAdUnits()- ad unit registrationtsjs.renderAdUnit()- single ad unit renderingtsjs.renderAllAdUnits()- batch ad unit renderingtsjs.requestAds()- auction requesttsjs.getHighestCpmBids()- bid retrievaltsjs.que- command queueKept APIs
tsjs.version- version stringtsjs.setConfig()- configurationtsjs.getConfig()- get current configtsjs.log- logging utilitiesRemoved Files
core/queue.ts,registry.ts,render.ts,request.ts,util.tscore/styles/normalize.css,core/templates/iframe.htmlintegrations/ext/(Prebid shim - replaced by prebid integration)integrations/testlight/(obsolete test integration)Migration
Use the GAM interceptor integration (#249) for rendering Prebid creatives, or the Prebid NPM integration (#250) for server-side bidding.
Bundle size
Reduced from ~32KB to ~23KB (gzipped: ~7.5KB)
Related