{"id":33799,"date":"2025-09-09T14:49:58","date_gmt":"2025-09-09T12:49:58","guid":{"rendered":"https:\/\/yieldbird.com\/research-hub\/?p=33799"},"modified":"2026-06-09T09:15:52","modified_gmt":"2026-06-09T07:15:52","slug":"prebid-js-10-0-key-updates-and-recommendations","status":"publish","type":"post","link":"https:\/\/yieldbird.com\/research-hub\/prebid-js-10-0-key-updates-and-recommendations\/","title":{"rendered":"Prebid.js 10 &#8211; what to focus on?"},"content":{"rendered":"\n<article>\n  <section id=\"introduction\">\n    <h2>Introduction<\/h2>\n<br>\n    <p style=\"text-align: justify;\">On July 1st, 2025, Prebid.js 10 was officially released. This new major version is a significant step forward-cleaning up deprecated modules, simplifying APIs, and introducing support for modern tools. Publishers planning to upgrade should be aware of several important changes in targeting, user identity, and overall infrastructure setup.<\/p>\n  <\/section>\n<br><br>\n\n  <section id=\"core-changes-in-prebidjs-10-0\">\n    <h2>Core Changes in Prebid.js 10<\/h2>\n<br>\n    <p style=\"text-align: justify;\">A number of outdated modules have been removed and replaced with updated equivalents. The long-used <code>sendTargetingKeys<\/code> method is no longer supported, requiring new targeting approaches in native ads. Similarly, the legacy <code>pbadslot<\/code> parameter has been fully replaced by <code>ortb2Imp.ext.gpid<\/code>.<\/p>\n    <p style=\"text-align: justify;\">Methods such as <code>getBidResponses<\/code> and <code>getNoBidsForAdUnitCode<\/code> now return arrays, and bid response helpers have been streamlined. For example, <code>getHighestUnusedBidResponseForAdUnitCode<\/code> returns <code>null<\/code> if no matching bid is found.<\/p>\n  <\/section>\n<br><br>\n\n  <section id=\"typescript-support-and-build-requirements\">\n    <h2>TypeScript Support and Build Requirements<\/h2>\n<br>\n    <p style=\"text-align: justify;\">Prebid.js now officially supports TypeScript, providing better type safety for larger projects. To build the library, Node.js 20 or newer is required &#8211; older versions will no longer be compatible.<\/p>\n  <\/section>\n\n  <section id=\"targeting-storage-and-user-id\">\n<br><br>\n    <h2>Targeting, Storage, and User ID<\/h2>\n<br>\n    <p style=\"text-align: justify;\">Targeting rules have been tightened. By default, losing bids can no longer set custom keys, while new storage transparency mechanisms ensure compliance with privacy and e-privacy regulations.<\/p>\n    <p style=\"text-align: justify;\">The User ID module has been updated with additional options: <code>enforceStorageType<\/code> now warns if a submodule uses the wrong storage type (with stricter enforcement planned for the future), while <code>autoRefresh<\/code> and <code>retainConfig<\/code> give more control over identity refresh and persistence. Importantly, the <code>bid.userId<\/code> field is no longer populated\u2014publishers should switch to <code>userIdAsEids<\/code> or <code>user.ext.eids<\/code>.<\/p>\n  <\/section>\n\n  <section id=\"api-and-module-updates\">\n<br><br>\n    <h2>API and Module Updates<\/h2>\n<br>\n    <p style=\"text-align: justify;\">Several API adjustments simplify the ecosystem. The ADPOD module has been deprecated, and methods such as <code>createBid<\/code>, <code>statusMessage<\/code>, and <code>getStatusCode()<\/code> have been removed from bid objects. Modules previously starting with <code>dfp<\/code> have been renamed to <code>gam<\/code>, requiring updates to build configurations. The PBS adapter now requires an explicit endpoint, and legacy <code>pbadslot<\/code> support has been fully removed.<\/p>\n    <p style=\"text-align: justify;\">In addition, all public API methods now generate debug log messages, and banner media type parameters are validated more strictly against <code>imp[].banner<\/code>.<\/p>\n  <\/section>\n<\/article>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction On July 1st, 2025, Prebid.js 10 was officially released. This new major version is a significant step forward-cleaning up deprecated modules, simplifying APIs, and introducing support for modern tools. Publishers planning to upgrade should be aware of several important changes in targeting, user identity, and overall infrastructure setup. Core Changes in Prebid.js 10 A [&hellip;]<\/p>\n","protected":false},"author":60,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[320],"tags":[],"content-category":[],"class_list":["post-33799","post","type-post","status-publish","format-standard","hentry","category-technical"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/yieldbird.com\/research-hub\/wp-json\/wp\/v2\/posts\/33799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yieldbird.com\/research-hub\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yieldbird.com\/research-hub\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yieldbird.com\/research-hub\/wp-json\/wp\/v2\/users\/60"}],"replies":[{"embeddable":true,"href":"https:\/\/yieldbird.com\/research-hub\/wp-json\/wp\/v2\/comments?post=33799"}],"version-history":[{"count":12,"href":"https:\/\/yieldbird.com\/research-hub\/wp-json\/wp\/v2\/posts\/33799\/revisions"}],"predecessor-version":[{"id":33871,"href":"https:\/\/yieldbird.com\/research-hub\/wp-json\/wp\/v2\/posts\/33799\/revisions\/33871"}],"wp:attachment":[{"href":"https:\/\/yieldbird.com\/research-hub\/wp-json\/wp\/v2\/media?parent=33799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yieldbird.com\/research-hub\/wp-json\/wp\/v2\/categories?post=33799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yieldbird.com\/research-hub\/wp-json\/wp\/v2\/tags?post=33799"},{"taxonomy":"content-category","embeddable":true,"href":"https:\/\/yieldbird.com\/research-hub\/wp-json\/wp\/v2\/content-category?post=33799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}