Skip to content

Commit

Permalink
Revert "Ccx Bid Adapter: Add GVLID param (prebid#9359)" (prebid#9363)
Browse files Browse the repository at this point in the history
This reverts commit 7764718.

Co-authored-by: Demetrio Girardi <demetrio.girardi@gmail.com>
  • Loading branch information
2 people authored and jorgeluisrocha committed May 18, 2023
1 parent 9d1163b commit c3e2726
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/ccxBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {getStorageManager} from '../src/storageManager.js';
const BIDDER_CODE = 'ccx'
const storage = getStorageManager({bidderCode: BIDDER_CODE});
const BID_URL = 'https://delivery.clickonometrics.pl/ortb/prebid/bid'
const GVLID = 773;
const SUPPORTED_VIDEO_PROTOCOLS = [2, 3, 5, 6]
const SUPPORTED_VIDEO_MIMES = ['video/mp4', 'video/x-flv']
const SUPPORTED_VIDEO_PLAYBACK_METHODS = [1, 2, 3, 4]
Expand All @@ -20,7 +19,8 @@ function _getDeviceObj () {

function _getSiteObj (bidderRequest) {
let site = {}
let url = bidderRequest?.refererInfo?.page
// TODO: does the fallback to window.location make sense?
let url = bidderRequest?.refererInfo?.page || window.location.href
if (url.length > 0) {
url = url.split('?')[0]
}
Expand Down Expand Up @@ -140,7 +140,6 @@ function _buildResponse (bid, currency, ttl) {

export const spec = {
code: BIDDER_CODE,
gvlid: GVLID,
supportedMediaTypes: ['banner', 'video'],

isBidRequestValid: function (bid) {
Expand Down

0 comments on commit c3e2726

Please sign in to comment.