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

Nativo Bid Adapter: added bid size qs parameter to the request #8523

Merged
merged 37 commits into from
Jun 21, 2022

Conversation

jsfledd
Copy link
Contributor

@jsfledd jsfledd commented Jun 6, 2022

Type of change

  • Feature
  • Refactoring (no functional changes, no api changes)

Description of change

  • Adding an additional query string parameter to the request
  • Slight refactor in how we store the bid data in the buildRequests method

jsfledd and others added 30 commits February 22, 2021 10:30
…se body validation. Added consent to request url qs params.
@ChrisHuie ChrisHuie self-requested a review June 6, 2022 19:58
@ChrisHuie ChrisHuie self-assigned this Jun 6, 2022
@ChrisHuie ChrisHuie changed the title [NativoBidAdapter] - Added bid size qs parameter to the request Nativo Bid Adapter: added bid size qs parameter to the request Jun 6, 2022
@ChrisHuie
Copy link
Collaborator

@jsfledd can you please add a unit test or two to check this pr? 🙏

@jsfledd
Copy link
Contributor Author

jsfledd commented Jun 6, 2022

@ChrisHuie Good point. Added unit tests

@ChrisHuie ChrisHuie merged commit 59ffde0 into prebid:master Jun 21, 2022
bwhisp pushed a commit to bwhisp/Prebid.js that referenced this pull request Jul 13, 2022
…d#8523)

* Initial nativoBidAdapter document creation (js, md and spec)

* Fulling working prebid using nativoBidAdapter. Support for GDPR and CCPA in user syncs.

* Added defult size settings based on the largest ad unit. Added response body validation. Added consent to request url qs params.

* Changed bidder endpoint url

* Changed double quotes to single quotes.

* Reverted package-json.lock to remove modifications from PR

* Added optional bidder param 'url' so the ad server can force- match an existing placement

* Lint fix. Added space after if.

* Added new QS param to send various adUnit data to adapter endpopint

* Updated unit test for new QS param

* Added qs param to keep track of ad unit refreshes

* Updated bidMap key default value

* Updated refresh increment logic

* Refactored spread operator for IE11 support

* Updated isBidRequestValid check

* Refactored Object.enties to use Object.keys to fix CircleCI testing errors

* Updated bid mapping key creation to prioritize ad unit code over placementId

* Added filtering by ad, advertiser and campaign.

* Merged master

* Added more robust bidDataMap with multiple key access

* Deduped filer values

* Rolled back package.json

* Duped upstream/master's package.lock file ... not sure how it got changed in the first place

* Small refactor of filterData length check. Removed comparison with 0 since a length value of 0 is already falsy.

* Added bid sizes to request

* Fixed function name in spec. Added unit tests.
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.

2 participants