Skip to content

Commit

Permalink
Contentexchange Bid Adapter: add gvlid (#11079)
Browse files Browse the repository at this point in the history
* add contentexchange bid adapter

* fixes

* fix

* fix test

* validate meta

* fix

* add GVLID
  • Loading branch information
contentexchange authored Feb 8, 2024
1 parent cd4717c commit e41a174
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/contentexchangeBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { convertOrtbRequestToProprietaryNative } from '../src/native.js';
const BIDDER_CODE = 'contentexchange';
const AD_URL = 'https://eu2.adnetwork.agency/pbjs';
const SYNC_URL = 'https://sync2.adnetwork.agency';
const GVLID = 864;

function isBidResponseValid (bid) {
if (!bid.requestId || !bid.cpm || !bid.creativeId ||
Expand Down Expand Up @@ -88,6 +89,7 @@ function getBidFloor(bid) {

export const spec = {
code: BIDDER_CODE,
gvlid: GVLID,
supportedMediaTypes: [BANNER, VIDEO, NATIVE],

isBidRequestValid: (bid = {}) => {
Expand Down

0 comments on commit e41a174

Please sign in to comment.