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

OTT-105: VCR - Video Event Trackers #152

Merged
merged 399 commits into from
May 5, 2021
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
399 commits
Select commit Hold shift + click to select a range
f1582a4
Pubmatic: Support for video duration and primary category (#1384)
PubMatic-OpenWrap Jul 27, 2020
a857e68
Add IPv6 Non-Public Network (#1417)
SyntaxNode Jul 29, 2020
3fa47ab
GumGum: adds support for video (#1408)
susyt Jul 29, 2020
551faad
OpenX adapter: pass optional platform (PBID-598) (#1421)
laurb9 Jul 30, 2020
126455c
Adds keyvalue hb_format support (#1414)
hhhjort Jul 30, 2020
deb19c3
feat: Add new logger module - Pubstack Analytics Module (#1331)
gpolaert Aug 3, 2020
8740179
New bid adapter for Smaato (#1413)
vikramsinghchandel Aug 6, 2020
7615d47
New Adprime adapter (#1418)
Adprime Aug 6, 2020
a7aaa97
Separate "debug" behavior from "billable" behavior (#1387)
guscarreon Aug 6, 2020
cc43502
Remove redundad struct (#1432)
Adprime Aug 7, 2020
e67dfa4
Tcf2 id support (#1420)
hhhjort Aug 12, 2020
549cc79
Default TCF1 GVL in anticipation of IAB no longer hosting the v1 GVL …
hhhjort Aug 12, 2020
b5f8933
update to the latest go-gdpr release (#1436)
hhhjort Aug 12, 2020
48c865c
Video endpoint bid selection enhancements (#1419)
VeronikaSolovei9 Aug 12, 2020
cce4967
[WIP] Bid deduplication enhancement (#1430)
VeronikaSolovei9 Aug 12, 2020
346617b
Refactor rate converter separating scheduler from converter logic to …
bsardo Aug 12, 2020
a4ac6b6
Fix TCF1 Fetcher Fallback (#1438)
SyntaxNode Aug 12, 2020
dee2ca5
UOE-5440: Changes for capturing Pod algorithm execution time using pb…
ShriprasadM Aug 14, 2020
db9a643
UOE-5440: Fixed the Unit test issues (#72)
ShriprasadM Aug 14, 2020
5a7d365
Eplanning adapter: Get domain from page (#1434)
Aug 17, 2020
e065488
Fix no bid debug log (#1375)
camrice Aug 17, 2020
2e9d833
Update the fallback GVL to last version (#1440)
hhhjort Aug 17, 2020
501927a
UOE-5511 Support for skadnetwork in pubmatic (#73)
PubMatic-OpenWrap Aug 20, 2020
21b41ff
Enable geo activation of GDPR flag (#1427)
hhhjort Aug 20, 2020
f4b0a7c
Validate External Cache Host (#1422)
guscarreon Aug 20, 2020
80d557e
Fixes bug (#1448)
hhhjort Aug 20, 2020
d663380
Added adpod_id to request extension (#1444)
VeronikaSolovei9 Aug 24, 2020
30ef858
Adform adapter: additional targeting params added (#1424)
braizhas Aug 24, 2020
9dbd008
Fix minor error message spelling mistake "vastml" -> "vastxml" (#1455)
robhazan Aug 24, 2020
055ab80
Fixing comment for usage of deal priority field (#1451)
camrice Aug 25, 2020
e96b980
moving docs to website repo (#1443)
bretg Aug 25, 2020
ceaf883
Fix bid dedup (#1456)
VeronikaSolovei9 Aug 25, 2020
1c9b521
consumable: Correct width and height reported in response. (#1459)
djcsdy Aug 27, 2020
1f87497
Panics happen when left with zero length []Imp (#1462)
guscarreon Aug 27, 2020
292df1f
Add Scheme Option To External Cache URL (#1460)
SyntaxNode Aug 27, 2020
5d13c85
Update gamma adapter (#1447)
gammassp Aug 28, 2020
ebdf997
fix: avoid unexpected EOF on gz writer (#1449)
gpolaert Aug 28, 2020
d8dc27f
Smaato adapter: support for video mediaType (#1463)
sbrosinski Aug 31, 2020
a059556
Merge branch 'master' into ci
pm-shriprasad-marathe Sep 1, 2020
ebe98c7
Resolved merge issues
pm-shriprasad-marathe Sep 1, 2020
412e0fc
Rubicon liveramp param (#1466)
DGarbar Sep 1, 2020
754de04
Consolidate StoredRequest configs, add validation for all data types …
laurb9 Sep 1, 2020
f350cda
Fix Test TestEventChannel_OutputFormat (#1468)
guscarreon Sep 2, 2020
c867e6f
Add ability to randomly generate source.TID if empty and set publishe…
mansinahar Sep 2, 2020
0c96441
Add support for Account configuration (PBID-727, #1395) (#1426)
laurb9 Sep 3, 2020
44310b6
Minor changes to accounts test coverage (#1475)
bsardo Sep 8, 2020
d75df46
Brightroll adapter - adding config support (#1461)
smithaammassamveettil Sep 8, 2020
480d2a2
Refactor TCF 1/2 Vendor List Fetcher Tests (#1441)
SyntaxNode Sep 8, 2020
dc4d192
BugID:OTT-17 First Commit
pm-viral-vala Sep 9, 2020
420da24
Add validation checker for PRs and merges with github actions (#1476)
laurb9 Sep 9, 2020
22c454c
Cache refactor (#1431)
laurb9 Sep 10, 2020
42e6765
Pass Through First Party Context Data (#1479)
SyntaxNode Sep 10, 2020
fa23f5c
Added new size 640x360 (Id: 198) (#1490)
hdeodhar Sep 10, 2020
65c6c36
Refactor: move getAccount to accounts package (from openrtb2) (#1483)
laurb9 Sep 14, 2020
58b356d
OTT-18: moved VideoAuction to selector pattern. This required for mo…
ShriprasadM Sep 15, 2020
e7d0bab
Fixed TCF2 Geo Only Enforcement (#1492)
SyntaxNode Sep 15, 2020
d3ba8a9
New colossus adapter [Clean branch] (#1495)
Sep 15, 2020
7b59a4b
New: InMobi Prebid Server Adapter (#1489)
cormorinth Sep 15, 2020
ab653bc
Revert "Added new size 640x360 (Id: 198) (#1490)" (#1501)
bsardo Sep 16, 2020
f6624b7
CCPA Publisher No Sale Relationships (#1465)
SyntaxNode Sep 17, 2020
47de6a5
Merge branch 'OTT-9' into ci
pm-viral-vala Sep 17, 2020
472c7a0
Fix Merge Conflict (#1502)
SyntaxNode Sep 17, 2020
97be47d
Update conversant adapter for new prebid-server interface (#1484)
johnwier Sep 17, 2020
5507707
Implement returnCreative (#1493)
guscarreon Sep 17, 2020
e5648b4
OTT-24: Basic support for sorting the deal bids in forming the final …
pm-shriprasad-marathe Sep 21, 2020
811bb89
ConnectAd S2S Adapter (#1505)
rtuschkany Sep 23, 2020
1e92554
between adapter (#1437)
digitalist Sep 23, 2020
cfb0598
Invibes adapter (#1469)
invibes Sep 23, 2020
0f8f81e
OTT-24: Added changes around https://github.com/prebid/prebid-server/…
pm-shriprasad-marathe Sep 24, 2020
e496c8b
Refactor postgres event producer so it will run either the full or de…
bsardo Sep 24, 2020
120f735
Bidder Uniqueness Gatekeeping Test (#1506)
SyntaxNode Sep 24, 2020
766a92a
OTT-27, OTT-32 Supporting Deal Prioritization for CTV
pm-viral-vala Sep 28, 2020
2ea235c
Merge branch 'OTT-9' into ci
pm-viral-vala Sep 28, 2020
99d3cef
ucfunnel adapter update end point (#1511)
Sep 28, 2020
9e35189
Refactor EEAC map to be more in line with the nonstandard publisher m…
hhhjort Sep 30, 2020
5d73084
Added bunch of new sizes (#1516)
hdeodhar Sep 30, 2020
b46d49d
New krushmedia bid adapter (#1504)
Krushmedia Oct 1, 2020
2d03b85
Invibes: Generic domainId parameter (#1512)
invibes Oct 1, 2020
1e9ecd4
Smarty ads adapter (#1500)
KushnerykPavel Oct 1, 2020
853ed6f
Add vscode remote container development files (#1481)
laurb9 Oct 6, 2020
7e6c469
First commit (#1510)
guscarreon Oct 6, 2020
bc974f5
UOE-5616: Support wiid in pubmatic (#77)
PubMatic-OpenWrap Oct 7, 2020
7feefad
Vtrack and event endpoints (#1467)
danielguedesb Oct 8, 2020
c27ec73
Rework pubstack module tests to remove race conditions (#1522)
bsardo Oct 8, 2020
2216ebf
Updating smartadserver endpoint configuration. (#1531)
tadam75 Oct 12, 2020
4b53800
Add new size 500x1000 (ID: 548) (#1536)
ACannuniRP Oct 12, 2020
e05fcb9
Fix missing Request parameter for Adgeneration Adapter (#1525)
AdGeneration Oct 13, 2020
779bb5f
Fix endpoint url for TheMediaGrid Bid Adapter (#1541)
TheMediaGrid Oct 14, 2020
c7ddfa6
Add Account cache (#1519)
laurb9 Oct 14, 2020
0a34a01
Add bidder name key support (#1496)
camrice Oct 15, 2020
27ec65d
Simplifying exchange module: bidResponseExt gets built anyway (#1518)
guscarreon Oct 15, 2020
f83903f
Correct GetCpmStringValue's second return value (#1520)
guscarreon Oct 15, 2020
5258ef3
Add metrics to capture stored data fetch all/delta durations with fet…
bsardo Oct 19, 2020
dd7a5fc
Adds preferDeals support (#1528)
hhhjort Oct 20, 2020
de219fb
OTT-29 Fixing Skip Dedup Map Issue
pm-viral-vala Oct 21, 2020
21a9076
Emxd 3336 add app video ctv (#1529)
EMXDigital Oct 21, 2020
b0f8d71
Add http api for fetching accounts (#1545)
laurb9 Oct 22, 2020
445c207
Add missing postgres cache init config validation
bsardo Oct 22, 2020
3f31429
Acuity ads adapter (#1537)
AcuityAdsIntegrations Oct 22, 2020
6a997b2
Yieldmo app support in yaml file (#1542)
ym-winston Oct 22, 2020
7b50f96
Add metrics for account cache (#1543)
laurb9 Oct 22, 2020
ebce2fb
OTT-29 Adding Video Duration in hb_pb_cat_dur key
pm-viral-vala Oct 26, 2020
344c965
OTT-9 Adding Duration in hb_pb_cat_dur field
pm-viral-vala Oct 28, 2020
0742c81
[Invibes] remove user sync for invibes (#1550)
invibes Oct 28, 2020
5a718e7
Add Support For imp.ext.prebid For DealTiers (#1539)
SyntaxNode Oct 28, 2020
e53bf0f
Add Accounts to http cache events (#1553)
laurb9 Oct 29, 2020
466c9aa
UOE-5741: merging ci branch into UOE-5741
pm-shalmali-patil Nov 1, 2020
56c052b
OTT-9 : (OTT-45) Added logger and prometheus metrics to capture bid.i…
ShriprasadM Nov 3, 2020
f141c49
Fix JSON tests ignore expected message field (#1450)
guscarreon Nov 3, 2020
75f71f5
NoBid version 1.0. Initial commit. (#1547)
redaguermas Nov 3, 2020
d821b3b
Added dealTierSatisfied parameters in exchange.pbsOrtbBid and openrtb…
ShriprasadM Nov 4, 2020
ae07c19
UOE-5745 changes for consuming rewarded inventory flag in PubMatic ad…
pm-shalmali-patil Nov 5, 2020
d044a93
Add client/AccountID support into Adoppler adapter. (#1535)
vchimishuk Nov 5, 2020
aeeeba8
Optionally read IFA value and add it the the request url (Adhese) (#1…
sander-adhese Nov 5, 2020
7db8fe0
Add AMX RTB adapter (#1549)
nickjacob Nov 5, 2020
ec7a2f7
UOE-5745 adding a test input file for rewarded video case
pm-shalmali-patil Nov 6, 2020
494e3de
UOE-5745: removing commented code
pm-shalmali-patil Nov 6, 2020
7551e98
Merge pull request #88 from PubMatic-OpenWrap/UOE-5745
PubMatic-OpenWrap Nov 6, 2020
63f5bcf
update Datablocks usersync.go (#1572)
htang555 Nov 10, 2020
6d37afc
33Across: Add video support in adapter (#1557)
curlyblueeagle Nov 11, 2020
c481f56
SilverMob adapter (#1561)
Nov 11, 2020
9a3f2a0
Updated ePlanning GVL ID (#1574)
sebaperez Nov 11, 2020
aaecdfa
update adpone google vendor id (#1577)
seergiioo6 Nov 11, 2020
7060022
ADtelligent gvlid (#1581)
GeneGenie Nov 12, 2020
12d96a6
Add account/ host GDPR enabled flags & account per request type GDPR …
bsardo Nov 12, 2020
ada88b4
DMX Bidfloor fix (#1579)
stevealliance Nov 16, 2020
acf889e
adform bidder video bid response support (#1573)
braizhas Nov 17, 2020
17f5020
Fix Beachfront JSON tests (#1578)
mansinahar Nov 17, 2020
1c31e06
Add account CCPA enabled and per-request-type enabled flags (#1566)
bsardo Nov 18, 2020
ab26a90
Refactored HoldAuction Arguments (#1570)
SyntaxNode Nov 18, 2020
47efd7c
Fix bug in request.imp.ext Validation (#1575)
guscarreon Nov 19, 2020
5c20af0
Bugfix: default admin port is 6060 (#1595)
peterfroehlich Nov 20, 2020
7c7097a
Add timestamp to analytics and response.ext.prebid.auctiontimestamp l…
laurb9 Nov 25, 2020
911db3e
OTT-55 First Commit
pm-viral-vala Nov 25, 2020
0250787
OTT-66 Selecting DealBids over Normal Bids for CTV Requests
pm-viral-vala Nov 25, 2020
cf3c577
OTT-64: ctv auction module will now populate hb_pb and hb_pb_cat_dur…
ShriprasadM Nov 30, 2020
32a96f0
Added app capabilities to VerizonMedia adapter (#1596)
oath-jac Nov 30, 2020
f53739c
Merge branch 'master' into ci
pm-shriprasad-marathe Dec 1, 2020
81841e5
OTT-55 Second Commit
pm-viral-vala Dec 1, 2020
d0bfd5d
New Adapter Initialization Framework (#1532)
SyntaxNode Dec 1, 2020
3892ad9
OTT-67: Added functionality to prefer using actual video ad duration …
ShriprasadM Dec 2, 2020
36c497f
Fix 33Across App Handling (#1602)
SyntaxNode Dec 2, 2020
3dade2e
OTT-55 Adding Macro Definitions
pm-viral-vala Dec 2, 2020
a195f5c
Fix adapter JSON tests to have the right test structure (#1589)
mansinahar Dec 2, 2020
bd4e292
Added usersync support to Between SSP adapter; Major fixes and refact…
egsk Dec 3, 2020
840c15d
Removed Safari Metric (#1571)
SyntaxNode Dec 3, 2020
0f76d20
Deepintent adapter (#1524)
sourabhg Dec 3, 2020
c021bf0
update mobilefuse endpoint (#1606)
dtbarne Dec 3, 2020
bcdcf55
Fix Missing Consumable Clock (#1610)
SyntaxNode Dec 4, 2020
7872712
Remove Hook Scripts (#1614)
SyntaxNode Dec 8, 2020
ea32f0a
Add config gdpr.amp_exception deprecation warning (#1612)
bsardo Dec 9, 2020
b63f0e8
Refactor Adapter Config To Its Own File (#1608)
SyntaxNode Dec 9, 2020
03b41ff
RP adapter: use video placement parameter to set size ID (#1607)
SerhiiNahornyi Dec 10, 2020
354d23b
Add a BidderRequest struct to hold bidder specific request info (#1611)
mansinahar Dec 10, 2020
991b06c
Add warning that gdpr checks will be skipped when gdpr.host_vendor_id…
bsardo Dec 10, 2020
be93ee0
Add TLS Handshake connection metrics (#1613)
mansinahar Dec 10, 2020
26c0619
refactoring code
pm-viral-vala Dec 12, 2020
5cbf91e
refactored code
pm-viral-vala Dec 14, 2020
5032eca
Improve GitHub Actions Validation (#1590)
SyntaxNode Dec 14, 2020
1c6f261
Move SSL to Server directory (#1625)
mansinahar Dec 14, 2020
0ba7f73
Rename currencies to currency (#1626)
mansinahar Dec 16, 2020
a439fd4
refactoring code
pm-viral-vala Dec 16, 2020
0986f76
Deepintent: Params normalization (#1617)
sourabhg Dec 16, 2020
8fdefd9
Set Kubient email to [email protected] (#1629)
Dec 17, 2020
518e27f
Rename pbsmetrics to metrics (#1624)
mansinahar Dec 17, 2020
1aeecb0
33Across: Add support for multi-imp requests (#1609)
curlyblueeagle Dec 17, 2020
9e23a9b
OTT-71: (CI) Add stats collecting information around the actual Ad du…
ShriprasadM Dec 18, 2020
dda1e87
testing phase
pm-viral-vala Dec 18, 2020
808264a
updated macro format
pm-viral-vala Dec 18, 2020
ebcb221
fixing bugs
pm-viral-vala Dec 18, 2020
417f6fd
OTT-55: Added empty function getBidDuration. Added unit tests with ex…
pm-shriprasad-marathe Dec 18, 2020
40ebada
Revert "OTT-55: Added empty function getBidDuration. Added unit tests…
pm-shriprasad-marathe Dec 18, 2020
bc87d85
updating macro processor
pm-viral-vala Dec 19, 2020
cfa29dc
added creative id parsing
pm-viral-vala Dec 19, 2020
2d4a03a
changed usersync endpoint (#1631)
sourabhg Dec 22, 2020
9968b41
Prebid server version 0.138.0 Upgrade (#97)
PubMatic-OpenWrap Dec 23, 2020
c42a7f4
Prebid server upgrade to version 0.138.0
PubMatic-OpenWrap Dec 23, 2020
2202392
Prebid server 0.138.0 fix (#99)
PubMatic-OpenWrap Dec 23, 2020
0bf43cc
OTT-66 Fixing Selecting DealBids over Normal Bids
pm-viral-vala Dec 29, 2020
b17213c
OTT-58: Extract Duration and Creative Id and update Prebid Server obj…
ShriprasadM Jan 4, 2021
9f69202
OTT-54 Adding Macro Support for Tag Bidder
pm-viral-vala Dec 29, 2020
90fe4c5
Merge branch 'OTT-54' into OTT-55
pm-viral-vala Jan 4, 2021
e8fcae1
Merge branch 'OTT-55' into ci
pm-viral-vala Jan 4, 2021
12a8711
OTT-55 Reverting Merge Conflicts
pm-viral-vala Jan 4, 2021
7b11613
Merge branch 'OTT-55' into ci
pm-viral-vala Jan 4, 2021
277762b
Remove legacy GDPR AMP config flag used to prevent buyer ID scrub on …
bsardo Jan 5, 2021
ef967ef
Updating contact info for adprime (#1640)
bretg Jan 5, 2021
1dda07d
ucfunnel adapter update end point (#1639)
Jan 5, 2021
0284a70
New Adapter: Mobfox (#1585)
mobfxoHB Jan 5, 2021
a709baa
IX: Implement Bidder interface, update endpoint. (#1569)
ix-prebid-support Jan 6, 2021
601a746
Fix GDPR consent assumption when gdpr req signal is unambiguous and s…
bsardo Jan 7, 2021
2d76926
Fix appnexus adapter not setting currency in the bid response (#1642)
SyntaxNode Jan 7, 2021
4958703
OTT-54: Removing Bidder Config
pm-viral-vala Jan 8, 2021
be4aa73
Add Adot adapter (#1605)
Giudici-a Jan 11, 2021
f3fbc8c
Refactor AMP Param Parsing (#1627)
SyntaxNode Jan 12, 2021
b111b6d
Enforce GDPR privacy if there's an error parsing consent (#1593)
bsardo Jan 12, 2021
2336b64
MediaFuse adapter (#1635)
GeneGenie Jan 12, 2021
b6b64e7
New Adapter: Revcontent (#1622)
jcamp-revc Jan 12, 2021
4b7323c
Fix Unruly Bidder Parmaters (#1616)
SyntaxNode Jan 12, 2021
9c2e630
Implement EID Permissions (#1633)
SyntaxNode Jan 14, 2021
fca9f3a
Idsync removal (#1644)
stevealliance Jan 14, 2021
b23b7a2
enable rubicon (#104)
PubMatic-OpenWrap Jan 15, 2021
6e32168
Audit beachfront tests and change some videoResponseType details (#1638)
muncha Jan 20, 2021
994d0f0
Adding Events support in bid responses (#1597)
laurb9 Jan 20, 2021
f5f0b03
Fix Shared Memory Corruption In EMX_Digital (#1646)
SyntaxNode Jan 20, 2021
50b49a0
Add gdpr.tcf1.fetch_gvl deprecation warning and update GVL subdomain …
bsardo Jan 20, 2021
e2c9289
Bubble up GDPR signal/consent errors while applying privacy policies …
bsardo Jan 20, 2021
56672f8
Always sync when GDPR globally enabled and allow host cookie sync … (…
bsardo Jan 21, 2021
d61f2d5
Eplanning: new prioritization metric for adunit sizes (#1648)
Jan 26, 2021
c3e305f
removing IX's usersync default URL (#1670)
ix-prebid-support Jan 26, 2021
54f22b2
AMX Bid Adapter: Loop Variable Bug (#1675)
nickjacob Jan 28, 2021
3793d4c
requestheaders: new parameter inside debug.httpcalls.<BIDDER> to log …
ShriprasadM Jan 28, 2021
c276b58
Updating pulsepoint adapter (#1663)
anand-venkatraman Jan 28, 2021
01645db
Debug disable feature implementation: (#1677)
VeronikaSolovei9 Jan 28, 2021
ef06fac
Always use fallback GVL for TCF1 (#1657)
bsardo Jan 28, 2021
15a83c9
UOE-5909: Trimming spaces publisherID for pubmatic adapter (#109)
sachin-pubmatic Feb 1, 2021
fa3a5d2
UOE-5992: updating improvedigital endpoint URL
PubMatic-OpenWrap Feb 1, 2021
27d1b8f
Adform adapter: digitrust cleanup (#1690)
braizhas Feb 3, 2021
3b93511
New Adapter: DecenterAds (#1669)
vlaktion Feb 4, 2021
3b9f61a
Handle empty consent string during cookie sync and setuid (#1671)
bsardo Feb 4, 2021
edda1f6
Prebid Upgrade 0.146.0: Updating import statements
pm-isha-bharti Feb 11, 2021
ef6a453
UOE-6077:updating usersync url for IX
pm-shalmali-patil Feb 11, 2021
3397d71
UOE-6043: updating vrtcal endpoint
pm-shalmali-patil Feb 11, 2021
997e37e
UOE-5909: Trimming publisherID field (#113)
sachin-pubmatic Feb 11, 2021
86d9429
Merging 'master' into branch 'prebid-upgrade-0.146.0'
pm-isha-bharti Feb 16, 2021
63086fe
Adding changes in ctv for prebid upgrade 0.146.0
pm-isha-bharti Feb 16, 2021
4378292
Merging prebid-upgrade-0.146.0 branch into ci
pm-isha-bharti Feb 17, 2021
14fdaa9
UOE-6077: Updating IX usersync (#119)
PubMatic-OpenWrap Feb 17, 2021
6ca64b3
UOE-6121: Reverting changes for sec parameter (#123)
sachin-pubmatic Feb 25, 2021
3ed497f
UOE-6121: Fixed Ix Usersync url (#125)
sachin-pubmatic Mar 2, 2021
abe7b7e
Uoe 6011 ci (#129)
PubMatic-OpenWrap Mar 4, 2021
13da1c8
Merge branch 'master' into OTT-105_VCR
pm-shriprasad-marathe Mar 4, 2021
02c9ab9
UOE-6196:commenting code to populate adpod_id in appnexus request
pm-shalmali-patil Mar 10, 2021
b828514
UOE-6196:merging ci branch into UOE-6196-ci
pm-shalmali-patil Mar 10, 2021
5886e59
Merge branch 'master' into OTT-105_VCR
pm-shriprasad-marathe Mar 17, 2021
2b3b74a
OTT-130: Injecting Video Tracking Events in VAST (#130)
ShriprasadM Mar 18, 2021
f8d901b
Merge branch 'master' into OTT-105_VCR
pm-shriprasad-marathe Mar 25, 2021
d34a0ea
OTT-131: VCR Custom Macro (#132)
ShriprasadM Mar 26, 2021
00d241a
OTT-174: Added bid ID , Ad Unit as tracking parameters and ADomain ha…
ShriprasadM Apr 19, 2021
d0c6926
Merge branch 'master' into ci
pm-shriprasad-marathe Apr 20, 2021
025b755
OTT-105: Video Completion Rate Feature (#136)
ShriprasadM Apr 20, 2021
ec140dd
OTT-105: Changes for advertiser id
pm-shriprasad-marathe Apr 21, 2021
7b30e40
Merge branch 'ci' into OTT-105_VCR
ShriprasadM Apr 21, 2021
cbbc0f8
OTT-105: Video Completion Rate Feature (Advertiser Changes) (#137)
ShriprasadM Apr 21, 2021
836c22b
OTT-180: Added support for forming and injecting video start event in…
ShriprasadM Apr 22, 2021
7442b14
Merge branch 'ci' into OTT-105_VCR
ShriprasadM Apr 23, 2021
0199201
OTT-183: Fixed the issue of operId=8 must be first query param (#141)
ShriprasadM Apr 27, 2021
16c5835
OTT-183: OTT-105 Downmerge (#143)
ShriprasadM Apr 27, 2021
7f6722b
OTT-105: Reverted CI branch changes before master merge
pm-shriprasad-marathe May 5, 2021
ad56710
OTT-105: Added tests for adpod_generator
pm-shriprasad-marathe May 5, 2021
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
9 changes: 5 additions & 4 deletions adapters/bidder.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,11 @@ type ResponseData struct {

// RequestData packages together the fields needed to make an http.Request.
type RequestData struct {
Method string
Uri string
Body []byte
Headers http.Header
ImpIndex int
ShriprasadM marked this conversation as resolved.
Show resolved Hide resolved
Method string
Uri string
Body []byte
Headers http.Header
}

// ExtImpBidder can be used by Bidders to unmarshal any request.imp[i].ext.
Expand Down
70 changes: 70 additions & 0 deletions adapters/tagbidder/bidder_config.go.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
package tagbidder
ShriprasadM marked this conversation as resolved.
Show resolved Hide resolved

import (
"encoding/json"
"fmt"
"io/ioutil"
"path/filepath"
"strings"

"github.com/PubMatic-OpenWrap/prebid-server/openrtb_ext"
"github.com/golang/glog"
)

//BidderConfig mapper json
type BidderConfig struct {
URL string `json:"url,omitempty"`
ResponseType ResponseHandlerType `json:"response,omitempty"`
Flags Flags `json:"flags,omitempty"`
}

var bidderConfig = map[string]*BidderConfig{}

//RegisterBidderConfig will be used by each bidder to set its respective macro Mapper
func RegisterBidderConfig(bidder string, config *BidderConfig) {
bidderConfig[bidder] = config
}

//GetBidderConfig will return Mapper of specific bidder
func GetBidderConfig(bidder string) *BidderConfig {
return bidderConfig[bidder]
}

//InitTagBidderConfig returns new Mapper from JSON details
func InitTagBidderConfig(schemaDirectory string, tagBidderMap map[string]openrtb_ext.BidderName) error {
fileInfos, err := ioutil.ReadDir(schemaDirectory)
if err != nil {
return fmt.Errorf("Failed to read JSON schemas from directory %s. %v", schemaDirectory, err)
}

for _, fileInfo := range fileInfos {

//checking for invalid tag bidder names
bidderName := strings.TrimSuffix(fileInfo.Name(), ".json")
if _, isValid := tagBidderMap[bidderName]; !isValid {
return fmt.Errorf("File %s/%s does not match a valid BidderName", schemaDirectory, fileInfo.Name())
}

//bidder config file absolute path
toOpen, err := filepath.Abs(filepath.Join(schemaDirectory, fileInfo.Name()))
if err != nil {
return fmt.Errorf("Failed to get an absolute representation of the path: %s, %v", toOpen, err)
}

//reading config file contents
fileBytes, err := ioutil.ReadFile(fmt.Sprintf("%s/%s", schemaDirectory, fileInfo.Name()))
if err != nil {
return fmt.Errorf("Failed to read file %s/%s: %v", schemaDirectory, fileInfo.Name(), err)
}

//reading bidder config values
var bidderConfig BidderConfig
if err := json.Unmarshal(fileBytes, &bidderConfig); nil != err {
glog.Fatalf("error parsing json in file %s: %v", schemaDirectory+"/"+bidderName+".json", err)
}

//register tag bidder configurations
RegisterBidderConfig(bidderName, &bidderConfig)
}
return nil
}
Loading