forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Playdigo: add user sync (prebid#11939)
* init adapter * add gpp support * upd * add userSync
- Loading branch information
1 parent
d65b4f5
commit e2ab416
Showing
1 changed file
with
4 additions
and
2 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 |
---|---|---|
@@ -1,17 +1,19 @@ | ||
import { registerBidder } from '../src/adapters/bidderFactory.js'; | ||
import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; | ||
import { isBidRequestValid, buildRequests, interpretResponse } from '../libraries/teqblazeUtils/bidderUtils.js'; | ||
import { isBidRequestValid, buildRequests, interpretResponse, getUserSyncs } from '../libraries/teqblazeUtils/bidderUtils.js'; | ||
|
||
const BIDDER_CODE = 'playdigo'; | ||
const AD_URL = 'https://server.playdigo.com/pbjs'; | ||
const SYNC_URL = 'https://cs.playdigo.com'; | ||
|
||
export const spec = { | ||
code: BIDDER_CODE, | ||
supportedMediaTypes: [BANNER, VIDEO, NATIVE], | ||
|
||
isBidRequestValid: isBidRequestValid(), | ||
buildRequests: buildRequests(AD_URL), | ||
interpretResponse | ||
interpretResponse, | ||
getUserSyncs: getUserSyncs(SYNC_URL) | ||
}; | ||
|
||
registerBidder(spec); |