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

Reset GPT targeting for custom div ids #5132

Merged

Conversation

FilipStamenkovic
Copy link
Contributor

Type of change

  • Bugfix

Description of change

When resetting targeting provide customSlotMatching function (that is also used for setting gpt targeting).
Right now, code is checking whether it should reset targeting: if adUnit code is the same as gpt slot adUnit path or if adUnit code is the same as div id. If all these checks fail, use customSlotMatching function as fallback to determine if targeting should be reset.

Other information

This PR is addressing #5131 issue.

@harpere harpere added the needs 2nd review Core module updates require two approvals from the core team label Apr 17, 2020
@jaiminpanchal27 jaiminpanchal27 merged commit 916b1a6 into prebid:master Apr 22, 2020
iggyfisk pushed a commit to happypancake/Prebid.js that referenced this pull request Jun 22, 2020
@FilipStamenkovic FilipStamenkovic deleted the reset_gpt_targeting_custom_divs branch November 18, 2021 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs 2nd review Core module updates require two approvals from the core team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants