Skip to content

Commit

Permalink
Zeta bid adapter: add params to bid request (#6614)
Browse files Browse the repository at this point in the history
* Submit Zeta Adapter to Prebid

* comments addressed

* demo changes

* additional polishing

* additional polishing

* Update hello_world.html

* remove extraneous changes to hello_world.html

* no, really this time

* additional polishing

* add unit test

* update to include additional OpenRTB fields and objects

* Update to include addtional OpenRTB fields and objects
  • Loading branch information
mwehr-zeta authored and idettman committed May 21, 2021
1 parent be698e8 commit 7da7fc3
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions modules/zetaBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,22 @@ export const spec = {
};
let payload = {
id: bidderRequest.auctionId,
cur: [DEFAULT_CUR],
imp: [impData],
site: params.site ? params.site : {},
app: params.app ? params.app : {},
device: params.device ? params.device : {},
user: params.user ? params.user : {},
app: params.app ? params.app : {},
at: params.at,
tmax: params.tmax,
wseat: params.wseat,
bseat: params.bseat,
allimps: params.allimps,
cur: [DEFAULT_CUR],
wlang: params.wlang,
bcat: params.bcat,
badv: params.badv,
bapp: params.bapp,
source: params.source ? params.source : {},
ext: {
definerId: params.definerId
}
Expand Down

0 comments on commit 7da7fc3

Please sign in to comment.