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

Adagio Rtd Provider: add missing signal at ortb2.site.ext.data.adg_rtd level #11772

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

osazos
Copy link
Collaborator

@osazos osazos commented Jun 12, 2024

Type of change

  • Bugfix

Description of change

Add the ortb2.site.ext.data.adg_rtd.pageviewId signal in the AdagioRtdProvider.

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

  • modules/adagioRtdProvider.js has 8 duplicated lines with modules/adagioRtdProvider.js
  • modules/adagioRtdProvider.js has 19 duplicated lines with modules/bliinkBidAdapter.js

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

1 similar comment
Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

  • modules/adagioRtdProvider.js has 8 duplicated lines with modules/adagioRtdProvider.js
  • modules/adagioRtdProvider.js has 19 duplicated lines with modules/bliinkBidAdapter.js

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

@ChrisHuie ChrisHuie self-assigned this Jun 12, 2024
@osazos osazos changed the title AdagioRtdProvider: add missing signal at ortb2.site.ext.data.adg_rtd level Adagio Rtd Provider: add missing signal at ortb2.site.ext.data.adg_rtd level Jun 12, 2024
@patmmccann
Copy link
Collaborator

Hey @osazos , can you move your code block and this https://github.com/prebid/Prebid.js/blob/master/modules/bliinkBidAdapter.js#L136-L152 into a library and import in both places?

Thanks!

@osazos
Copy link
Collaborator Author

osazos commented Jun 13, 2024

Yep I was thinking to create another PR but no prob to do it right now.

@patmmccann
Copy link
Collaborator

patmmccann commented Jun 19, 2024

This is good to merge when conflicts resolve, nice fix!

@patmmccann
Copy link
Collaborator

Lgtm

@osazos osazos force-pushed the adagio-fix/missing-pageviewid branch from 61fbec9 to e16617f Compare June 19, 2024 18:23
Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. Keep up the great work! 🚀

@patmmccann
Copy link
Collaborator

patmmccann commented Jun 19, 2024

@osazos please clean that one up on your next submit, particularly as your users will tend to have both installed

Perhaps use libraries folder instead of utils for that one

Eg /libraries/adagioUtils/

@patmmccann patmmccann merged commit 0668544 into prebid:master Jun 19, 2024
4 of 5 checks passed
@osazos osazos deleted the adagio-fix/missing-pageviewid branch July 15, 2024 12:18
DecayConstant pushed a commit to mediavine/Prebid.js that referenced this pull request Jul 18, 2024
…d level (prebid#11772)

* AdagioRtdProvider: add missing signal at ortb2 level

* AdagioRtdProvider: move safeFrame related code inside Core utils.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants