Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openrtb request ext parameters problem for video endpoint #3305

Open
liulu721 opened this issue Nov 17, 2023 · 3 comments
Open

openrtb request ext parameters problem for video endpoint #3305

liulu721 opened this issue Nov 17, 2023 · 3 comments
Assignees
Labels

Comments

@liulu721
Copy link

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.

@SyntaxNode
Copy link
Contributor

(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 #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.

@bretg bretg assigned VeronikaSolovei9 and unassigned SyntaxNode Feb 9, 2024
@bretg
Copy link
Contributor

bretg commented Jul 12, 2024

To close this issue, the targeting.includebrandcategory field should not be filtered from adapters by the /video endpoint. Moving to ready-for-dev.

@bretg
Copy link
Contributor

bretg commented Nov 22, 2024

@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.

@bretg bretg added the PBS-Java label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Ready for Dev
Development

No branches or pull requests

4 participants