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

Taboola Bid Adapter: fix multiple impressions bug #9104

Merged
merged 128 commits into from
Oct 12, 2022
Merged

Conversation

shakhaltb
Copy link
Contributor

Type of change

  • Bugfix
  • Feature
  • New 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

Fix handling of multi-impression requests

Other information

mikizi and others added 30 commits February 7, 2022 12:18
taboolaBidAdapter_spec.js - new UT
taboolaBidAdapter_spec.js - new UT
* refactor code for better readability
* small fix in UT
* add relevant Ut
* small fixes in UT
* add relevant Ut
* small fixes
* add relevant Ut
* small fixes
* update UT
* Update banner End point structure
update md (placement + pub )
@ChrisHuie ChrisHuie self-requested a review October 12, 2022 16:35
@ChrisHuie ChrisHuie self-assigned this Oct 12, 2022
@ChrisHuie
Copy link
Collaborator

@shakhaltb can you please fix the linting error from this pr?

@shakhaltb
Copy link
Contributor Author

@ChrisHuie fixed lint, thank you

@ChrisHuie ChrisHuie merged commit 50f6d12 into prebid:master Oct 12, 2022
JacobKlein26 pushed a commit to nextmillenniummedia/Prebid.js that referenced this pull request Feb 9, 2023
* create taboola adapter

* create taboola adapter md

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* update the md

* update the Maintainer email

* * update MD page
* refactor code for better readability
* small fix in UT

* * add privacy to the request builder
* add relevant Ut
* small fixes in UT

* * code refactoring + add more accurate way to get page url and referer
* add relevant Ut
* small fixes in md

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * update end point url
* update UT
* Update banner End point structure

* small fixes + update epi url

* remove the destruction from the bidResponse property

* (update the unit tests) remove the destruction from the bidResponse property

* fix tests

* fix tests - run stubs on each test

* rerun because of another adapter flaky test

* rerun because of another adapter flaky test

* fix cors issue, switch between height, width position

* update badv, bcat to be based in the ortb2 to support prebid 7 new protocols + update Ut

* retry run circleci

* retry run circleci

* pull from upstream
update md (placement + pub )

* update badv, bcat UT

* rerun build

* rerun build

* support storageAllowed restriction on unit tests for prebid 7

* create taboola adapter

* create taboola adapter md

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* update the md

* update the Maintainer email

* * update MD page
* refactor code for better readability
* small fix in UT

* * add privacy to the request builder
* add relevant Ut
* small fixes in UT

* * code refactoring + add more accurate way to get page url and referer
* add relevant Ut
* small fixes in md

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * update end point url
* update UT
* Update banner End point structure

* small fixes + update epi url

* remove the destruction from the bidResponse property

* (update the unit tests) remove the destruction from the bidResponse property

* fix tests

* fix tests - run stubs on each test

* rerun because of another adapter flaky test

* rerun because of another adapter flaky test

* fix cors issue, switch between height, width position

* update badv, bcat to be based in the ortb2 to support prebid 7 new protocols + update Ut

* retry run circleci

* retry run circleci

* pull from upstream
update md (placement + pub )

* update badv, bcat UT

* rerun build

* rerun build

* support storageAllowed restriction on unit tests for prebid 7

* support storageAllowed restriction on unit tests for prebid 7

* add it also to the aftereach

* add it also to the aftereach

* change the api endpoint https protocol

* update Taboola prebid documentation:
tagId, publisherId, bidFloor.

* update bid response ttl to 60 seconds.

* update Taboola prebid documentation.

* update-ttl-passing

* Update taboolaBidAdapter_spec.js

* add fallback default value in case of null

* add semicolons

* .

* .

* .

* ..

* ...

* support-dynamic-endpoint-url

* support-dynamic-endpoint-url

* support-dynamic-endpoint-url

* support-dynamic-endpoint-url

* support-dynamic-endpoint-url

* support-dynamic-endpoint-url

* support-dynamic-endpoint-url

* optional-chaining

* set netRevenue to true.

* fix bid response in case we have multiple impressions

