# Headerbidding
This sub-module sets up and manages headerbidding library [Prebid.js](https://docs.prebid.org/prebid/prebidjs.html) to run a client-side auction, before making a request to an adserver.
Read more at https://docs.prebid.org/prebid/prebidjs.html
Ads from headerbidding are rendered into a new iframe (with -hb-iframe postfix) usually within the same target element. The previous adserver iframe (that delivered just a script instruction to use the HB creative) is simply hidden with CSS. This is called "service creative" ("odbavovacĂ kreativa" in czech)
When adserver responds, we parse the response to see if HB won. In that case we skin catching of custom creatives and run it with a call from within the service creative.
## Service creative examples
### SAS
```html
```
### Demand manager example (iinfo)
```html
```