Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Audiencelogy Bid Adapter : Initial Release

Open hasanideepak opened this issue 1 year ago β€’ 17 comments

Type of change

  • [ ] Bugfix

  • [ ] Feature

  • [x] New bidder adapter

  • [ ] Updated bidder adapter

  • [ ] Code style update (formatting, local variables)

  • [ ] Refactoring (no functional changes, no api changes)

  • [ ] Build related changes

  • [ ] CI related changes

  • [ ] Does this change affect user-facing APIs or examples documented on http://prebid.org?

  • [ ] Other

Description of change

Other information

hasanideepak avatar Jun 21 '24 11:06 hasanideepak

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! πŸš€

github-actions[bot] avatar Jun 21 '24 11:06 github-actions[bot]

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! πŸš€

github-actions[bot] avatar Jun 21 '24 12:06 github-actions[bot]

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! πŸš€

github-actions[bot] avatar Jun 21 '24 14:06 github-actions[bot]

Please add docs to -> https://github.com/prebid/prebid.github.io

ChrisHuie avatar Jun 25 '24 11:06 ChrisHuie

Please add docs to -> https://github.com/prebid/prebid.github.io

Added https://github.com/prebid/prebid.github.io/pull/5457

hasanideepak avatar Jun 26 '24 09:06 hasanideepak

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! πŸš€

github-actions[bot] avatar Jun 28 '24 09:06 github-actions[bot]

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! πŸš€

github-actions[bot] avatar Jun 28 '24 09:06 github-actions[bot]

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! πŸš€

github-actions[bot] avatar Jun 28 '24 09:06 github-actions[bot]

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! πŸš€

github-actions[bot] avatar Jun 28 '24 10:06 github-actions[bot]

@patmmccann I have added library audiencelogyUtils/bidderUtils.js and imported common code. Please verify.

hasanideepak avatar Jun 28 '24 10:06 hasanideepak

@hasanideepak yes but you should also import in relevate, which has the same concern above, it uses local storage without importing storage manager

patmmccann avatar Jun 28 '24 10:06 patmmccann

@hasanideepak yes but you should also import in relevate, which has the same concern above, it uses local storage without importing storage manager

There are two different fork repo for relevate and audiencelogy. I will need to add same library in relevate fork in order to use it, doesnt that give conflict error as same code will be there in audiencelogy and relevate? I tried using storage manager, but it was unable to read the value from local storage. Can you please let me know some example.

hasanideepak avatar Jun 28 '24 10:06 hasanideepak

I will need to add same library in relevate fork in order to use it, doesnt that give conflict error as same code will be there in audiencelogy and relevate?

both will import it, but the build will be more compact as the code will only be in the project once. It will clear the error.

tried using storage manager, but it was unable to read the value from local storage. Can you please let me know some example.

https://github.com/prebid/Prebid.js/blob/ca24c395555167e5aba7007a83332c1d49441921/modules/ixBidAdapter.js#L110

What you have in relevate is a major rules violation, as it ignores consent. We need you to take care of it in this commit. I'll go ahead and submit a bug fix to delete what you are doing there now, so you'll want to merge in master after that merges to avoid merge conflicts

patmmccann avatar Jun 28 '24 14:06 patmmccann

I will need to add same library in relevate fork in order to use it, doesnt that give conflict error as same code will be there in audiencelogy and relevate?

both will import it, but the build will be more compact as the code will only be in the project once. It will clear the error.

tried using storage manager, but it was unable to read the value from local storage. Can you please let me know some example.

https://github.com/prebid/Prebid.js/blob/ca24c395555167e5aba7007a83332c1d49441921/modules/ixBidAdapter.js#L110

What you have in relevate is a major rules violation, as it ignores consent. We need you to take care of it in this commit. I'll go ahead and submit a bug fix to delete what you are doing there now, so you'll want to merge in master after that merges to avoid merge conflicts

@patmmccann Thank you for the support. So, I will make the changes for store manager in this PR (i.e.audiencelogy) and create a new PR for relevate adapter to import common library and store manager changes. Is this right ? Merging both PR wont cause any conflicts ?

hasanideepak avatar Jun 28 '24 16:06 hasanideepak

Just do it all in one?

patmmccann avatar Jun 28 '24 20:06 patmmccann

@patmmccann Considering we are an ad tech service provider to relevate and we also need our own prebid adapter, we would like to focus on relevate adapter at this moment to make it fully compliant with your policies (with storage manager changes), hence we would like to pause work on our own adapter (i.e. audiencelogy) at this moment and we will revisit in a few weeks. Thank you for your support

hasanideepak avatar Jul 02 '24 16:07 hasanideepak

No worries, just import storage manager instead of directly accessing local storage, keeping an eye out for your commit

patmmccann avatar Jul 03 '24 11:07 patmmccann