Skip to content

Commit

Permalink
Smartadserver Bid Adapter : refactor gpid logic as part of Prebid 9.0 (
Browse files Browse the repository at this point in the history
…#11602)

* Smartadserver Bid Adapter: Add support for SDA user and site

* Smartadserver Bid Adapter: Fix SDA support getConfig and add to unit testing

* support floors per media type

* Add GPP support

* Rework payloads enriching

* Add gpid support

* Support additional video params

* vpmt as array of numbers

* Fix comment

* Update default startDelay

* Include videoMediaType's startdelay

* Handle specified midroll

* add smartadserver topics iframe

* gpid first, then pbadslot as fallback

* drop topics iframe

---------

Co-authored-by: Meven Courouble <[email protected]>
Co-authored-by: Krzysztof Sokół <[email protected]>
Co-authored-by: Dariusz O <[email protected]>
  • Loading branch information
4 people committed May 29, 2024
1 parent deeeb9e commit 1cad24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/smartadserverBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export const spec = {
sdc: sellerDefinedContext
};

const gpid = deepAccess(bid, 'ortb2Imp.ext.gpid', deepAccess(bid, 'ortb2Imp.ext.data.pbadslot', ''));
const gpid = deepAccess(bid, 'ortb2Imp.ext.gpid') || deepAccess(bid, 'ortb2Imp.ext.data.pbadslot');
if (gpid) {
payload.gpid = gpid;
}
Expand Down

0 comments on commit 1cad24d

Please sign in to comment.