Publisher integration

1. Ad tag

Load the tag once per page and add a div per ad unit. Replace AD_UNIT_ID with the ID shown in your dashboard.

<script async src="https://bidtora.io/tag.js"></script>
<div id="bt-AD_UNIT_ID" data-bt-unit="AD_UNIT_ID" data-bt-size="300x250"></div>
  • /The script is async and finds every element with data-bt-unit, including ones present at DOMContentLoaded.
  • /Each unit triggers GET https://bidtora.io/rtb/ad?u=AD_UNIT_ID&p=PAGE_URL — a first-price auction with a ~100 ms timeout.
  • /If a bid at or above your floor wins, an image link or a sandboxed iframe is rendered and the impression beacon fires on render. Otherwise the div stays empty.
  • /Clicks go through https://bidtora.io/rtb/c and redirect to the advertiser landing page.

2. ads.txt

Add this line to https://yourdomain.com/ads.txt. Your publisher ID is shown in the dashboard.

bidtora.io, YOUR_PUBLISHER_ID, DIRECT

See ads.txt explained.

3. sellers.json

BIDTORA publishes bidtora.io/sellers.json, generated from approved publisher accounts. Your seller_id equals your publisher ID and is also sent as site.publisher.id in our OpenRTB bid requests.

{{"version":"1.0","contact_email":"info@bidtora.io","sellers":[{{"seller_id":"YOUR_PUBLISHER_ID","name":"Your Company","domain":"yourdomain.com","seller_type":"PUBLISHER"}}]}}