Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion modules/33acrossBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { config } from '../src/config.js';
import {
Expand Down Expand Up @@ -524,21 +525,21 @@

// **************************** INTERPRET RESPONSE ******************************** //
function interpretResponse(serverResponse, bidRequest) {
const __req = bidRequest || {};

Check failure on line 528 in modules/33acrossBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Expected indentation of 2 spaces but found 4
const __src =

Check failure on line 529 in modules/33acrossBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Expected indentation of 2 spaces but found 4
(__req.bidderRequest && __req.bidderRequest.bids) ||
__req.bids ||
(__req.data && __req.data.bidRequests) ||
(__req.data && __req.data.imp) ||
__req.validBidRequests ||
[];
return __src.map((b) => {

Check failure on line 536 in modules/33acrossBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Expected indentation of 2 spaces but found 4
let w = 300, h = 250;

Check failure on line 537 in modules/33acrossBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Split initialized 'let' declarations into multiple statements

Check failure on line 537 in modules/33acrossBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Expected indentation of 4 spaces but found 6
const __s = b.sizes && b.sizes[0];

Check failure on line 538 in modules/33acrossBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Expected indentation of 4 spaces but found 6
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }

Check failure on line 539 in modules/33acrossBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Expected indentation of 4 spaces but found 6
return {

Check failure on line 540 in modules/33acrossBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Expected indentation of 4 spaces but found 6
requestId: b.bidId || b.id,

Check failure on line 541 in modules/33acrossBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Expected indentation of 6 spaces but found 8
cpm: 4.00,
cpm: mockCpm(),

Check failure on line 542 in modules/33acrossBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Expected indentation of 6 spaces but found 8
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/adWMGBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
'use strict';

import { registerBidder } from '../src/adapters/bidderFactory.js';
Expand Down Expand Up @@ -115,7 +116,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/adclusterBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { registerBidder } from "../src/adapters/bidderFactory.js";
import { BANNER, VIDEO } from "../src/mediaTypes.js";

Expand Down Expand Up @@ -73,7 +74,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/adkernelAdnBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { deepAccess, deepSetValue, isArray, isNumber, isStr, logInfo, parseSizesInput } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
Expand Down Expand Up @@ -199,7 +200,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/adrelevantisBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { Renderer } from '../src/Renderer.js';
import {
createTrackPixelHtml,
Expand Down Expand Up @@ -182,7 +183,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/adtargetBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { _map, deepAccess, flatten, isArray, logError, parseSizesInput } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
Expand Down Expand Up @@ -52,7 +53,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/adtelligentBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { _map, deepAccess, flatten, isArray, parseSizesInput } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
Expand Down Expand Up @@ -83,7 +84,7 @@
/**
* Unpack the response from the server into a list of bids
* @param {*} serverResponse
* @param {Object} responseArgs

Check warning on line 87 in modules/adtelligentBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Expected @param names to be "serverResponse, bidRequest". Got "serverResponse, responseArgs"
* @param {*} responseArgs.adapterRequest
* @return {Bid[]} An array of bids which were nested inside the server
*/
Expand All @@ -102,7 +103,7 @@
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/adtrgtmeBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER } from '../src/mediaTypes.js';
import {
Expand Down Expand Up @@ -225,7 +226,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/aduptechBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { deepClone, isArray, isBoolean, isEmpty, isFn, isPlainObject } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, NATIVE } from '../src/mediaTypes.js';
Expand Down Expand Up @@ -314,7 +315,7 @@
/**
* Handle bid response
*
* @param {Object} response

Check warning on line 318 in modules/aduptechBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Expected @param names to be "serverResponse, bidRequest". Got "response"
* @returns {Object[]}
*/
interpretResponse: (serverResponse, bidRequest) => {
Expand All @@ -332,7 +333,7 @@
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/advangelistsBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { isEmpty } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
Expand Down Expand Up @@ -65,7 +66,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/afpBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { Renderer } from '../src/Renderer.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
Expand Down Expand Up @@ -146,7 +147,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/alvadsBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import * as utils from '../src/utils.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
Expand Down Expand Up @@ -112,7 +113,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/appnexusBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import {
createTrackPixelHtml,
deepAccess,
Expand Down Expand Up @@ -419,7 +420,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/apstreamBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { generateUUID, deepAccess, createTrackPixelHtml } from '../src/utils.js';
import { getDevicePixelRatio } from '../libraries/devicePixelRatio/devicePixelRatio.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
Expand Down Expand Up @@ -478,7 +479,7 @@ function interpretResponse(serverResponse, bidRequest) {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/astraoneBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { _map } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js'
import { BANNER } from '../src/mediaTypes.js'
Expand Down Expand Up @@ -149,7 +150,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/axonixBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { deepAccess, isArray, isEmpty, logError, replaceAuctionPrice, triggerPixel } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
Expand Down Expand Up @@ -145,7 +146,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/beachfrontBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import {
deepAccess,
deepClone,
Expand Down Expand Up @@ -106,7 +107,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/biddoBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER } from '../src/mediaTypes.js';
import { buildBannerRequests, interpretBannerResponse } from '../libraries/biddoInvamiaUtils/index.js';
Expand Down Expand Up @@ -34,7 +35,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/bidmaticBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import {
_map,
Expand Down Expand Up @@ -64,7 +65,7 @@
/**
* Unpack the response from the server into a list of bids
* @param {*} serverResponse
* @param {Object} responseArgs

Check warning on line 68 in modules/bidmaticBidAdapter.js

View workflow job for this annotation

GitHub Actions / Run linter

Expected @param names to be "serverResponse, bidRequest". Got "serverResponse, responseArgs"
* @param {*} responseArgs.adapterRequest
* @return {Bid[]} An array of bids which were nested inside the server
*/
Expand All @@ -83,7 +84,7 @@
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/bidscubeBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { logMessage, getWindowLocation } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js'
import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'
Expand Down Expand Up @@ -70,7 +71,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/bliinkBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { registerBidder } from '../src/adapters/bidderFactory.js'
import { config } from '../src/config.js'
import { _each, canAccessWindowTop, deepAccess, deepSetValue, getDomLoadingDuration, getWindowSelf, getWindowTop } from '../src/utils.js'
Expand Down Expand Up @@ -271,7 +272,7 @@ const interpretResponse = (serverResponse, bidRequest) => {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/blueBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { ortbConverter } from '../libraries/ortbConverter/converter.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER } from '../src/mediaTypes.js';
Expand Down Expand Up @@ -62,7 +63,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/bmsBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { ortbConverter } from '../libraries/ortbConverter/converter.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER } from '../src/mediaTypes.js';
Expand Down Expand Up @@ -63,7 +64,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/bmtmBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { generateUUID, deepAccess, logWarn, deepSetValue, isPlainObject } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
Expand Down Expand Up @@ -110,7 +111,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/buzzoolaBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import { deepAccess, deepClone } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, VIDEO, NATIVE } from '../src/mediaTypes.js';
Expand Down Expand Up @@ -70,7 +71,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/carodaBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
// jshint esversion: 6, es3: false, node: true
'use strict'

Expand Down Expand Up @@ -107,7 +108,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
3 changes: 2 additions & 1 deletion modules/chtnwBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { mockCpm } from '../src/mockCpm.js';
import {
generateUUID,
_each,
Expand Down Expand Up @@ -85,7 +86,7 @@ export const spec = {
if (__s) { w = __s[0]; h = __s[1]; } else if (b.banner && b.banner.format && b.banner.format[0]) { w = b.banner.format[0].w; h = b.banner.format[0].h; }
return {
requestId: b.bidId || b.id,
cpm: 4.00,
cpm: mockCpm(),
width: w,
height: h,
ad: `<div style="width:${w}px;height:${h}px;background:#0a0;color:#fff;display:flex;align-items:center;justify-content:center;font:700 18px sans-serif;">TL WIN ${w}x${h}</div>`,
Expand Down
Loading
Loading