* add test

* fix lint

Co-authored-by: Michael <michael.ziso@taboola.com>
Co-authored-by: mikiz <31058500+mikizi@users.noreply.github.com>
Co-authored-by: jenny.l <jenny.l@taboola.com>
Co-authored-by: jennylt <48404417+jennylt@users.noreply.github.com>
Co-authored-by: Ahmad Lobany <ahmad.l@taboola.com>
Co-authored-by: ahmadlob <109217988+ahmadlob@users.noreply.github.com>
jorgeluisrocha pushed a commit to jwplayer/Prebid.js that referenced this pull request May 23, 2023
* create taboola adapter

* create taboola adapter md

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* update the md

* update the Maintainer email

* * update MD page
* refactor code for better readability
* small fix in UT

* * add privacy to the request builder
* add relevant Ut
* small fixes in UT

* * code refactoring + add more accurate way to get page url and referer
* add relevant Ut
* small fixes in md

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * update end point url
* update UT
* Update banner End point structure

* small fixes + update epi url

* remove the destruction from the bidResponse property

* (update the unit tests) remove the destruction from the bidResponse property

* fix tests

* fix tests - run stubs on each test

* rerun because of another adapter flaky test

* rerun because of another adapter flaky test

* fix cors issue, switch between height, width position

* update badv, bcat to be based in the ortb2 to support prebid 7 new protocols + update Ut

* retry run circleci

* retry run circleci

* pull from upstream
update md (placement + pub )

* update badv, bcat UT

* rerun build

* rerun build

* support storageAllowed restriction on unit tests for prebid 7

* create taboola adapter

* create taboola adapter md

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* taboolaBidAdapter.js - small fixes
taboolaBidAdapter_spec.js - new UT

* update the md

* update the Maintainer email

* * update MD page
* refactor code for better readability
* small fix in UT

* * add privacy to the request builder
* add relevant Ut
* small fixes in UT

* * code refactoring + add more accurate way to get page url and referer
* add relevant Ut
* small fixes in md

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * code refactoring + gte user id
* add relevant Ut
* small fixes

* * update end point url
* update UT
* Update banner End point structure

* small fixes + update epi url

* remove the destruction from the bidResponse property

* (update the unit tests) remove the destruction from the bidResponse property

* fix tests

* fix tests - run stubs on each test

* rerun because of another adapter flaky test

* rerun because of another adapter flaky test

* fix cors issue, switch between height, width position

* update badv, bcat to be based in the ortb2 to support prebid 7 new protocols + update Ut

* retry run circleci

* retry run circleci

* pull from upstream
update md (placement + pub )

* update badv, bcat UT

* rerun build

* rerun build

* support storageAllowed restriction on unit tests for prebid 7

* support storageAllowed restriction on unit tests for prebid 7

* add it also to the aftereach

* add it also to the aftereach

* change the api endpoint https protocol

* update Taboola prebid documentation:
tagId, publisherId, bidFloor.

* update bid response ttl to 60 seconds.

* update Taboola prebid documentation.

* update-ttl-passing

* Update taboolaBidAdapter_spec.js

* add fallback default value in case of null

* add semicolons

* .

* .

* .

* ..

* ...

* support-dynamic-endpoint-url

* support-dynamic-endpoint-url

* support-dynamic-endpoint-url

* support-dynamic-endpoint-url

* support-dynamic-endpoint-url

* support-dynamic-endpoint-url

* support-dynamic-endpoint-url

* optional-chaining

* set netRevenue to true.

* fix bid response in case we have multiple impressions

* add test

* fix lint

Co-authored-by: Michael <michael.ziso@taboola.com>
Co-authored-by: mikiz <31058500+mikizi@users.noreply.github.com>
Co-authored-by: jenny.l <jenny.l@taboola.com>
Co-authored-by: jennylt <48404417+jennylt@users.noreply.github.com>
Co-authored-by: Ahmad Lobany <ahmad.l@taboola.com>
Co-authored-by: ahmadlob <109217988+ahmadlob@users.noreply.github.com>
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.

5 participants