Open liulu721 opened 1 year ago
(1) bidderParamsInReqExt seems always nil, since the ext part of the requestExt is previously constructed without the bidderparams part in function createBidExtension(/endpoints/openrtb2/video_auction.go).
The video endpoint does not support request.ext.prebid.bidderparams
, among many other features. The video endpoint was built as a way to include ad podding signals alongside OpenRTB 2.5. Now that OpenRTB 2.6 natively includes these signals, the custom data model of the video endpoint is obsolete. We plan to remove the video endpoint in 2024 and perform similar ad podding processing in the auction endpoint using OpenRTB 2.6 fields. Please follow https://github.com/prebid/prebid-server/issues/2581 for that effort.
(2) prebid.Targeting = requestExtParsed.Prebid.Targeting should also be performed, or targeting params can never be in the newly constructed ext part in this function.
This is a good point. Parts of the request.ext are hidden from bidders to prevent an unfair advantage in the auction. This filtering was revisited this past year with updates to remove the targeting information. The AppNexus adapter is still relying on this outdated path. I'll raise the issue to our team.
To close this issue, the targeting.includebrandcategory field should not be filtered from adapters by the /video endpoint. Moving to ready-for-dev.
@SyntaxNode - could you perhaps open a docs PR to add targeting info to https://docs.prebid.org/prebid-server/endpoints/openrtb2/pbs-endpoint-video.html?
FWIW, I'm not planning on porting this to PBS-Java. Will leave the PBS-Java porting issue open to track the discrepancy, but in general, I don't think anyone uses the video endpoint in PBS-Java and it's been deprecated for years, so I don't want to encourage anyone to start using it.
In function buildRequestExtForBidder(exchange/utils.go ), we found there might be two issues for video endpoint: (1) bidderParamsInReqExt seems always nil, since the ext part of the requestExt is previously constructed without the bidderparams part in function createBidExtension(/endpoints/openrtb2/video_auction.go). (2) prebid.Targeting = requestExtParsed.Prebid.Targeting should also be performed, or targeting params can never be in the newly constructed ext part in this function. We found this issue when we tested with appnexus adapter because we can never contain "include_brand_category" with "true" value in the constructed openrtb request for appnexus.