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

AdMatic Bid Adapter: added ortb2Imp params #10292

Merged
merged 58 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
d49b56a
Admatic Bidder Adaptor
fatihkaya84 Oct 19, 2022
e582645
Update admaticBidAdapter.md
fatihkaya84 Oct 19, 2022
4c4c06a
Update admaticBidAdapter.md
fatihkaya84 Oct 28, 2022
7a23b05
remove floor parameter
fatihkaya84 Oct 31, 2022
7a845b7
Update admaticBidAdapter.js
fatihkaya84 Oct 31, 2022
7a2e0e2
Admatic Bid Adapter: alias and bid floor features activated
fatihkaya84 Nov 4, 2022
de7ac85
Admatic adapter: host param control changed
fatihkaya84 Nov 4, 2022
661c54f
Alias name changed.
fatihkaya84 Nov 4, 2022
42675a0
Revert "Admatic adapter: host param control changed"
fatihkaya84 Nov 4, 2022
6ec8f45
added alias feature and host param
fatihkaya84 Nov 4, 2022
63e1fc6
Revert "added alias feature and host param"
fatihkaya84 Nov 5, 2022
6da6565
Revert "Alias name changed."
fatihkaya84 Nov 5, 2022
549f349
Revert "Admatic Bid Adapter: alias and bid floor features activated"
fatihkaya84 Nov 5, 2022
0b8718e
Revert "Update admaticBidAdapter.js"
fatihkaya84 Nov 5, 2022
e7f6902
Revert "remove floor parameter"
fatihkaya84 Nov 5, 2022
3c797b1
Admatic adapter: host param control && Add new Bidder
fatihkaya84 Nov 5, 2022
f44bbeb
Revert "Admatic adapter: host param control && Add new Bidder"
fatihkaya84 Nov 5, 2022
fb6e36e
Merge branch 'prebid:master' into master
fatihkaya84 Nov 5, 2022
68f2596
commit new features
fatihkaya84 Nov 5, 2022
7fd1f26
Update admaticBidAdapter.js
fatihkaya84 Nov 6, 2022
e883ef6
updated for coverage
fatihkaya84 Nov 12, 2022
6961cae
sync updated
fatihkaya84 Nov 14, 2022
a3b299f
Update adloader.js
fatihkaya84 Nov 14, 2022
84c7b7b
Merge branch 'prebid:master' into master
fatihkaya84 Nov 18, 2022
e254707
AdMatic Bidder: development of user sync url
fatihkaya84 Nov 18, 2022
ba99adf
Update admaticBidAdapter.js
fatihkaya84 Nov 18, 2022
4083ae0
Merge branch 'prebid:master' into master
fatihkaya84 Jan 23, 2023
2fc2b1c
Set currency for AdserverCurrency: bug fix
fatihkaya84 Jan 23, 2023
325d94d
Merge branch 'prebid:master' into master
fatihkaya84 Apr 17, 2023
74f135b
Update admaticBidAdapter.js
fatihkaya84 Apr 17, 2023
e6b1672
update
fatihkaya84 Apr 17, 2023
dcfc9fe
Merge branch 'prebid:master' into master
fatihkaya84 Apr 26, 2023
31e69e8
admatic adapter video params update
fatihkaya84 Apr 26, 2023
60a28ca
Update admaticBidAdapter.js
fatihkaya84 Apr 26, 2023
a5316e7
update
fatihkaya84 Apr 26, 2023
38fd7ab
Update admaticBidAdapter.js
fatihkaya84 Apr 27, 2023
f381a45
update
fatihkaya84 Apr 27, 2023
689ce9d
update
fatihkaya84 Apr 27, 2023
1ca6597
Update admaticBidAdapter_spec.js
fatihkaya84 Apr 27, 2023
b1929ec
Update admaticBidAdapter.js
fatihkaya84 Apr 27, 2023
1216892
Update admaticBidAdapter.js
fatihkaya84 Apr 28, 2023
5d486e3
Revert "Update admaticBidAdapter.js"
fatihkaya84 Apr 28, 2023
473e417
Revert "Update admaticBidAdapter.js"
fatihkaya84 Apr 28, 2023
13b25ff
Revert "Update admaticBidAdapter_spec.js"
fatihkaya84 Apr 28, 2023
93b0e7d
Revert "update"
fatihkaya84 Apr 28, 2023
1c904d1
Revert "update"
fatihkaya84 Apr 28, 2023
c762aeb
Revert "Update admaticBidAdapter.js"
fatihkaya84 Apr 28, 2023
0520e1c
Revert "update"
fatihkaya84 Apr 28, 2023
578c49b
Revert "Update admaticBidAdapter.js"
fatihkaya84 Apr 28, 2023
6b04200
Revert "admatic adapter video params update"
fatihkaya84 Apr 28, 2023
246787c
Merge branch 'prebid:master' into master
fatihkaya84 Apr 28, 2023
941bb03
update
fatihkaya84 Apr 28, 2023
151ba7a
Merge branch 'prebid:master' into master
fatihkaya84 Jun 15, 2023
bbbf361
Update admaticBidAdapter.js
fatihkaya84 Jun 15, 2023
63c6ada
Merge branch 'prebid:master' into master
fatihkaya84 Jul 17, 2023
5ec51d4
Merge branch 'prebid:master' into master
fatihkaya84 Jul 29, 2023
4639682
Merge branch 'prebid:master' into master
fatihkaya84 Aug 8, 2023
2999463
Update admaticBidAdapter_spec.js
fatihkaya84 Aug 8, 2023
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
5 changes: 5 additions & 0 deletions modules/admaticBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,11 @@ function buildRequestObject(bid) {
reqObj.type = 'video';
reqObj.mediatype = bid.mediaTypes.video;
}

