-
Notifications
You must be signed in to change notification settings - Fork 835
Open
Description
This code should respect Regs
object and merge to the global Regs
prebid-server/firstpartydata/first_party_data.go
Lines 439 to 444 in c48d94d
if bidderConfig.Config != nil && bidderConfig.Config.ORTB2 != nil { | |
fpdBidderData.Site = bidderConfig.Config.ORTB2.Site | |
fpdBidderData.App = bidderConfig.Config.ORTB2.App | |
fpdBidderData.User = bidderConfig.Config.ORTB2.User | |
fpdBidderData.Device = bidderConfig.Config.ORTB2.Device | |
} |
https://docs.prebid.org/features/firstPartyData.html
Example of the Ext
:
"ext": {
"prebid": {
"auctiontimestamp": 1756986904826,
"targeting": {
"includewinners": false,
"includebidderkeys": false
},
"adServerCurrency": "EUR",
"bidderconfig": [
{
"bidders": [
"improvedigital"
],
"config": {
"ortb2": {
"regs": {
"coppa": 1
}
}
}
}
],
"channel": {
"name": "pbjs",
"version": "v9.50.0"
}
},
"tmaxmax": 1875
}
Does it need to validate ortb2.regs with a function similar to this one ?
What fields are allowed in the bidder config regs?
prebid-server/endpoints/openrtb2/auction.go
Line 1346 in c48d94d
func validateRegs(req *openrtb_ext.RequestWrapper, gpp gpplib.GppContainer) []error { |
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Research