Skip to content

Yaleo Bid Adapter

yaleoBidAdapter connects Prebid.js to the Yaleo bidder service.

Terminal window
./bazel run //js/apps/yaleo-bidder/server:bin_local

Starts on http://localhost:8080.

To debug yaleoBidAdapter, run Prebid.js locally and point the adapter at the local bidder service:

  1. Clone the Prebid.js repository.

  2. In yaleoBidAdapter.ts, change PREBID_URL to http://localhost:8080/prebid to target the local bidder service.

  3. Start Prebid.js with only the Yaleo adapter:

    Terminal window
    gulp serve --notest --modules=yaleoBidAdapter

    This builds a dev bundle containing only yaleoBidAdapter and starts a server with live reload on port 9999.

  4. In integrationExamples/testBidder/testBidderBannerExample.html, configure the bidder as yaleo with the required params:

    bids: [{
    bidder: 'yaleo',
    params: {
    placementId: 'your-placement-id'
    }
    }]
  5. Open the test page in a browser to exercise bid requests against the adapter: localhost:9999/integrationExamples/testBidder/testBidderBannerExample.html