-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
RTD Modules: segments added to a request persist into additional requests #9141
Comments
@patmmccann thanks for submitting this. Could you please provide more detailed reproduction steps ? On my end i've scrolled down and interacted with the video but I don't see a AdThrive_Content_1 ad unit, i see a AdThrive_Content_1_Desktop banner ad unit. Is this the right ad unit ? |
Can you look for requests that occur after the video request? |
@patmmccann, I am also trying to reproduce and asking for better steps. That page makes a ton of requests and I am having trouble finding a video request for AdThrive_Content_1 |
@dgirardi my guess is that since the JW RTD module is writing to |
@karimMourra no, |
@mmoschovas can you please full steps to reproduce? |
Just to clarify, the issue impacts any ad unit after the JW targeting is applied. For example, we only apply the adunit targeting to the instream video unit but the segments are applied globally to every ad unit regardless if it has video mediatype or not. Here is an example that shows the Footer ad unit configuration (via the console) and the jw segments that are being applied to the network requests. The initial footer request (prior to the video request) does not contain the targeting. But once the targeting is applied for the instream request, it continues to persist for all ad units. |
It would help to have steps to reproduce. That page is very busy and serves me a different bundle on each load which makes things really hard to debug. @karimMourra, I suspect the issue might be that the jwplayer segments are added to Prebid.js/modules/jwplayerRtdProvider.js Line 150 in bc68d77
But, if the pub does:
then in the request you'd get both ad units, even though the pub does not intend to use the video one; you would need to filter them using It may be better for core to do the filtering, but I'm not completely sure that it wouldn't break some other rtd modules - it's a larger project to double check that. |
Discussed this with @bretg - we could not think of a reason why RTD modules should have access to adunits that have been added (through |
As discussed, the fix is not breaking |
Type of issue
Bug
Description
JW rtd module adding segments to ortb2 persist beyond the auction they were added on. The JW RTD module should only add segments to video requests, but when they do, it seems the method they use persists the segments into all subsequent requests.
Steps to reproduce
Examine prebid server outgoing requests for AdThrive_Content_1 unit
Test page
https://cafedelites.com/chicken-tikka-masala/
Expected results
JW segments added to the video request
Actual results
JW segments added to the video request and all other subsequent auctions
The text was updated successfully, but these errors were encountered: