-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rise Bid Adapters: native and multiformat support (#12653)
* RPRD-1638: Add support for Native media type and multi-format bid requests in `index.js`, Populate the changes on `rise/minutemedia/openweb/shinez/stn/BidAdapter.js`, Update all relevant `***BidAdapter_spec.js`, Update all relevant `***BidAdapter.md`, Keep backwards compatibility, Move `mimes` and `api` determination to VIDEO media type as its only relevant to video. * RPRD-1638: Move all `spec` code duplication to `index.js` and populate across all maintained adapters via `makeBaseSpec` factory function, Move all rise related constants to `constants.js`. * RPRD-1638: Align with seller response. * RPRD-1638: fix cr comments * RPRD-1638: Align tests with native response * circle ci test
- Loading branch information
Showing
17 changed files
with
840 additions
and
495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import {BANNER, NATIVE, VIDEO} from '../../src/mediaTypes.js'; | ||
|
||
const OW_GVLID = 280 | ||
export const SUPPORTED_AD_TYPES = [BANNER, VIDEO, NATIVE]; | ||
export const ADAPTER_VERSION = '7.0.0'; | ||
export const DEFAULT_TTL = 360; | ||
export const DEFAULT_CURRENCY = 'USD'; | ||
export const BASE_URL = 'https://hb.yellowblue.io/'; | ||
export const BIDDER_CODE = 'rise'; | ||
export const DEFAULT_GVLID = 1043; | ||
|
||
export const ALIASES = [ | ||
{ code: 'risexchange', gvlid: DEFAULT_GVLID }, | ||
{ code: 'openwebxchange', gvlid: OW_GVLID } | ||
] | ||
|
||
export const MODES = { | ||
PRODUCTION: 'hb-multi', | ||
TEST: 'hb-multi-test' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.