Skip to content

Commit

Permalink
aliasBidder - added example (#5220)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretg authored Mar 22, 2024
1 parent 1c64442 commit 684ed8a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dev-docs/publisher-api-reference/aliasBidder.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ description:
sidebarType: 1
---


To define an alias for a bidder adapter, call this method at runtime:

```javascript
Expand Down Expand Up @@ -34,4 +33,8 @@ The options object supports these parameters:
Creating an alias for a Prebid Server adapter is done differently. See 'extPrebid'
config in the [`s2sConfig`](/dev-docs/publisher-api-reference/setConfig.html#setConfig-Server-to-Server) object.

<hr class="full-rule" />
For example:

```javascript
pbjs.aliasBidder('bidderA', 'aliasOfBidderA', {gvlid: 9999});
```

0 comments on commit 684ed8a

Please sign in to comment.