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

1plus x RTD Adapter: remove bidder specific handling enforcement #9952

Closed
wants to merge 5 commits into from

Conversation

patmmccann
Copy link
Collaborator

Partial fulfillment of #8596

@patmmccann patmmccann changed the base branch from master to prebid-8 May 15, 2023 18:01
@patmmccann patmmccann marked this pull request as draft May 15, 2023 18:06
@gggiakas
Copy link

@bwhisp can you please check and approve the pull request here?
AppNexus special handling needs to be removed due to Prebid 8 rules (all special handling cases must be removed).

Ideally we would like to support this bid adaptor but I understand that this is up to AppNexus to change their implementation.. we can address this, if any workaround available, on a next release

Copy link
Contributor

@bwhisp bwhisp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a small cleanup if you agree with it

modules/1plusXRtdProvider.js Outdated Show resolved Hide resolved
Co-authored-by: Anass Seddiki <anass.seddiki@1plusx.com>
@patmmccann patmmccann marked this pull request as ready for review May 22, 2023 18:15
@patmmccann
Copy link
Collaborator Author

Alternatively, we could trash this pr and you can make the bidders you do 155-164 for come from config instead of being hardcoded. I think airgrid is doing something similar as a model.

@@ -216,14 +204,6 @@ export const updateBidderConfig = (bidder, ortb2Updates, bidderConfigs) => {
return bidderConfigCopy;
};

const setAppnexusAudiences = (audiences) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing this means that appnexus won't get audience data; I'm not sure that's the intent. Airgrid is replacing this with another kind of appnexus logic that's slightly more general, but they are not removing it entirely.

@bwhisp
Copy link
Contributor

bwhisp commented May 23, 2023

Hello @dgirardi

I will attempt to replace the appnexus logic the same way Airgrid does it.

Do you know the PR number where they do that ?

@patmmccann patmmccann marked this pull request as draft May 23, 2023 17:19
@patmmccann
Copy link
Collaborator Author

@bwhisp I marked this back as draft . This is the pr airgird is working on AirGrid#3

@bwhisp
Copy link
Contributor

bwhisp commented May 25, 2023

Hello @patmmccann @dgirardi
On the same model as the work done for AirGrid, I went ahead and removed bidder specificity from my module
A PR has been published here: #10001

CC: @gggiakas

@patmmccann
Copy link
Collaborator Author

closing in favor of #10001

@patmmccann patmmccann closed this May 25, 2023
peczenyj added a commit to Weborama/Prebid.js that referenced this pull request May 26, 2023
@patmmccann patmmccann deleted the 1plusX-enforcement branch June 7, 2023 18:14
peczenyj added a commit to Weborama/Prebid.js that referenced this pull request Jun 8, 2023
patmmccann pushed a commit that referenced this pull request Jun 8, 2023
* remove specific code to pubmatic

* remove specific code to smartadserver bidder

* update unit tests

* remove rubicon specific code

* refactor method

* refactor this.#setBidderOrtb2

* fix lint issue

* add ortb2 user.keywords on appnexs

* try fix appnexus case

* small refactor inspired on #9952

* try fix appnexus

* Revert "try fix appnexus"

This reverts commit db1fc08.

* Revert "small refactor inspired on #9952"

This reverts commit 3959260.

* Revert "try fix appnexus case"

This reverts commit 919540a.

* Revert "add ortb2 user.keywords on appnexs"

This reverts commit e2c5747.
musikele pushed a commit to rubicon-project/Prebid.js that referenced this pull request Aug 28, 2023
…10005)

* remove specific code to pubmatic

* remove specific code to smartadserver bidder

* update unit tests

* remove rubicon specific code

* refactor method

* refactor this.#setBidderOrtb2

* fix lint issue

* add ortb2 user.keywords on appnexs

* try fix appnexus case

* small refactor inspired on prebid#9952

* try fix appnexus

* Revert "try fix appnexus"

This reverts commit db1fc08.

* Revert "small refactor inspired on prebid#9952"

This reverts commit 3959260.

* Revert "try fix appnexus case"

This reverts commit 919540a.

* Revert "add ortb2 user.keywords on appnexs"

This reverts commit e2c5747.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants