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

Docs for new Adhese adapter #1063

Merged
merged 3 commits into from
Jan 23, 2019
Merged
Changes from 2 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
59 changes: 59 additions & 0 deletions dev-docs/bidders/adhese.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
layout: bidder
title: Adhese
description: Prebid Adhese Bidder Adaptor
top_nav_section: dev_docs
nav_section: reference
hide: true
biddercode: adhese
biddercode_longer_than_12: false
prebid_1_0_supported: true
media_types: banner, video
gdpr_supported: true
---

### Note
The Adhese bid adapter may require an additional setup from the Adhese team, even for existing Adhese customers. Please reach out to your support team or info@adhese.com for more information.

### bid params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|---------------|----------|--------------------|------------------------------|----------|
| `account` | required | Adhese account name | `'supermedia'` | `string` |
| `location` | required | Adhese location name | `'_supersite_homepage_'` | `string` |
| `format` | required | Adhese format name | `'TopLarge'` | `string` |
| `data` | optional | Custom target data | `{ 'ci': [9000, 9050] }` | `object` |

### Configuration

Adhese supports 'iframe' UserSync configuration only.

For Prebid.js v1.15.0 and later:

```javascript
pbjs.setConfig({
userSync: {
filterSettings: {
iframe: {
bidders: '*', // '*' represents all bidders
filter: 'include'
}
}
}
});
```

For Prebid.js v1.14.0 and before:

```javascript
pbjs.setConfig({
userSync: {
iframeEnabled: true,
enabledBidders: ['adhese']
}});
```

Note: Combine the above the configuration with any other UserSync configuration. Multiple setConfig() calls overwrite each other and only last call for a given attribute will take effect.

<!-- workaround bug where code blocks at end of a file are incorrectly formatted-->