Skip to content

Commit

Permalink
AdMatic Bid Adapter : add yobee alias (#12588)
Browse files Browse the repository at this point in the history
* Admatic Bidder Adaptor

* Update admaticBidAdapter.md

* Update admaticBidAdapter.md

* remove floor parameter

* Update admaticBidAdapter.js

* Admatic Bid Adapter: alias and bid floor features activated

* Admatic adapter: host param control changed

* Alias name changed.

* Revert "Admatic adapter: host param control changed"

This reverts commit de7ac85.

* added alias feature and host param

* Revert "added alias feature and host param"

This reverts commit 6ec8f45.

* Revert "Alias name changed."

This reverts commit 661c54f.

* Revert "Admatic Bid Adapter: alias and bid floor features activated"

This reverts commit 7a2e0e2.

* Revert "Update admaticBidAdapter.js"

This reverts commit 7a845b7.

* Revert "remove floor parameter"

This reverts commit 7a23b05.

* Admatic adapter: host param control && Add new Bidder

* Revert "Admatic adapter: host param control && Add new Bidder"

This reverts commit 3c797b1.

* commit new features

* Update admaticBidAdapter.js

* updated for coverage

* sync updated

* Update adloader.js

* AdMatic Bidder: development of user sync url

* Update admaticBidAdapter.js

* Set currency for AdserverCurrency: bug fix

* Update admaticBidAdapter.js

* update

* admatic adapter video params update

* Update admaticBidAdapter.js

* update

* Update admaticBidAdapter.js

* update

* update

* Update admaticBidAdapter_spec.js

* Update admaticBidAdapter.js

* Update admaticBidAdapter.js

* Revert "Update admaticBidAdapter.js"

This reverts commit 1216892.

* Revert "Update admaticBidAdapter.js"

This reverts commit b1929ec.

* Revert "Update admaticBidAdapter_spec.js"

This reverts commit 1ca6597.

* Revert "update"

This reverts commit 689ce9d.

* Revert "update"

This reverts commit f381a45.

* Revert "Update admaticBidAdapter.js"

This reverts commit 38fd7ab.

* Revert "update"

This reverts commit a5316e7.

* Revert "Update admaticBidAdapter.js"

This reverts commit 60a28ca.

* Revert "admatic adapter video params update"

This reverts commit 31e69e8.

* update

* Update admaticBidAdapter.js

* Update admaticBidAdapter_spec.js

* mime_type add

* add native adapter

* AdMatic Adapter: Consent Management

* added gvlid

* Update admaticBidAdapter.js

* admatic cur update

* Update admaticBidAdapter.js

* Update admaticBidAdapter.js

* Update admaticBidAdapter.js

* Update admaticBidAdapter.js

* Update admaticBidAdapter.js

* Update admaticBidAdapter.js

* Update admaticBidAdapter.js
  • Loading branch information
fatihkaya84 authored Dec 19, 2024
1 parent 6fe63f6 commit 2baacb1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions modules/admaticBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export const spec = {
{code: 'pixad', gvlid: 1281},
{code: 'monetixads', gvlid: 1281},
{code: 'netaddiction', gvlid: 1281},
{code: 'adt', gvlid: 779}
{code: 'adt', gvlid: 779},
{code: 'yobee', gvlid: 1281}
],
supportedMediaTypes: [BANNER, VIDEO, NATIVE],
/**
Expand Down Expand Up @@ -56,7 +57,7 @@ export const spec = {
const ortb = bidderRequest.ortb2;
const networkId = getValue(validBidRequests[0].params, 'networkId');
let host = getValue(validBidRequests[0].params, 'host');
const currency = getCurrencyFromBidderRequest(bidderRequest) || 'TRY';
const currency = getCurrencyFromBidderRequest(bidderRequest) || null;
const bidderName = validBidRequests[0].bidder;

const payload = {
Expand Down Expand Up @@ -86,6 +87,7 @@ export const spec = {
};

payload.ext.cur = currency;

if (bidderRequest && bidderRequest.gdprConsent && bidderRequest.gdprConsent.gdprApplies) {
const consentStr = (bidderRequest.gdprConsent.consentString)
? bidderRequest.gdprConsent.consentString.replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '') : '';
Expand Down Expand Up @@ -139,6 +141,10 @@ export const spec = {
case 'adt':
SYNC_URL = 'https://static.cdn.adtarget.biz/adt/sync.html';
break;
case 'yobee':
SYNC_URL = 'https://static.cdn.yobee.it/yobee/sync.html';
break;
case 'admatic':
default:
SYNC_URL = 'https://static.cdn.admatic.com.tr/sync.html';
break;
Expand Down

0 comments on commit 2baacb1

Please sign in to comment.