Skip to content

Commit

Permalink
Add additional parameters to config (#2298)
Browse files Browse the repository at this point in the history
Co-authored-by: Yevhenii Tykhostup <[email protected]>
  • Loading branch information
frstua and Yevhenii Tykhostup authored Sep 17, 2020
1 parent 77ffa39 commit e7c72c8
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions dev-docs/bidders/apstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,29 @@ gvl_id: 394
{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | type |
| :----------- | :--------- | :------------ | :----------------- | :--- |
| `publisherId` | required | Publisher Id will be generated on AP Stream. | '1234' | string |
| `publisherId` | optional* | Publisher Id will be generated on AP Stream. | '1234' | string |
| `code` | optional | Ad code | 'S1_Leaderboard' | string |
| `adunitId` | optional | Ad unit Id | 1234 | integer |
| `endpoint` | optional | Endpoint for custom bidder | 'site.com/v1' | string |
| `test` | optional | Use test endpoint | true | boolean |
| `test` | optional* | Use test endpoint | true | boolean |
| `sendDsu` | optional | Send DSU to bidder (default `true`) | false | boolean |

\* see description below

#

### Bidder config

Here parameters `test` and `publisherId` can be set globally, but will be overrided if set in specific bid.

```
pbjs.setBidderConfig({
bidders: ["apstream"],
config: {
appstream: {
publisherId: '1234
test: true
}
}
});
```

0 comments on commit e7c72c8

Please sign in to comment.