Skip to content

Commit

Permalink
BLIINK Bid Adapter: hotfix gvlid parameter (#10697)
Browse files Browse the repository at this point in the history
Co-authored-by: Samous <samuel@bliink.io>
  • Loading branch information
samous and Samous authored Nov 6, 2023
1 parent a069331 commit c544100
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/bliinkBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { registerBidder } from '../src/adapters/bidderFactory.js'
import { config } from '../src/config.js'
import { _each, deepAccess, deepSetValue, getWindowSelf, getWindowTop } from '../src/utils.js'
export const BIDDER_CODE = 'bliink'
export const GVL_ID = 658
export const BLIINK_ENDPOINT_ENGINE = 'https://engine.bliink.io/prebid'

export const BLIINK_ENDPOINT_COOKIE_SYNC_IFRAME = 'https://tag.bliink.io/usersync.html'
Expand Down Expand Up @@ -343,6 +344,7 @@ const getUserSyncs = (syncOptions, serverResponses, gdprConsent, uspConsent) =>
*/
export const spec = {
code: BIDDER_CODE,
gvlid: GVL_ID,
aliases: aliasBidderCode,
supportedMediaTypes: supportedMediaTypes,
isBidRequestValid,
Expand Down
5 changes: 5 additions & 0 deletions test/spec/modules/bliinkBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
getEffectiveConnectionType,
getUserIds,
getDomLoadingDuration,
GVL_ID,
} from 'modules/bliinkBidAdapter.js';
import { config } from 'src/config.js';

Expand Down Expand Up @@ -1168,3 +1169,7 @@ describe('getEffectiveConnectionType', () => {
});
}
});

it('should expose gvlid', function () {
expect(spec.gvlid).to.equal(GVL_ID);
});

0 comments on commit c544100

Please sign in to comment.