Skip to main content

Header Bidding & Yield

Use Inventory → Header Bidding & Yield to run client-side header bidding alongside your direct campaigns, deals, and OpenRTB demand. Everything on this page is off by default per website — enabling it for one site does not change the others.

What you configure​

Per website:

  • Enable header bidding — when on, the site tag can load your Prebid.js (third-party, integrated with YnoAds) build and run an auction for the slots on the page
  • Prebid.js build URL — HTTPS URL of the Prebid bundle you host or obtain from your Prebid build
  • Auction timeout — how long the browser waits for bidder responses before the tag continues
  • Auction mode — how direct campaigns relate to programmatic bids (see below)
  • Protected priority — direct campaigns at or above this priority always serve when they match (they do not lose a price competition)

Per ad slot:

  • Bidder configs — which Prebid bidders and parameters apply to that slot

Auction modes​

Priority (default)
Deals and matching direct campaigns are considered first. If none fill, OpenRTB and header bids compete on price; the higher bid that clears the floor wins. Ties prefer OpenRTB.

Unified
A selected direct campaign can compete on price with OpenRTB and header bids. It serves only when no programmatic bid beats its offer. Deals, high-priority (protected) campaigns, and flat-fee / CPA campaigns stay protected and still serve when they match.

In both modes, network backfill and house ads remain later fallbacks. See How it works for the full fill order.

ads.txt and sellers.json​

The Header Bidding & Yield page shows:

  • The ads.txt line to authorize YnoAds as a seller for your organization (ynoad.com, <your organization id>, DIRECT)
  • A link to the public sellers.json catalog used in the supply chain

Add the ads.txt line on each website that participates in programmatic or header-bid demand. Sellers.json is also available as a public HTTP endpoint — see the API overview.

Site tag behavior​

On websites with header bidding enabled, https://ynoad.link/tag.js loads Prebid from your configured build URL (when present in tag config), runs one auction for the slots on the page, and sends each slot’s best bid with the ad request. Sites without header bidding are unchanged.

If you need the tag to wait for header-bid config on the first visit (before the site is remembered as an HB site), add optional data-hb="1" on the script tag. Details: Website tag.

Reporting​

Header-bid wins appear in clearing and analytics as a distinct fill source (prebid), separate from server-cleared OpenRTB revenue, because the winning bid is reported by the browser.