Native Bid Request: Supporting above 500+ plcmttype param in bid request

45 views
Skip to first unread message

ANUSHRI MISHRA

unread,
May 14, 2019, 7:46:24 PM5/14/19
to openrtb-user
Hi There, 

For a native bid request, I see that OpenRtbNativeJsonReader doesn't support custom plcmttype values in bid request defined by SSP's such as 3000. 

This code in the reader uses an enum:

case "plcmttype": {
PlacementType value = PlacementType.forNumber(par.getIntValue());
if (checkEnum(value)) {
req.setPlcmttype(value);
}
}

and does not use the original value. Is there a workaround this? As I see it, there is no other way except rewriting the whole reader to use original value. 

Please advise. 

Thanks in Advance, 
Anushri 
Reply all
Reply to author
Forward
0 new messages