-
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
fledgeForGPT module may assume Prebid adunit.code matches GPT slot #11584
Comments
the current logic expects the ad unit code to be either a GAM ad unit path or the div ID: Line 798 in 78f93cd
|
Just bumped into this when I was about to enable fledge on my ad slots which purely uses customSlotMatching. Line 424 in 0f91aff
|
When will this be fixed? |
fixed in #11714 |
Type of issue
Potential bug
Description
In today's Tools meeting, @florianerl reported a potential issue with the fledgeForGPT module - that it's not working when the Prebid Adunit.code doesn't match a GPT slot. It's valid for Prebid adunit.codes to be divId other even a customSlotMatching function value.
Perhaps this line of code is near the source of the potential issue -- could this be generalized to first check if adunit.code is a GPT slot, and if not, check for div or customSlotMatching?
Prebid.js/modules/fledgeForGpt.js
Line 37 in f6040c4
Unfortunately I don't have first hand data or a test page, but we've had issues before along these lines, so it seems plausible. So the first step would be to see if we have test cases that cover the divid and customSlotMatching scenarios.
The text was updated successfully, but these errors were encountered: