For publishers that would like to display content-relevant ads, you can go to Customize and Download Prebid.js and check Adrelevantis bidder adapter (https://docs.prebid.org/dev-docs/bidders/adrelevantis.html). You can also build from source code. Once you have the code, add the code file to your page (replacing
www.mydomain.com with real domain path).
<script async src="//www.mydomain.com/prebid.js">
Next, if you have a Google Ad Manager account and would like use it to manage your prebid.js header bidding, you can set it up by following this link (https://docs.prebid.org/adops/step-by-step.html). Then, add the following line to your page.
<script async src="//www.googletagservices.com/tag/js/gpt.js">
Now here comes your secret sauce for displaying content-relevant ads. Just add the following line to your page.
The above code parses the page content to identify its IAB Categories and top keywords and sends them to Adrelevantis bidder adapter for matching ads.
This is just a high-level description how Adrelevantis works with Prebid.js and Google Ad Manger to display content-relevant ads. There are still more details. Here is a working example to show how it works. Feel free to explore the source code of the page for the details.
Drop us a line at firstname.lastname@example.org or contact us at https://www.adrelevantis.com/ if you would like to know more.