Yaleo Bid Adapter
yaleoBidAdapter connects Prebid.js to the Yaleo bidder service.
Running the Bidder Service
Section titled “Running the Bidder Service”./bazel run //js/apps/yaleo-bidder/server:bin_localStarts on http://localhost:8080.
Debugging the Adapter
Section titled “Debugging the Adapter”To debug yaleoBidAdapter, run Prebid.js locally and point the adapter at the local bidder service:
-
Clone the Prebid.js repository.
-
In
yaleoBidAdapter.ts, changePREBID_URLtohttp://localhost:8080/prebidto target the local bidder service. -
Start Prebid.js with only the Yaleo adapter:
Terminal window gulp serve --notest --modules=yaleoBidAdapterThis builds a dev bundle containing only
yaleoBidAdapterand starts a server with live reload on port 9999. -
In
integrationExamples/testBidder/testBidderBannerExample.html, configure the bidder asyaleowith the required params:bids: [{bidder: 'yaleo',params: {placementId: 'your-placement-id'}}] -
Open the test page in a browser to exercise bid requests against the adapter: localhost:9999/integrationExamples/testBidder/testBidderBannerExample.html