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
I've tried this using Dianomi's adapter, adform's adapter and the prebid-server adapter and all have issues. What led me to believe it was an issue with pbjs is prebid-server is responding with the error:
'Invalid request: request.imp[0].native.request.assets[3] must define exactly one of {title, img, video, data}'
so it seemed unlikely that it's an issue in adapter land.
Steps to reproduce
setup a test page with a native adunit described in https://docs.prebid.org/dev-docs/show-native-ads.html#native-object and adding a prebid-server config too, (or send a request looking like this (produced by prebidjs) to prebid-server via another route, e.g postman. :
#8977 should fix this. Before that, a workaround is to remove clickUrl and privacyLink from the native adUnit definition: at least for prebid server, they have no effect apart from triggering this bug (clickUrl is required by the underlying protocol, so requesting it makes no difference. privacyLink is - I believe - not supported by the PBS adapter, at least in the sense that support for it is not signaled in the request.).
Type of issue
Bug
Description
Native requests sent from PBJS are invalid in v7.13.0 (and I think all versions down to v7.7.0? haven't tried v7.14.0 yet). using the test page setup described here: https://docs.prebid.org/dev-docs/show-native-ads.html#native-object .
I've tried this using Dianomi's adapter, adform's adapter and the prebid-server adapter and all have issues. What led me to believe it was an issue with pbjs is prebid-server is responding with the error:
'Invalid request: request.imp[0].native.request.assets[3] must define exactly one of {title, img, video, data}'
so it seemed unlikely that it's an issue in adapter land.
Steps to reproduce
setup a test page with a native adunit described in https://docs.prebid.org/dev-docs/show-native-ads.html#native-object and adding a prebid-server config too, (or send a request looking like this (produced by prebidjs) to prebid-server via another route, e.g postman. :
)
Test page
https://jsfiddle.net/qLe1zbvt/
Expected results
native assets to be valid and prebid-server to accept them
Actual results
error from prebid-server:
'Invalid request: request.imp[0].native.request.assets[3] must define exactly one of {title, img, video, data}'
Platform details
tested in versions 7.6 to 7.13 (7.6 seemed to work, all others didn't)
Other information
The text was updated successfully, but these errors were encountered: