Skip to content

Commit

Permalink
Playdigo: add user sync (prebid#11939)
Browse files Browse the repository at this point in the history
* init adapter

* add gpp support

* upd

* add userSync
  • Loading branch information
Yanivplaydigo authored and DecayConstant committed Jul 18, 2024
1 parent d65b4f5 commit e2ab416
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/playdigoBidAdapter.js
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);

0 comments on commit e2ab416

Please sign in to comment.