You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Those will recreate the imp.ext.prebid with the help of ExtImpPrebid struct. But as this struct doesn't contains the adunitcode, the value which was originally set is dropped.
This issue seems to exist since some time but we didn't face it before because we always had e.prebidDirty == false preventing thhe call to rebuildImpExt. This isn't the case anymore since the introduction of moveRewardedFromPrebidExtTo26 which always sets prebidDirty if prebid object was found in imp.ext.
Hi guys, after upgrading to prebid server 3.1 we noticed that we couldn't retrieve the adUnitCode from
imp.ext.prebid.adunitcode
anymore.It still present in the Prebid Server ORTB2 Extension Summary section of the doc so I assume it's a bug from prebid-server.
I tracked down the issue to the
rebuildImpExt()
&(e *ImpExt) marshal()
prebid-server/openrtb_ext/request_wrapper.go
Lines 1751 to 1767 in 6e150f3
Those will recreate the
imp.ext.prebid
with the help ofExtImpPrebid
struct. But as this struct doesn't contains theadunitcode
, the value which was originally set is dropped.This issue seems to exist since some time but we didn't face it before because we always had
e.prebidDirty == false
preventing thhe call torebuildImpExt
. This isn't the case anymore since the introduction ofmoveRewardedFromPrebidExtTo26
which always setsprebidDirty
if prebid object was found inimp.ext
.prebid-server/openrtb_ext/convert_up.go
Lines 167 to 175 in dd07431
As a side note I think we should change
moveRewardedFromPrebidExtTo26
prebid-server/openrtb_ext/convert_up.go
Line 171 in dd07431
to also check if
p.IsRewardedInventory
is not nil before replacing the whole prebid field and flagging it as dirtyThe text was updated successfully, but these errors were encountered: