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

Prebid upgarde automate- test pull request created through git api please ignore it #977

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
576 commits
Select commit Hold shift + click to select a range
996ebc8
Merge pull request #734 from PubMatic-OpenWrap/UOE-9504-v2
pm-azhar-mulla Aug 10, 2023
4ab8e13
Merge pull request #735 from PubMatic-OpenWrap/nightly_10_aug_on_demand
pm-azhar-mulla Aug 10, 2023
57148af
Changes for UOE-9484
pm-priyanka-deshmane Aug 10, 2023
a7bc503
Merge branch 'nightly_on_demand_16_aug' of https://github.com/PubMati…
pm-priyanka-deshmane Aug 10, 2023
fd88435
Issue fix for tracker call
pm-priyanka-deshmane Aug 10, 2023
33877ca
Pulled latest nightly code into upgrade branch
Aug 16, 2023
394ff8b
Merge pull request #737 from PubMatic-OpenWrap/nightly_prebid_8_upgrade
pm-azhar-mulla Aug 16, 2023
45e8027
Merge branch 'nightly' into nightly_on_demand_22_aug
pm-priyanka-deshmane Aug 17, 2023
e521161
Rebased with bid viewability changes
pm-priyanka-deshmane Aug 17, 2023
af98d1f
Added safecheck for floorData
pm-priyanka-deshmane Aug 17, 2023
1e6ede2
Replaced the endpoint
pm-priyanka-deshmane Aug 17, 2023
84e56d0
Merging the changes for UOE-9533
pm-priyanka-deshmane Aug 17, 2023
61f89d7
Updated wiid with unique string instead of auction id
Aug 17, 2023
2ed9cf2
Merge pull request #738 from PubMatic-OpenWrap/nightly_prebid_8_upgrade
pm-azhar-mulla Aug 17, 2023
170bc46
priceFloors: fix bug where floors are not set when TIDs are disabled …
dgirardi Jul 20, 2023
50eb8f6
Merge pull request #739 from PubMatic-OpenWrap/nightly_prebid_8_upgrade
pm-azhar-mulla Aug 17, 2023
790bc5f
Adjusted debounce time for analytics
Aug 17, 2023
a050af5
Revert "Updated wiid with unique string instead of auction id"
pm-azhar-mulla Aug 18, 2023
334287c
Merge pull request #740 from PubMatic-OpenWrap/revert-738-nightly_pre…
pm-azhar-mulla Aug 18, 2023
60c84c1
Updated wiid with wiid in params instead of auction id
Aug 18, 2023
e038b57
Using randomly generated wiid for bidder params wiid instead of aucti…
Aug 21, 2023
a338845
Merge branch 'nightly_on_demand_22_aug' into prebid_8_remove_legacy
Aug 24, 2023
a61b0cf
Merge pull request #741 from PubMatic-OpenWrap/prebid_8_remove_legacy
pm-azhar-mulla Aug 24, 2023
e666ada
pulled the changes from nightly
Aug 24, 2023
b5b6e07
Merge pull request #742 from PubMatic-OpenWrap/prebid_8_remove_legacy
pm-azhar-mulla Aug 24, 2023
4619572
Logging timetorespond field in l1
kapil-tuptewar Aug 24, 2023
10ed89e
Logging timetorespond field in l1
kapil-tuptewar Aug 24, 2023
c105eb3
Logging timetorespond field in l1
kapil-tuptewar Aug 24, 2023
b9c354e
Merge pull request #743 from PubMatic-OpenWrap/latency_fix_pbsame
kapil-tuptewar Aug 25, 2023
6c0a4f7
Updated test cases for logger field l1
kapil-tuptewar Aug 25, 2023
9c87970
Merge pull request #745 from PubMatic-OpenWrap/hot_fix_latency
kapil-tuptewar Aug 25, 2023
bc33e65
Merge pull request #746 from PubMatic-OpenWrap/latency_fix_pbsame
kapil-tuptewar Aug 25, 2023
32bce75
Added missing modules in module_meta.json
pm-nikhil-lakare Aug 29, 2023
44c80f6
Added comments for future reference
kapil-tuptewar Aug 29, 2023
1281263
Merge pull request #748 from PubMatic-OpenWrap/UOE-9442
kapil-tuptewar Aug 30, 2023
3b07a2f
Added comments for latency value
kapil-tuptewar Aug 30, 2023
d8b53f5
Merge pull request #750 from PubMatic-OpenWrap/hot_fix_latency
pm-priyanka-deshmane Aug 31, 2023
3b83292
Merge pull request #744 from PubMatic-OpenWrap/hot_fix_latency
pm-azhar-mulla Sep 5, 2023
f21960b
Merge pull request #755 from PubMatic-OpenWrap/nightly_on_demand_22_aug
pm-priyanka-deshmane Sep 6, 2023
9216846
Pulled changes of 6 sep nightly changes
Sep 6, 2023
f7500d4
Merge pull request #756 from PubMatic-OpenWrap/prebid8_6sep_nightly
pm-azhar-mulla Sep 6, 2023
967db80
Solved linting issue
Sep 6, 2023
7f47bd4
Merge pull request #757 from PubMatic-OpenWrap/prebid8_6sep_nightly
pm-azhar-mulla Sep 6, 2023
55ed4cf
add integration type(it) in logger
pm-saurabh-narkhede Aug 28, 2023
9e8bde6
add test cases
pm-saurabh-narkhede Aug 30, 2023
c84c32d
add checks
pm-saurabh-narkhede Aug 31, 2023
023e8aa
Fix for can not read property of undefined
kapil-tuptewar Sep 6, 2023
6bdb0d9
Fix for can not read property of undefined
kapil-tuptewar Sep 6, 2023
3ca1948
Fix for can not read property of undefined
kapil-tuptewar Sep 6, 2023
c18404e
Merge pull request #758 from PubMatic-OpenWrap/prod_fix
pm-azhar-mulla Sep 6, 2023
704d159
Merge branch 'nightly' of https://github.com/PubMatic-OpenWrap/Prebid…
Sep 6, 2023
d7e173e
Merge pull request #759 from PubMatic-OpenWrap/prebid8_6sep_nightly
pm-azhar-mulla Sep 6, 2023
cf1b78e
Merge branch 'prebid_upgrade_8_2_0_20230706114032' into UOE-9585-nightly
Sep 6, 2023
4847a86
make code more reable
pm-saurabh-narkhede Sep 7, 2023
1b92ab2
Stop overwritig domain, page & ref
kapil-tuptewar Sep 8, 2023
0a0902c
Merge pull request #749 from PubMatic-OpenWrap/UOE-9585-nightly
kapil-tuptewar Sep 8, 2023
a0dab07
Passing tids in source if present
Sep 8, 2023
fe89945
Address code review comments
kapil-tuptewar Sep 8, 2023
753f8f0
Merge branch 'prebid_upgrade_8_2_0_20230706114032' of https://github.…
kapil-tuptewar Sep 8, 2023
6686ec0
Address code review comments
kapil-tuptewar Sep 8, 2023
a13a0bf
Added additional check for fetch status
Sep 13, 2023
086764e
Merge pull request #760 from PubMatic-OpenWrap/prebid_upgrade_8_2_0_2…
pm-azhar-mulla Sep 13, 2023
49da745
automate-creation of modules.json file
pm-pramod-pisal Sep 15, 2023
d26e4da
Log actual time taken by partner on server side
kapil-tuptewar Sep 18, 2023
af2d568
Added OW version and prebid version in logger call
pm-priyanka-deshmane Sep 20, 2023
eb72361
Code review comments
pm-priyanka-deshmane Sep 20, 2023
e3be325
Merge branch 'prebid_upgrade_8_14_0_20230915153457' into test_br_b2_2…
Sep 21, 2023
ea8a9b5
Merge pull request #763 from PubMatic-OpenWrap/test_br_b2_20230915153457
pm-azhar-mulla Sep 21, 2023
380c0d1
Checking for params before accessing
Sep 21, 2023
041ed2b
Updated test case
Sep 21, 2023
9ff8e86
Logging floors related new fields
kapil-tuptewar Sep 25, 2023
d48f0bb
Logging floors related new fields
kapil-tuptewar Sep 25, 2023
fbcccfd
Merge pull request #769 from PubMatic-OpenWrap/UOE-9644
kapil-tuptewar Sep 25, 2023
88a885c
Merge pull request #770 from PubMatic-OpenWrap/UOE-9629
kapil-tuptewar Sep 25, 2023
72dc199
Merge remote-tracking branch 'origin/latency_floor_field' into UOE-9665
pm-priyanka-deshmane Sep 25, 2023
9501632
Updated currency name to camelcase
Sep 26, 2023
334d538
Added test cases
pm-priyanka-deshmane Sep 26, 2023
9ef45fe
Merge branch 'UOE-9665' into prebid8_14_UOE_9665
Oct 4, 2023
cdd5b66
PubmaticAnalyticsAdapter: add prebid version in logger call (#10531)
pm-priyanka-deshmane Sep 27, 2023
e9b0fbf
Removed redundant code
pm-priyanka-deshmane Oct 5, 2023
63f1c35
Merge pull request #772 from PubMatic-OpenWrap/UOE-9665
pm-priyanka-deshmane Oct 5, 2023
0476ccd
Reverting latency changes
kapil-tuptewar Oct 6, 2023
a21ca1c
Core: fix bug where the PBS adapter always times out (#10501)
dgirardi Sep 18, 2023
dd8edfa
Merge branch 'prebid_upgrade_8_14_0_20230915153457' into prebid8_14_U…
Oct 10, 2023
4c21869
Merge branch 'nightly_11_oct' into prebid8_14_UOE_9665
Oct 10, 2023
f1f3260
Merge pull request #773 from PubMatic-OpenWrap/nightly_11_oct
pm-priyanka-deshmane Oct 11, 2023
feafc9f
Updated site.page source due to potential fault (#10508)
vrtcal-dev Sep 26, 2023
bc6062f
ZeoTap getvalue function added (#774)
pm-nitin-nimbalkar Oct 16, 2023
a0be22c
add getValue function for intentIq module
pm-manasi-moghe Oct 16, 2023
d757dea
Merge pull request #775 from PubMatic-OpenWrap/prebid8_14_UOE_9665
pm-azhar-mulla Oct 17, 2023
c238449
automate-creation of modules.json file
pm-pramod-pisal Oct 18, 2023
f3d61dc
Merge branch 'prebid_upgrade_8_19_0_20231018133215' into test_br_b2_2…
Oct 18, 2023
7292156
Added module_meta file
Oct 18, 2023
1b99358
Merge pull request #776 from PubMatic-OpenWrap/test_br_b2_20231018133215
pm-azhar-mulla Oct 18, 2023
bccbfd2
Update modules.json
pm-azhar-mulla Oct 18, 2023
68f74ad
Update module_meta.json
pm-azhar-mulla Oct 18, 2023
0fc7c1b
PubmaticBidAdapter: Read and pass gpid from ortb2imp.ext in API call …
pm-priyanka-deshmane Oct 13, 2023
9f6a938
Updated path for getGptSlotForAdUnitCode function
Oct 24, 2023
f2a6592
Updated path for isSlotMatchingAdUnitCode function
Oct 24, 2023
897087f
Merge pull request #778 from PubMatic-OpenWrap/prebid_upgrade_8_19_0_…
pm-azhar-mulla Oct 27, 2023
f44d0db
Added support for sid in logger call (#780)
pm-nitin-nimbalkar Nov 6, 2023
1ef3a48
Merge pull request #781 from PubMatic-OpenWrap/release/ow-nov-9
pm-azhar-mulla Nov 8, 2023
5f71e24
Updated the default key names for refresh
Nov 13, 2023
88f0364
Editing the default keys for refresh functionality
Nov 16, 2023
eb7cde3
Code owners nightly (#782)
pm-manasi-moghe Nov 20, 2023
0097eb0
Removed PWT initialisation from auto refresh
Nov 21, 2023
f871c77
Fixed linting issue
Nov 22, 2023
4c1a974
Merge branch 'nightly' into UOE-9822
Nov 28, 2023
f7830a6
Updated md file for autorefresh
Nov 29, 2023
ccec5ae
Added data rate support in price floor module
kapil-tuptewar Dec 4, 2023
98f240a
Fix for usedatarate when value is zero
kapil-tuptewar Dec 5, 2023
15f5276
Fix for floor provider
kapil-tuptewar Dec 6, 2023
17267f6
Fix for skip rate issue
kapil-tuptewar Dec 7, 2023
c3e0315
Fix for fsrc value when static floor is not present
kapil-tuptewar Dec 8, 2023
ece3f40
Fix for fskp in tracker call
kapil-tuptewar Dec 11, 2023
56b55e1
Merge pull request #783 from PubMatic-OpenWrap/UOE-9822
kapil-tuptewar Dec 11, 2023
b144390
Merge branch 'nightly' into UOE-9861
kapil-tuptewar Dec 11, 2023
70f1ba5
Log actual time taken by server side partners
kapil-tuptewar Dec 13, 2023
90b065d
Merge branch 'UOE-9861' into UOE-9915
kapil-tuptewar Dec 14, 2023
22937f2
Pulled the changes from upstream
Dec 4, 2023
dbaf5f8
Handled undefined wiid in logger and tracker
Dec 7, 2023
6c89121
updated test cases
Dec 12, 2023
3cf0694
Updated test cases from upstream
Dec 12, 2023
7899dd5
Merge pull request #792 from PubMatic-OpenWrap/UOE-9908
pm-azhar-mulla Jan 2, 2024
fb989ba
Merge branch '9_jan_master_drop' of https://github.com/PubMatic-OpenW…
kapil-tuptewar Jan 2, 2024
54a9f34
Removed code related to bid-viewability
kapil-tuptewar Jan 2, 2024
aaec947
Removed code related to bid-viewability
kapil-tuptewar Jan 2, 2024
f63010b
Removed code related to bid-viewability
kapil-tuptewar Jan 2, 2024
21ffc29
Custom Dimension changes
pm-priyanka-deshmane Jan 2, 2024
721bb7d
Code review comments
pm-priyanka-deshmane Jan 3, 2024
19a2aac
Merge pull request #795 from PubMatic-OpenWrap/custom_dimension
pm-priyanka-deshmane Jan 3, 2024
d2e4daf
Merge pull request #797 from PubMatic-OpenWrap/UOE-9956
kapil-tuptewar Jan 9, 2024
eaaf2a1
Remove correlator param changes as it was done for analysis purpose.
pm-nitin-shirsat Jan 10, 2024
5e0ee11
Merge pull request #800 from PubMatic-OpenWrap/9_jan_master_drop_ci
pm-azhar-mulla Jan 11, 2024
a5c887e
automate-creation of modules.json file
pm-pramod-pisal Jan 17, 2024
920e2da
Resolved conflicts
kapil-tuptewar Jan 18, 2024
0e64ec9
Fix for gulp file
kapil-tuptewar Jan 18, 2024
648dae7
Merge branch 'nightly' into uoe-9690
Jan 18, 2024
c96f629
Pulled changes of badv from pubmatic adapter
kapil-tuptewar Jan 23, 2024
22714b5
Pulled changes of badv from pubmatic adapter
kapil-tuptewar Jan 23, 2024
626ac76
fixed conflicts
kapil-tuptewar Jan 23, 2024
4555e23
lint fix
kapil-tuptewar Jan 23, 2024
55869a8
Merge pull request #804 from PubMatic-OpenWrap/uoe-9690
pm-priyanka-deshmane Jan 23, 2024
a851235
Updated module_meta.json
kapil-tuptewar Jan 23, 2024
906fe2f
Updated module_meta.json
kapil-tuptewar Jan 23, 2024
992866d
Updated module_meta.json
kapil-tuptewar Jan 23, 2024
379983b
Merge pull request #805 from PubMatic-OpenWrap/nightly_30jan
kapil-tuptewar Jan 24, 2024
dee544e
Merge pull request #806 from PubMatic-OpenWrap/nightly_30jan
kapil-tuptewar Jan 30, 2024
4b13712
change source for pubmatic id to ow.pubmatic.com in our fork
pm-manasi-moghe Feb 8, 2024
7749ecb
Merge pull request #807 from PubMatic-OpenWrap/nightly_13_feb
pm-azhar-mulla Feb 12, 2024
d927bc9
Removed transformbidparams from pubmaticbidadapter
kapil-tuptewar Mar 20, 2024
c35285e
Logging price bucket value for the bid
Mar 6, 2024
8a11ac7
Converting data type for logging
Mar 12, 2024
359c422
hadronid, liveintent and minification issue fixes (#818)
pm-manasi-moghe Apr 2, 2024
51bec3f
Updated default value of enabled flag to true
Apr 3, 2024
8d7ceaa
Merge branch 'nightly' into UOE-10114
Apr 15, 2024
f1db079
module meta json file commit
pm-pramod-pisal Apr 16, 2024
80cf330
automate-creation of modules.json file
pm-pramod-pisal Apr 16, 2024
6f18438
Resolved conflicts
pm-priyanka-deshmane Apr 17, 2024
93f4875
Replacing gulpfile with the one from vanilla prebid js
pm-priyanka-deshmane Apr 17, 2024
7d39376
Merge pull request #823 from PubMatic-OpenWrap/test_br_b2_20240416123110
pm-nikhil-lakare Apr 21, 2024
59a8cf6
passing property connectiontype in device object
kapil-tuptewar Apr 23, 2024
af7a655
Added module_meta file
pm-priyanka-deshmane Apr 24, 2024
ca28e41
Removed custom aliases
Apr 25, 2024
73b28c5
moved gulp-wrap
pm-priyanka-deshmane Apr 29, 2024
0302234
Merge pull request #827 from PubMatic-OpenWrap/UOE-10411
kapil-tuptewar May 2, 2024
2d3cedf
Merge pull request #828 from PubMatic-OpenWrap/UOE-10281
kapil-tuptewar May 2, 2024
bb0ea12
Change for the scenario where s2sconfig is not available
pm-priyanka-deshmane May 6, 2024
0b85b24
Change for the scenario where s2sconfig is not available
pm-priyanka-deshmane May 6, 2024
0c85efc
Added the line back, which was deleted during conflict resolution
pm-priyanka-deshmane May 6, 2024
34e5771
Merge pull request #826 from PubMatic-OpenWrap/nightly_7apr_2024
kapil-tuptewar May 7, 2024
a486cdc
Merge pull request #829 from PubMatic-OpenWrap/nightly
pm-priyanka-deshmane May 7, 2024
77aa936
Merge pull request #830 from PubMatic-OpenWrap/UOE-10353
pm-priyanka-deshmane May 7, 2024
6889fa0
Merging piid changes
pm-priyanka-deshmane May 7, 2024
abfb78c
Added the changes of seedtagBidAdapter.js from latest prebid
pm-priyanka-deshmane May 9, 2024
e1cd505
Added the changes of test cases for seedtagBidAdapter.js from latest …
pm-priyanka-deshmane May 9, 2024
b7ceffa
Reading the owAdunitId for ad refresh UOE-10162
pm-priyanka-deshmane May 15, 2024
ee92050
Changes related to adUnitId in viewability
pm-priyanka-deshmane May 15, 2024
3530217
Merge pull request #824 from PubMatic-OpenWrap/prebid_upgrade_8_43_0_…
kapil-tuptewar Jun 3, 2024
2c0faa4
Start sending connectiontype to auction endpoint
kapil-tuptewar Jun 3, 2024
efd93ca
module meta json file commit
pm-pramod-pisal Jun 3, 2024
4acd027
automate-creation of modules.json file
pm-pramod-pisal Jun 3, 2024
de02b73
Resolved conflicts for 8.50
pm-priyanka-deshmane Jun 4, 2024
f75fe1a
Merge pull request #834 from PubMatic-OpenWrap/test_br_b2_20240603201701
pm-priyanka-deshmane Jun 4, 2024
dd4b75f
Added module_meta
pm-priyanka-deshmane Jun 7, 2024
4012f50
Merge pull request #836 from PubMatic-OpenWrap/UOE-10608-nightly
pm-priyanka-deshmane Jun 10, 2024
b1732e4
Fixed the import issue
pm-priyanka-deshmane Jun 11, 2024
ed5b00b
Merge branch 'prebid_upgrade_8_50_0_20240603201700' of https://github…
pm-priyanka-deshmane Jun 11, 2024
1b4d271
Fixed the import issue
pm-priyanka-deshmane Jun 11, 2024
993105f
Merge pull request #835 from PubMatic-OpenWrap/prebid_upgrade_8_50_0_…
pm-priyanka-deshmane Jun 18, 2024
4469dae
module meta json file commit
pm-pramod-pisal Jul 10, 2024
54fdc7d
module meta json file commit
pm-pramod-pisal Jul 10, 2024
033edb6
automate-creation of modules.json file
pm-pramod-pisal Jul 10, 2024
a27349c
Initial commit after conflict resolution for 8.52
pm-priyanka-deshmane Jul 11, 2024
f588b39
Merge branch 'test_br_b2_20240710232812' into prebid_upgrade_8_52
pm-priyanka-deshmane Jul 11, 2024
537acfa
Replaced mili seconds value with seconds for UNIX_TIMESTAMP macro
kapil-tuptewar Jul 11, 2024
1207ce8
Copying module_meta.json from 8.50 to unblock nightly creation
pm-priyanka-deshmane Jul 11, 2024
4d6964a
Merge pull request #901 from PubMatic-OpenWrap/UOE-10859
pm-azhar-mulla Jul 15, 2024
1dcbaad
remove support for plain text emails in setUserIdentities method (#900)
pm-manasi-moghe Jul 16, 2024
997713c
Cherry-picked changes from 8.52.1 release
pm-priyanka-deshmane Jul 18, 2024
f260a4c
Merge pull request #903 from PubMatic-OpenWrap/prebid_upgrade_8_52
pm-priyanka-deshmane Jul 18, 2024
c504a32
Update version in package.json
pm-priyanka-deshmane Jul 20, 2024
fb5ef95
module meta json file commit
pm-pramod-pisal Jul 23, 2024
ef50198
Merge pull request #902 from PubMatic-OpenWrap/nightly_23_july
pm-priyanka-deshmane Jul 24, 2024
a3e309e
Initial commit after conflicts resolution
pm-priyanka-deshmane Jul 24, 2024
0bc4411
Updated modules.json to remove consent management module
pm-priyanka-deshmane Jul 24, 2024
50f8944
Commiting module_meta
pm-priyanka-deshmane Jul 24, 2024
58fab98
Merge branch 'nightly' into UOE-10114
Jul 26, 2024
12b967c
remove support for plain text emails in setUserIdentities method
Jun 18, 2024
198315e
Replaced mili seconds value with seconds for UNIX_TIMESTAMP macro
kapil-tuptewar Jul 11, 2024
449a321
Rebased with nightly
pm-priyanka-deshmane Aug 5, 2024
2ecd0b5
Picked code from 9.6.0 tag
pm-priyanka-deshmane Aug 5, 2024
ce25f88
Added multibid module in module_meta file
pm-priyanka-deshmane Aug 5, 2024
a6eb5d6
Updated module_meta.json to add multibid module
pm-priyanka-deshmane Aug 8, 2024
3c0a1b0
Reverted multibid change from meta_module. We will fetch this from ni…
pm-priyanka-deshmane Aug 8, 2024
d7cb736
Moved floors fields from slot to root level and added fields in track…
kapil-tuptewar Aug 9, 2024
fd4327a
Updated tracker code
kapil-tuptewar Aug 12, 2024
eca0b68
bidderCode specific fix for safari users
kapil-tuptewar Aug 14, 2024
8680aa9
Merge pull request #920 from PubMatic-OpenWrap/pn_bc_issue
kapil-tuptewar Aug 14, 2024
77037cc
Added undefined check for ft & frv
kapil-tuptewar Aug 14, 2024
beaa12a
Merge pull request #916 from PubMatic-OpenWrap/nightly_8_52_1_multibid
pm-azhar-mulla Aug 16, 2024
a0d6783
Rebased with nightly
pm-priyanka-deshmane Aug 16, 2024
b66b02b
Fix for fsrc & ffs
kapil-tuptewar Aug 16, 2024
82b7a4a
Merge branch 'floors_9x' of https://github.com/PubMatic-OpenWrap/Preb…
kapil-tuptewar Aug 16, 2024
69aef42
Merge pull request #910 from PubMatic-OpenWrap/prebid_9_6_0
pm-priyanka-deshmane Aug 19, 2024
21361ba
Fix for location
kapil-tuptewar Aug 19, 2024
43c726a
Initial code for injecting tracker for IMA
Aug 19, 2024
36f075f
Merge branch 'nightly' into UOE-10114
Aug 19, 2024
918442b
Added a check before adding to tracker
Aug 19, 2024
edb8883
Merge branch 'nightly' into floors_9x
kapil-tuptewar Aug 20, 2024
3e44cd3
Added multibid support
kapil-tuptewar Aug 22, 2024
e750541
Update module_meta.json
kapil-tuptewar Aug 22, 2024
3e116ec
Merge pull request #919 from PubMatic-OpenWrap/floors_9x
pm-priyanka-deshmane Aug 22, 2024
9ba385d
Merge branch 'nightly' into UOE-10114
Aug 27, 2024
7163e75
Update pubmaticAnalyticsAdapter.js
kapil-tuptewar Aug 30, 2024
40390a2
Merge branch 'nightly' into UOE-10958
Sep 3, 2024
0910931
Update pubmaticAnalyticsAdapter.js
kapil-tuptewar Sep 12, 2024
84565c8
Merge pull request #929 from PubMatic-OpenWrap/gpp_l1_17_sept
pm-nitin-shirsat Sep 18, 2024
e951a55
Merge branch 'nightly' into UOE-10958
Sep 20, 2024
2429b26
Reading frv value from bidResponse floorData instead of auctionCache
pm-priyanka-deshmane Oct 10, 2024
e7b1007
Merge pull request #947 from PubMatic-OpenWrap/nightly-oct-3rd-frv
pm-priyanka-deshmane Oct 15, 2024
a41582c
Merge pull request #950 from PubMatic-OpenWrap/UOE-10958
pm-priyanka-deshmane Oct 15, 2024
d3a0ce3
Fix/uid2 id5 issue (#953)
pm-nitin-nimbalkar Oct 15, 2024
96aed8e
Merge pull request #964 from PubMatic-OpenWrap/nightly_23oct_24
kapil-tuptewar Oct 22, 2024
1669cd6
Updating bidid value to include prebidBidId
pm-priyanka-deshmane Nov 5, 2024
87c90cb
Updated origBidId value
pm-priyanka-deshmane Nov 5, 2024
8432b48
Merge pull request #969 from PubMatic-OpenWrap/hotfix_9.6
kapil-tuptewar Nov 11, 2024
c6aae59
Prebid upgrade 9.13 (#973)
pm-manasi-moghe Nov 19, 2024
c17dc4c
module meta json file commit
pm-pramod-pisal Dec 3, 2024
681a02f
Prebid upgrade 9_21_0
pm-nitin-shirsat Dec 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@azhar.mulla
4 changes: 4 additions & 0 deletions gulpHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ module.exports = {
return this.getBuiltPath(dev, 'prebid-core.js')
},

getBuiltPrebidIHCoreFile: function(dev) {
return path.join(__dirname, dev ? DEV_PATH : BUILD_PATH, 'prebid-core-idhub' + '.js');
},

getModulePaths: function(externalModules) {
var modules = this.getModules(externalModules);
return Object.keys(modules);
Expand Down
5 changes: 4 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* eslint-disable no-console */
'use strict';

console.time('Loading Plugins in Prebid');

var _ = require('lodash');
var argv = require('yargs').argv;
var gulp = require('gulp');
Expand Down Expand Up @@ -35,6 +37,7 @@ const INTEG_SERVER_HOST = argv.host ? argv.host : 'localhost';
const INTEG_SERVER_PORT = 4444;
const { spawn, fork } = require('child_process');
const TerserPlugin = require('terser-webpack-plugin');
console.timeEnd('Loading Plugins in Prebid');

// these modules must be explicitly listed in --modules to be included in the build, won't be part of "all" modules
var explicitModules = [
Expand Down Expand Up @@ -563,4 +566,4 @@ gulp.task('bundle', gulpBundle.bind(null, false)); // used for just concatenatin
gulp.task(viewReview);
gulp.task('review-start', gulp.series(clean, lint, gulp.parallel('build-bundle-dev', watch, testCoverage), viewReview));

module.exports = nodeBundle;
module.exports = nodeBundle;
72 changes: 72 additions & 0 deletions libraries/detectBrowserUtils/detectBrowserUtils.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import { logError } from '../../src/utils.js';

/**
* Detects the browser using either userAgent or userAgentData
* @return {string} The name of the detected browser or 'unknown' if unable to detect
*/
export function detectBrowser() {
try {
if (navigator.userAgent) {
return detectBrowserFromUserAgent(navigator.userAgent);
} else if (navigator.userAgentData) {
return detectBrowserFromUserAgentData(navigator.userAgentData);
}
} catch (error) {
logError('Error detecting browser:', error);
}
return 'unknown';
}

/**
* Detects the browser from the user agent string
* @param {string} userAgent - The user agent string from the browser
* @return {string} The name of the detected browser or 'unknown' if unable to detect
*/
export function detectBrowserFromUserAgent(userAgent) {
const browserRegexPatterns = {
opera: /Opera|OPR/,
edge: /Edg/,
chrome: /Chrome|CriOS/,
safari: /Safari/,
firefox: /Firefox/,
ie: /MSIE|Trident/,
};

// Check for Chrome first to avoid confusion with Safari
if (browserRegexPatterns.chrome.test(userAgent)) {
return 'chrome';
}

// Now we can safely check for Safari
if (browserRegexPatterns.safari.test(userAgent) && !browserRegexPatterns.chrome.test(userAgent)) {
return 'safari';
}

// Check other browsers
for (const browser in browserRegexPatterns) {
if (browserRegexPatterns[browser].test(userAgent)) {
return browser;
}
}

return 'unknown';
}

/**
* Detects the browser from the NavigatorUAData object
* @param {NavigatorUAData} userAgentData - The user agent data object from the browser
* @return {string} The name of the detected browser or 'unknown' if unable to detect
*/
export function detectBrowserFromUserAgentData(userAgentData) {
const brandNames = userAgentData.brands.map(brand => brand.brand);

if (brandNames.includes('Microsoft Edge')) {
return 'edge';
} else if (brandNames.includes('Opera')) {
return 'opera';
} else if (brandNames.some(brand => brand === 'Chromium' || brand === 'Google Chrome')) {
return 'chrome';
}

return 'unknown';
}
92 changes: 88 additions & 4 deletions libraries/ortbConverter/converter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {compose} from './lib/composer.js';
import {logError, memoize} from '../../src/utils.js';
import {deepClone, logError, memoize, timestamp} from '../../src/utils.js';
import {DEFAULT_PROCESSORS} from './processors/default.js';
import {BID_RESPONSE, DEFAULT, getProcessors, IMP, REQUEST, RESPONSE} from '../../src/pbjsORTB.js';
import {mergeProcessors} from './lib/mergeProcessors.js';
Expand All @@ -14,6 +14,10 @@ export function ortbConverter({
response,
} = {}) {
const REQ_CTX = new WeakMap();
let impressionReqIdMap = {};
let firstBidRequest;
window.partnersWithoutErrorAndBids = {};
window.matchedimpressions = {};

function builder(slot, wrapperFn, builderFn, errorHandler) {
let build;
Expand Down Expand Up @@ -52,6 +56,18 @@ export function ortbConverter({
function (process, imps, bidderRequest, context) {
const ortbRequest = {imp: imps};
process(ortbRequest, bidderRequest, context);

// PM: Stop overwriting page, domain and ref as mentioned in UOE-8675 for s2s partners
const page = bidderRequest?.refererInfo?.page || '';
const domain = bidderRequest?.refererInfo?.domain || '';
const ref = window?.document?.referrer;
if (bidderRequest?.src === 's2s' && ortbRequest.site) {
ortbRequest.site = Object.assign(ortbRequest.site, { page, domain });
if (ref.length) {
ortbRequest.site.ref = ref;
}
}

return ortbRequest;
},
function (error, imps, bidderRequest, context) {
Expand Down Expand Up @@ -83,6 +99,29 @@ export function ortbConverter({
}
);

function createLatencyMap(impressionID, id) {
impressionReqIdMap[id] = impressionID;
window.pbsLatency[impressionID] = {
'startTime': timestamp()
};
}

// Get list of all errored partners
function getErroredPartners(responseExt) {
if (responseExt && responseExt.errors) {
return Object.keys(responseExt.errors);
}
}

function findPartnersWithoutErrorsAndBids(erroredPartners, listofPartnersWithmi, responseExt, impValue) {
window.partnersWithoutErrorAndBids[impValue] = listofPartnersWithmi.filter(partner => !erroredPartners.includes(partner));
erroredPartners.forEach(partner => {
if (responseExt.errors[partner] && responseExt.errors[partner][0].code == 1) {
window.partnersWithoutErrorAndBids[impValue].push(partner);
}
})
}

return {
toORTB({bidderRequest, bidRequests, context = {}}) {
bidRequests = bidRequests || bidderRequest.bids;
Expand All @@ -94,13 +133,20 @@ export function ortbConverter({
const imps = bidRequests.map(bidRequest => {
const impContext = Object.assign({bidderRequest, reqContext: ctx.req}, defaultContext, context);
const result = buildImp(bidRequest, impContext);
let resultCopy = deepClone(result);
if (resultCopy?.ext?.prebid?.bidder) {
for (let bidderCode in resultCopy.ext.prebid.bidder) {
let bid = resultCopy.ext.prebid.bidder[bidderCode];
delete bid?.kgpv;
}
}
if (result != null) {
if (result.hasOwnProperty('id')) {
Object.assign(impContext, {bidRequest, imp: result});
ctx.imp[result.id] = impContext;
return result;
}
logError('Converted ORTB imp does not specify an id, ignoring bid request', bidRequest, result);
logError('Converted ORTB imp does not specify an id, ignoring bid request', bidRequest, resultCopy);
}
}).filter(Boolean);

Expand All @@ -109,9 +155,24 @@ export function ortbConverter({
if (request != null) {
REQ_CTX.set(request, ctx);
}

firstBidRequest = ctx.req?.actualBidderRequests?.[0];
// check if isPrebidPubMaticAnalyticsEnabled in s2sConfig and if it is then get auctionId from adUnit
const s2sConfig = ctx.req?.s2sBidRequest?.s2sConfig;
let isAnalyticsEnabled = s2sConfig?.extPrebid?.isPrebidPubMaticAnalyticsEnabled;
if (firstBidRequest) {
const iidValue = isAnalyticsEnabled ? firstBidRequest.auctionId : firstBidRequest?.bids[0]?.params?.wiid;
createLatencyMap(iidValue, firstBidRequest.auctionId);
}
return request;
},
fromORTB({request, response}) {
// Get impressionID from impressionReqIdMap to check response belongs to same request
let impValue = impressionReqIdMap[response.id];
if (impValue && window.pbsLatency[impValue]) {
window.pbsLatency[impValue]['endTime'] = timestamp();
}

const ctx = REQ_CTX.get(request);
if (ctx == null) {
throw new Error('ortbRequest passed to `fromORTB` must be the same object returned by `toORTB`')
Expand All @@ -120,13 +181,36 @@ export function ortbConverter({
return Object.assign(ctx, {ortbRequest: request}, extraParams);
}
const impsById = Object.fromEntries((request.imp || []).map(imp => [imp.id, imp]));
const bidResponses = (response.seatbid || []).flatMap(seatbid =>
(seatbid.bid || []).map((bid) => {
let impForSlots, partnerBidsForslots;
if (firstBidRequest && firstBidRequest.hasOwnProperty('adUnitsS2SCopy')) {
impForSlots = firstBidRequest.adUnitsS2SCopy.length;
}

let extObj = response.ext || {};
let miObj = extObj.matchedimpression || {};
window.matchedimpressions = {...window.matchedimpressions, ...miObj};

const listofPartnersWithmi = window.partnersWithoutErrorAndBids[impValue] = Object.keys(miObj);
const erroredPartners = getErroredPartners(extObj);
if (erroredPartners) {
findPartnersWithoutErrorsAndBids(erroredPartners, listofPartnersWithmi, extObj, impValue);
}

const bidResponses = (response.seatbid || []).flatMap(seatbid => {
if (seatbid.hasOwnProperty('bid')) {
partnerBidsForslots = seatbid.bid.length;
}
window.partnersWithoutErrorAndBids[impValue] = window.partnersWithoutErrorAndBids[impValue].filter((partner) => {
return ((partner !== seatbid.seat) || (impForSlots !== partnerBidsForslots));
});

return (seatbid.bid || []).map((bid) => {
if (impsById.hasOwnProperty(bid.impid) && ctx.imp.hasOwnProperty(bid.impid)) {
return buildBidResponse(bid, augmentContext(ctx.imp[bid.impid], {imp: impsById[bid.impid], seatbid, ortbResponse: response}));
}
logError('ORTB response seatbid[].bid[].impid does not match any imp in request; ignoring bid', bid);
})
}
).filter(Boolean);
return buildResponse(bidResponses, response, augmentContext(ctx.req));
}
Expand Down
28 changes: 27 additions & 1 deletion libraries/ortbConverter/processors/default.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {generateUUID, mergeDeep} from '../../../src/utils.js';
import {generateUUID, mergeDeep, logWarn} from '../../../src/utils.js';
import {bannerResponseProcessor, fillBannerImp} from './banner.js';
import {fillVideoImp, fillVideoResponse} from './video.js';
import {setResponseMediaType} from './mediaType.js';
Expand Down Expand Up @@ -139,3 +139,29 @@ if (FEATURES.VIDEO) {
fn: fillVideoResponse
}
}

export function onlyOneClientSection(ortbRequest, bidderRequest) {
['dooh', 'app', 'site'].reduce((found, section) => {
if (ortbRequest[section] != null && Object.keys(ortbRequest[section]).length > 0) {
if (found != null) {
logWarn(`ORTB request specifies both '${found}' and '${section}'; dropping the latter.`)
delete ortbRequest[section];
} else {
found = section;
}
}
return found;
}, null);

// PM: We will be overwriting page, domain and ref as mentioned in UOE-8675 for s2s partners
// const { page, domain } = bidderRequest.refererInfo;
const page = bidderRequest?.refererInfo?.page || '';
const domain = bidderRequest?.refererInfo?.domain || '';
const ref = window?.document?.referrer;
if (bidderRequest?.src === 's2s' && ortbRequest.site) {
ortbRequest.site = Object.assign(ortbRequest.site, { page, domain });
if (ref.length) {
ortbRequest.site.ref = ref;
}
}
}
Loading