Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cookie information. #3433

Merged
merged 2 commits into from
Feb 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions dev-docs/bidders/adnuntius.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,22 @@ pbjs.setBidderConfig({
});
```

### Disable cookies for adnuntius

You have the option to tell adnuntius not to set cookies in your browser. This does not mean that third party ads being served through the ad server will not set cookies. Just that Adnuintius will not set it for internal ads.

```

pbjs.setBidderConfig({
bidders: ['adnuntius'],
config: {
useCookie: false
}
});
```

Use cookie will always be set to true by default. Changing it to false will disable cookies.

### Prebid Server Test Request

The following test parameters can be used to verify that Prebid Server is working properly with the server-side Adnuntius adapter. the `auId` below will not return a creative. Please substitute it with your own.
Expand Down
65 changes: 65 additions & 0 deletions dev-docs/modules/adnuntiusRtdProvider.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
layout: page_v2
title: Adnuntius Data Segment Module
display_name: Adnuntius Data Segments
description: Adnuntius Data Segments
page_type: module
module_type: rtd
module_code: adnuntiusRtdProvider
enable_download: true
vendor_specific: true
sidebarType: 1
---

# Adnuntius Data Segment Module

## Integration

1. Compile the Adnuntius RTD Module and Adnuntius Bid Adapter into your Prebid build:

```
gulp build --modules="adnuntiusRtdProvider,adnuntiusBidAdapter,..."
```

2. Use `setConfig` to instruct Prebid.js to initilize the adnuntius module, as specified below.

## Configuration

This module is configured as part of the `realTimeData.dataProviders`

```javascript
var pbjs = pbjs || { que: [] }
pbjs.que.push(function () {
pbjs.setConfig({
realTimeData: {
auctionDelay: 300,
dataProviders: [
{
name: 'adnuntius',
waitForIt: true,
params: {
bidders: ['adnuntius'],
providers: [
{
siteId: 'site123',
userId: 'user123',
},
],
},
},
],
},
})
})
```

Syntax details:

{: .table .table-bordered .table-striped }
| Name |Type | Description | Notes |
| :------------ | :------------ | :------------ |:------------ |
| name | String | Real time data module name | Always 'adnuntius' |
| waitForIt | Boolean | Should be `true` if there's an `auctionDelay` defined (optional) | `false` |
| params | Object | | |
| params.bidders | Array | A list of bidders that the module should affect | |
| params.bidders | Array | An array of users users and site ID that to send to Adnuntius data | |