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

pubmaticBidAdapter: battr in in banner requests #11917

Merged
merged 30 commits into from
Jul 4, 2024

Conversation

pm-nitin-shirsat
Copy link
Contributor

Type of change

  • Bugfix

  • Feature

  • 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

Added support of battr params to pubmaticBidAdapter in banner requests

Other information

pm-nitin-shirsat and others added 27 commits October 11, 2022 13:57
Sync up prebid master to fork master
…bid-master

# Conflicts:
#	modules/pubmaticBidAdapter.js
#	test/spec/modules/pubmaticBidAdapter_spec.js
Sync with prebid master
Merge pull request #5 from pm-nitin-shirsat/master
Sync with prebid master
Sync with Prebidd.js master
Sync with prebid master
Copy link
Collaborator

@patmmccann patmmccann left a comment

Choose a reason for hiding this comment

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

You're getting this the wrong place, please support the standard location ortb2Imp

@pm-nitin-shirsat
Copy link
Contributor Author

@patmmccann - Can you confirm that are you referring to read it from the below attached location? (i.e. adUnits -> ortb2Imp.banner.battr)
Screenshot 2024-07-03 at 17 56 05

@patmmccann
Copy link
Collaborator

patmmccann commented Jul 3, 2024

You'll find it adjacent to this field if the publisher defines it that way

const ortb2 = {...deepAccess(bid, 'ortb2Imp.ext.data')};

although i think ttd grabbed it in the wrong place

const battr = utils.deepAccess(bid, 'ortb2Imp.battr');

I think it is .banner.battr?

@pm-nitin-shirsat
Copy link
Contributor Author

pm-nitin-shirsat commented Jul 4, 2024

Thank you @patmmccann . I will update PR adding support for battr, in following location, ortb2Imp.banner.battr

@patmmccann patmmccann self-assigned this Jul 4, 2024
@patmmccann patmmccann merged commit 9bdc5d5 into prebid:master Jul 4, 2024
5 checks passed
@patmmccann patmmccann changed the title Supporting battr param to pubmaticBidAdapter in banner requests pubmaticBidAdapter: battr in in banner requests Jul 4, 2024
DecayConstant pushed a commit to mediavine/Prebid.js that referenced this pull request Jul 18, 2024
…id#11917)

* Implement functionality for deal priority

* Update test cases

* kick off test manually

* Added support of GPP to PubMatic adapter

* gpp_sid in user syncs supposed to encode as a string, not an array

* Remove extra space

* Remove trailing spaces

* Remove the placement parameter and update test cases accordingly, Add plcmt parameter.

* Supporting placement parameter and logging warning message, for the plcmt parameter, if it is missing.

* Remove commented code

* Added plcmt in the pubmaticBidAdapter.md file

* Adding support for Banner battr object

* reading battr from ortb2Imp.banner

---------

Co-authored-by: Chris Huie <[email protected]>
mefjush pushed a commit to adhese/Prebid.js that referenced this pull request Jul 19, 2024
…id#11917)

* Implement functionality for deal priority

* Update test cases

* kick off test manually

* Added support of GPP to PubMatic adapter

* gpp_sid in user syncs supposed to encode as a string, not an array

* Remove extra space

* Remove trailing spaces

* Remove the placement parameter and update test cases accordingly, Add plcmt parameter.

* Supporting placement parameter and logging warning message, for the plcmt parameter, if it is missing.

* Remove commented code

* Added plcmt in the pubmaticBidAdapter.md file

* Adding support for Banner battr object

* reading battr from ortb2Imp.banner

---------

Co-authored-by: Chris Huie <[email protected]>
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.

None yet

3 participants