> For the complete documentation index, see [llms.txt](https://docs.relevant-digital.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.relevant-digital.com/hb-manager/integrations-and-connections/hbm-and-prebid-server.md).

# HBM and Prebid Server

## What Is Prebid Server, and When Do You Need It

**Prebid Server (PBS)** is an open-source solution — Relevant Digital runs its own Go-based fork — that shifts the work of calling multiple demand partners (SSPs) from the user's browser to a high-performance server. It's the shared engine behind three otherwise-separate integration paths: **AMP** (which has no client-side JavaScript at all), **Mobile App** (the stored-request/resolved-request mechanics covered in Mobile App Integration), and optional **server-to-server** bidding on ordinary web pages.

If you've read either of those sections already, you've been using PBS without a dedicated page for it until now — this section documents the engine itself.

### The three call types (web context)

On a standard web page, you can run Prebid one of three ways:

| Type                  | What happens                                                          | When to use                                                                 |
| --------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| **Client-Side Only**  | Traditional browser-based bidding — every bidder called from the page | The default; no server involvement                                          |
| **Server-Side Only**  | Every configured bidder is called via PBS instead of the browser      | Once you're confident in server-side performance                            |
| **Parallel (Hybrid)** | Both run simultaneously, client and server bids compete               | Recommended for initial testing — lets you compare safely before committing |

### Reported benefits — and the honest caveat

Moving bidder calls server-side can mean: more bidders competing without loading down the browser, faster page speed from fewer HTTP requests, fewer client-side timeouts, and access to demand integrations that only exist server-side.

**None of this is guaranteed automatically.** Actual performance improvement depends on your specific bidder mix, traffic, and page weight — it needs to be verified with A/B testing (the Parallel/Hybrid mode above is exactly how you'd run that test) rather than assumed from the general pitch.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.relevant-digital.com/hb-manager/integrations-and-connections/hbm-and-prebid-server.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
