Skip to content

Commit

Permalink
New bid adapter: Adverxo (#5676)
Browse files Browse the repository at this point in the history
* Init adverxo adapter

* Add missing docs parameter and host as optional parameter

* Add docs for aliases

* Fix markdown table format

* Add new alias

* Add new line at end of files

* Set pbs and pbs_app support to false

Temporarily until the pbs pull request is resolved.

---------

Co-authored-by: Adverxo <[email protected]>
  • Loading branch information
dev-adverxo and Adverxo authored Dec 12, 2024
1 parent 16362b2 commit c87ff52
Show file tree
Hide file tree
Showing 4 changed files with 460 additions and 0 deletions.
115 changes: 115 additions & 0 deletions dev-docs/bidders/adport.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
---
layout: bidder
title: AdPort
description: Prebid AdPort Bidder Adapter
aliasCode: adverxo
pbjs: true
pbs: false
pbs_app_supported: false
biddercode: adport
userIds:
media_types: banner, native, video
schain_supported: true
dchain_supported: false
ortb_blocking_supported: true
floors_supported: true
multiformat_supported: will-bid-on-any
tcfeu_supported: false
dsa_supported: false
gvl_id: none
usp_supported: false
coppa_supported: false
gpp_sids: none
userId: no
safeframes_ok: false
deals_supported: true
fpd_supported: true
prebid_member: false
privacy_sandbox: no
sidebarType: 1
---

### Note

The AdPort Bidding adapter requires setup and approval before beginning. Please reach out to <[email protected]> for
more details.

### Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|----------|----------|-----------------------|---------------------------|----------|
| `adUnitId` | required | Unique identifier for the ad unit in AdPort platform. | `1` | `integer` |
| `auth` | required | Authentication token provided by AdPort platform for the AdUnit. |`'61336e75e414c77c367eq5c47c2599ce80a8032b'` | `string` |

### Setting First Party Data (FPD)

Publishers should use the `ortb2` method of setting First Party Data. The following fields are supported:

- ortb2.site.\*
- ortb2.app.\*
- ortb2.user.\*

Example first party data:

```javascript
pbjs.setConfig({
ortb2: {
site: {
keywords: "kw1,kw2",
content: {
title: "title1",
series: "series1"
}
},
user: {
keywords: "a,b",
gender: "M",
yob: 1984
}
}
});
```

### ORTB Blocking

AdPort supports the next blocking parameters:

- Blocked advertisers list (`badv`) is an array of domains as strings.
- Blocked apps list (`bapp`) is an array of apps names as strings, for mobile apps in Google Play Store, these should be
bundle or package names (e.g. com.foo.mygame). For apps in Apple App Store, these should be a numeric ID.
- Blocked categories list (`bcat`) is an array of IAB categories as strings.
- Blocked attributes list (`battr`) is an array of integers. Refer to section 5.3 of the IAB specification for a list of
attributes.

#### Globally defined ORTB Blocking

```javascript
pbjs.setConfig({
ortb2: {
badv: ["domain1.com", "domain2.com"],
bapp: ["com.foo.mygame", "284708449"],
bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"]
}
});
```

#### ORTB Blocking specific only to the AdPort bidder

```javascript
pbjs.setBidderConfig({
bidders: ['adport'], // Or alias
config: {
ortb2: {
badv: ["domain1.com", "domain2.com"],
bapp: ["com.foo.mygame"],
bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"]
}
}
});
```

#### Media Type defined ORTB Blocking

Additionally `battr` ORTB blocking param may be set on media types to specify blocked creative
attributes. Refer to section 5.3 of the IAB specification for a list of attributes.
115 changes: 115 additions & 0 deletions dev-docs/bidders/adverxo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
---
layout: bidder
title: Adverxo
description: Prebid Adverxo Bidder Adapter
pbjs: true
pbs: true
pbs_app_supported: true
biddercode: adverxo
userIds:
media_types: banner, native, video
schain_supported: true
dchain_supported: false
ortb_blocking_supported: true
floors_supported: true
multiformat_supported: will-bid-on-any
tcfeu_supported: false
dsa_supported: false
gvl_id: none
usp_supported: false
coppa_supported: false
gpp_sids: none
userId: no
safeframes_ok: false
deals_supported: true
fpd_supported: true
prebid_member: false
privacy_sandbox: no
sidebarType: 1
---

### Note

The Adverxo Bidding adapter requires setup and approval before beginning. Please reach out to <[email protected]> for
more details.

### Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|----------|----------|-----------------------|---------------------------|----------|
| `host` | optional | Ad network host | `'js.pbsadverxo.com'` | `string` |
| `adUnitId` | required | Unique identifier for the ad unit in Adverxo platform. | `1` | `integer` |
| `auth` | required | Authentication token provided by Adverxo platform for the AdUnit. | `'61336e75e414c77c367eq5c47c2599ce80a8032b'` | `string` |

### Setting First Party Data (FPD)

Publishers should use the `ortb2` method of setting First Party Data. The following fields are supported:

- ortb2.site.\*
- ortb2.app.\*
- ortb2.user.\*

Example first party data:

```javascript
pbjs.setConfig({
ortb2: {
site: {
keywords: "kw1,kw2",
content: {
title: "title1",
series: "series1"
}
},
user: {
keywords: "a,b",
gender: "M",
yob: 1984
}
}
});
```

### ORTB Blocking

Adverxo supports the next blocking parameters:

- Blocked advertisers list (`badv`) is an array of domains as strings.
- Blocked apps list (`bapp`) is an array of apps names as strings, for mobile apps in Google Play Store, these should be
bundle or package names (e.g. com.foo.mygame). For apps in Apple App Store, these should be a numeric ID.
- Blocked categories list (`bcat`) is an array of IAB categories as strings.
- Blocked attributes list (`battr`) is an array of integers. Refer to section 5.3 of the IAB specification for a list of
attributes.

#### Globally defined ORTB Blocking

```javascript
pbjs.setConfig({
ortb2: {
badv: ["domain1.com", "domain2.com"],
bapp: ["com.foo.mygame", "284708449"],
bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"]
}
});
```

#### ORTB Blocking specific only to the Adverxo bidder

```javascript
pbjs.setBidderConfig({
bidders: ['adverxo'], // Or alias
config: {
ortb2: {
badv: ["domain1.com", "domain2.com"],
bapp: ["com.foo.mygame"],
bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"]
}
}
});
```

#### Media Type defined ORTB Blocking

Additionally `battr` ORTB blocking param may be set on media types to specify blocked creative
attributes. Refer to section 5.3 of the IAB specification for a list of attributes.
115 changes: 115 additions & 0 deletions dev-docs/bidders/bidsmind.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
---
layout: bidder
title: Bidsmind
description: Prebid Bidsmind Bidder Adapter
aliasCode: adverxo
pbjs: true
pbs: false
pbs_app_supported: false
biddercode: bidsmind
userIds:
media_types: banner, native, video
schain_supported: true
dchain_supported: false
ortb_blocking_supported: true
floors_supported: true
multiformat_supported: will-bid-on-any
tcfeu_supported: false
dsa_supported: false
gvl_id: none
usp_supported: false
coppa_supported: false
gpp_sids: none
userId: no
safeframes_ok: false
deals_supported: true
fpd_supported: true
prebid_member: false
privacy_sandbox: no
sidebarType: 1
---

### Note

The Bidsmind Bidding adapter requires setup and approval before beginning. Please reach out to <[email protected]> for
more details.

### Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|----------|----------|-----------------------|---------------------------|----------|
| `adUnitId` | required | Unique identifier for the ad unit in Bidsmind platform. | `1` | `integer` |
| `auth` | required | Authentication token provided by Bidsmind platform for the AdUnit. | `'61336e75e414c77c367eq5c47c2599ce80a8032b'` | `string` |

### Setting First Party Data (FPD)

Publishers should use the `ortb2` method of setting First Party Data. The following fields are supported:

- ortb2.site.\*
- ortb2.app.\*
- ortb2.user.\*

Example first party data:

```javascript
pbjs.setConfig({
ortb2: {
site: {
keywords: "kw1,kw2",
content: {
title: "title1",
series: "series1"
}
},
user: {
keywords: "a,b",
gender: "M",
yob: 1984
}
}
});
```

### ORTB Blocking

Bidsmind supports the next blocking parameters:

- Blocked advertisers list (`badv`) is an array of domains as strings.
- Blocked apps list (`bapp`) is an array of apps names as strings, for mobile apps in Google Play Store, these should be
bundle or package names (e.g. com.foo.mygame). For apps in Apple App Store, these should be a numeric ID.
- Blocked categories list (`bcat`) is an array of IAB categories as strings.
- Blocked attributes list (`battr`) is an array of integers. Refer to section 5.3 of the IAB specification for a list of
attributes.

#### Globally defined ORTB Blocking

```javascript
pbjs.setConfig({
ortb2: {
badv: ["domain1.com", "domain2.com"],
bapp: ["com.foo.mygame", "284708449"],
bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"]
}
});
```

#### ORTB Blocking specific only to the Bidsmind bidder

```javascript
pbjs.setBidderConfig({
bidders: ['bidsmind'], // Or alias
config: {
ortb2: {
badv: ["domain1.com", "domain2.com"],
bapp: ["com.foo.mygame"],
bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"]
}
}
});
```

#### Media Type defined ORTB Blocking

Additionally `battr` ORTB blocking param may be set on media types to specify blocked creative
attributes. Refer to section 5.3 of the IAB specification for a list of attributes.
Loading

0 comments on commit c87ff52

Please sign in to comment.