Skip to content

Commit

Permalink
fix(permutiveRtd): convert video targeting to string
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioGargaro committed Nov 1, 2022
1 parent 7e5548e commit c0fa6d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/permutiveRtdProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ function getDefaultBidderFn (bidder) {
deepSetValue(bid, 'params.visitor.p_standard', data.ac)
}
if (data.rubicon && data.rubicon.length) {
deepSetValue(bid, 'params.visitor.permutive', data.rubicon)
const rubiconCohorts = !!deepAccess(bid, 'params.video') ? data.rubicon.map(String) : data.rubicon
deepSetValue(bid, 'params.visitor.permutive', rubiconCohorts)
}

return bid
Expand Down

0 comments on commit c0fa6d7

Please sign in to comment.