Skip to content

Commit

Permalink
updated prebid enabled check
Browse files Browse the repository at this point in the history
  • Loading branch information
nealmalkani committed Oct 6, 2020
1 parent 787b5a8 commit 5f40ec1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ If you'd like to include Prebid.js you must include the library before `arcads.j
</script>

```
You can enable Prebid.js on the wrapper by adding a `prebid` object to the wrapper initialization and setting `enabled: true`. You can also optionally pass it a `timeout` value which corresponds in milliseconds how long Prebid.js will wait until it closes out the bidding for the advertisements on the page. By default, the timeout will be set to `700`.
You can enable Prebid.js on the wrapper by adding a `prebid` object to the wrapper initialization and setting `enabled: true`. If `enabled` is `undefined`, `prebid` can still be used by providing a valid `bids` object. You can also optionally pass it a `timeout` value which corresponds in milliseconds how long Prebid.js will wait until it closes out the bidding for the advertisements on the page. By default, the timeout will be set to `700`.

```javascript
const arcAds = new ArcAds({
Expand Down
Loading

0 comments on commit 5f40ec1

Please sign in to comment.