Skip to content

Commit

Permalink
Don't know why params are in an array in that bid object. Make it wor…
Browse files Browse the repository at this point in the history
…k for both if it is fixed later
  • Loading branch information
sebrobert committed Jul 27, 2022
1 parent 0f87f02 commit a053400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/beopBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const spec = {
}

function buildTrackingParams(data, info, value) {
const accountId = data.params.accountId;
const accountId = data.params.accountId || data.params[0].accountId;
return {
pid: accountId === undefined ? data.ad.match(/account: \“([a-f\d]{24})\“/)[1] : accountId,
nid: data.params.networkId,
Expand Down

0 comments on commit a053400

Please sign in to comment.