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 : add adt alias #12451

Merged
merged 85 commits into from
Nov 15, 2024
Merged
Changes from all commits
Commits
Show all changes
85 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
3bcbe0f
Merge branch 'prebid:master' into master
fatihkaya84 Oct 7, 2023
090397e
mime_type add
fatihkaya84 Oct 7, 2023
ee09d90
Merge branch 'prebid:master' into master
fatihkaya84 Oct 26, 2023
bd0d50c
add native adapter
fatihkaya84 Oct 26, 2023
8347749
Merge branch 'prebid:master' into master
fatihkaya84 Oct 30, 2023
00bb9b5
Merge branch 'prebid:master' into master
fatihkaya84 Dec 8, 2023
5d9ea45
AdMatic Adapter: Consent Management
fatihkaya84 Dec 9, 2023
8a03c3f
Merge branch 'prebid:master' into master
fatihkaya84 Mar 4, 2024
d3a0f62
Merge branch 'prebid:master' into master
fatihkaya84 Mar 14, 2024
7273ec5
added gvlid
fatihkaya84 Mar 14, 2024
f0f3486
Merge branch 'prebid:master' into master
fatihkaya84 Jun 4, 2024
1023229
Update admaticBidAdapter.js
fatihkaya84 Jun 4, 2024
b310162
Merge branch 'prebid:master' into master
fatihkaya84 Jul 1, 2024
a399034
Merge branch 'prebid:master' into master
fatihkaya84 Jul 18, 2024
b806611
Merge branch 'prebid:master' into master
fatihkaya84 Aug 22, 2024
761b484
Merge branch 'prebid:master' into master
fatihkaya84 Sep 2, 2024
9ea240e
admatic cur update
fatihkaya84 Sep 2, 2024
1ee12ef
Update admaticBidAdapter.js
fatihkaya84 Sep 2, 2024
5982b7a
Merge branch 'prebid:master' into master
fatihkaya84 Sep 16, 2024
3b52757
Merge branch 'prebid:master' into master
fatihkaya84 Sep 26, 2024
f38f08a
Merge branch 'prebid:master' into master
fatihkaya84 Oct 5, 2024
8ae9b54
Merge branch 'prebid:master' into master
fatihkaya84 Oct 8, 2024
6e25b89
Update admaticBidAdapter.js
fatihkaya84 Oct 8, 2024
6b95339
Merge branch 'prebid:master' into master
fatihkaya84 Oct 16, 2024
33ff55a
Merge branch 'prebid:master' into master
fatihkaya84 Nov 6, 2024
f868a2a
Merge branch 'prebid:master' into master
fatihkaya84 Nov 15, 2024
b201fe4
Update admaticBidAdapter.js
fatihkaya84 Nov 15, 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
11 changes: 8 additions & 3 deletions modules/admaticBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export const spec = {
{code: 'admaticde', gvlid: 1281},
{code: 'pixad', gvlid: 1281},
{code: 'monetixads', gvlid: 1281},
{code: 'netaddiction', gvlid: 1281}
{code: 'netaddiction', gvlid: 1281},
{code: 'adt', gvlid: 779}
],
supportedMediaTypes: [BANNER, VIDEO, NATIVE],
/**
Expand Down Expand Up @@ -54,7 +55,7 @@ export const spec = {
const bids = validBidRequests.map(buildRequestObject);
const ortb = bidderRequest.ortb2;
const networkId = getValue(validBidRequests[0].params, 'networkId');
const host = getValue(validBidRequests[0].params, 'host');
let host = getValue(validBidRequests[0].params, 'host');
const bidderName = validBidRequests[0].bidder;

const payload = {
Expand Down Expand Up @@ -137,11 +138,15 @@ export const spec = {
case 'admaticde':
SYNC_URL = 'https://static.cdn.admatic.de/admaticde/sync.html';
break;
case 'adt':
SYNC_URL = 'https://static.cdn.adtarget.org/adt/sync.html';
break;
default:
SYNC_URL = 'https://static.cdn.admatic.com.tr/sync.html';
break;
}

host = host?.replace('https://', '')?.replace('http://', '')?.replace('/', '');
return { method: 'POST', url: `https://${host}/pb`, data: payload, options: { contentType: 'application/json' } };
}
},
Expand All @@ -150,7 +155,7 @@ export const spec = {
if (!hasSynced && syncOptions.iframeEnabled) {
// data is only assigned if params are available to pass to syncEndpoint
let params = getUserSyncParams(gdprConsent, uspConsent, gppConsent);
params = Object.keys(params).length ? `?${formatQS(params)}` : '';
params = Object.keys(params).length ? `&${formatQS(params)}` : '';

hasSynced = true;
return {
Expand Down