Learn

← Track B: Client-Side Prebid.js
L2-L3

B3

Bidder adapters and bidder params

In this lesson you will
  • Explain what a bid adapter does.
  • Configure per-bidder params.
  • Understand aliases.

Every SSP speaks its own dialect. PubMatic wants a publisherId and an adSlot; Rubicon wants accountId, siteId, and zoneId. A bid adapter is the translator that turns your generic ad unit into each SSP’s exact request, and back.

You configure each bidder with params, the placement, zone, or site IDs that SSP assigned you. They come from that SSP’s own documentation and account, never from a guess.

bids: [
  { bidder: 'rubicon',  params: { accountId: '7780', siteId: '87184', zoneId: '413290' } },
  { bidder: 'appnexus', params: { placementId: '13144370' } },
]
Different SSPs, different required params

Watch out

You cannot copy one bidder’s params into another. Each SSP’s IDs mean nothing to the others, so a copied param block produces no bids or, worse, requests the wrong inventory.

Aliases

An alias runs the same adapter twice under different names, for example two Rubicon seats with different params. Useful when one SSP represents you through more than one account.

Quick check

You copy Rubicon’s params block into the PubMatic bidder. Why does PubMatic return nothing?

Key idea

Every bidder you wire here should map to an authorized line in the page’s ads.txt. A bidder live in the wrapper but absent from ads.txt is a real leak, exactly what the Inspect tool flags on a live page.

Key concepts
Bid adapterPer-bidder params (placement / zone / site IDs)Aliases
Going deeper

To really lock this in: fill the correct params from a bidder's docs and explain why a copied param block fails for another bidder.

Where this leads
ANALYZE

Each bidder in a Prebid config should map to an authorized line in the publisher ads.txt. Cross-check a config against a Bidcliq Academy audit and flag any bidder with no authorization, a real and common leak. Start from the Prebid analyzer.

Open →
DEBUG

UNAUTHORIZED root-caused to "bidder live in the wrapper but absent from ads.txt."

Open →
Bidcliq Academy · B3: Bidder adapters and bidder params