Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nativo Bid Adapter: Define GVLID #7432

Merged
merged 2 commits into from
Sep 16, 2021
Merged
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
21 changes: 12 additions & 9 deletions modules/nativoBidAdapter.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
import * as utils from '../src/utils.js'
import { registerBidder } from '../src/adapters/bidderFactory.js'
import { BANNER } from '../src/mediaTypes.js'
import * as utils from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER } from '../src/mediaTypes.js';
// import { config } from 'src/config'

const BIDDER_CODE = 'nativo'
const BIDDER_ENDPOINT = 'https://exchange.postrelease.com/prebid'
const BIDDER_CODE = 'nativo';
const BIDDER_ENDPOINT = 'https://exchange.postrelease.com/prebid';

const TIME_TO_LIVE = 360
const GVLID = 263;

const SUPPORTED_AD_TYPES = [BANNER]
const TIME_TO_LIVE = 360;

const bidRequestMap = {}
const adUnitsRequested = {}
const SUPPORTED_AD_TYPES = [BANNER];

const bidRequestMap = {};
const adUnitsRequested = {};

// Prebid adapter referrence doc: https://docs.prebid.org/dev-docs/bidder-adaptor.html

export const spec = {
code: BIDDER_CODE,
gvlid: GVLID,
aliases: ['ntv'], // short code
supportedMediaTypes: SUPPORTED_AD_TYPES,

Expand Down