> 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/technical/integration/advanced-implementation-patterns.md).

# Advanced Implementation Patterns

Apply advanced integration patterns for auctions, targeting, and rendering.

Use these guides when your HB Manager implementation needs custom auction logic, bidder settings, ad server targeting, or rendering behavior. Each guide covers a focused integration pattern.

### Auction data and targeting

* [Push Google slot information to the Prebid auction](broken://spaces/thyujPhgXh1WtJZy8bjr/pages/afc67ff1bb4a004bfb8622ea1646af356f9ccb7e) — Pass Google Ad Manager slot data to the Prebid auction.
* [Retrieve Prebid and Amazon bid data](broken://spaces/thyujPhgXh1WtJZy8bjr/pages/a5160b26b505c3e12ba8e201dabf5173b6fad23d) — Access bid data from Prebid and Amazon.
* [Add ad server targeting from bid response data](broken://spaces/thyujPhgXh1WtJZy8bjr/pages/3d4592777b8bfd51302742c273ffbc5cf0483597) — Set ad server targeting from bid response values.

### Modify the Prebid auction

* [Remove sizes from the Prebid auction](broken://spaces/thyujPhgXh1WtJZy8bjr/pages/0daf1c643e69c8031a47fd996ba69549b11c11bc) — Exclude selected sizes from an auction.
* [Edit bidder settings for schain and first-party data](broken://spaces/thyujPhgXh1WtJZy8bjr/pages/15ffabb77b540c7069ce428c6445ca7e060a6aef) — Modify bidder settings for supply chain and first-party data.
* [Edit bidder parameters in `pbjs.adUnit`](broken://spaces/thyujPhgXh1WtJZy8bjr/pages/c76db402317f6da06d0728ce165ae22a65bac068) — Update bidder parameters before an auction.
* [Add the GPID to `pbjs.adUnit`](broken://spaces/thyujPhgXh1WtJZy8bjr/pages/f9910d476aeb1d0239d64a7623445d7b613e999f) — Add Global Placement IDs to Prebid ad units.

### Rendering and refresh behavior

* [Implementation and testing guidelines for direct rendering](broken://spaces/thyujPhgXh1WtJZy8bjr/pages/4a4045dc9547bc8b70e24649ce9c1adbbe10ad03) — Implement and test direct rendering.
* [Set Google changeCorrelator in `pubads().refresh()`](broken://spaces/thyujPhgXh1WtJZy8bjr/pages/e3fef6cac9d3a7bf9ae3a58d8bab61a7417fefd6) — Set `changeCorrelator` during Google ad refreshes.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.relevant-digital.com/technical/integration/advanced-implementation-patterns.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