if (deepAccess(bid, 'ortb2Imp.ext')) {
reqObj.ext = bid.ortb2Imp.ext;
}

reqObj.id = getBidIdParameter('bidId', bid);

enrichSlotWithFloors(reqObj, bid);
Expand Down
5 changes: 5 additions & 0 deletions test/spec/modules/admaticBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ describe('admaticBidAdapter', () => {
'bidderRequestId': '22edbae2733bf6',
'auctionId': '1d1a030790a475',
'creativeId': 'er2ee',
'ortb2Imp': { 'ext': { 'instl': 1 } },
'ortb2': { 'badv': ['admatic.com.tr'] }
};

Expand All @@ -52,6 +53,7 @@ describe('admaticBidAdapter', () => {
'networkId': 10433394,
'host': 'layer.serve.admatic.com.tr'
},
'ortb2Imp': { 'ext': { 'instl': 1 } },
'ortb2': { 'badv': ['admatic.com.tr'] },
'mediaTypes': {
'banner': {
Expand Down Expand Up @@ -162,6 +164,7 @@ describe('admaticBidAdapter', () => {
'networkId': 10433394,
'host': 'layer.serve.admatic.com.tr'
},
'ortb2Imp': { 'ext': { 'instl': 1 } },
'ortb2': { 'badv': ['admatic.com.tr'] },
'mediaTypes': {
'banner': {
Expand Down Expand Up @@ -284,6 +287,7 @@ describe('admaticBidAdapter', () => {
'sizes': [[300, 250], [728, 90]]
}
},
'ortb2Imp': { 'ext': { 'instl': 1 } },
'ortb2': { 'badv': ['admatic.com.tr'] },
getFloor: inputParams => {
if (inputParams.mediaType === BANNER && inputParams.size[0] === 300 && inputParams.size[1] === 250) {
Expand All @@ -308,6 +312,7 @@ describe('admaticBidAdapter', () => {
'networkId': 10433394,
'host': 'layer.serve.admatic.com.tr'
},
'ortb2Imp': { 'ext': { 'instl': 1 } },
'ortb2': { 'badv': ['admatic.com.tr'] },
'adUnitCode': 'adunit-code',
'sizes': [[300, 250], [728, 90]],
Expand Down