Skip to content

Commit

Permalink
EX-21135 - from CR (#5)
Browse files Browse the repository at this point in the history
* fix: related to markdown lint validation

* fix: from code review

* fix: from code review
  • Loading branch information
giuseppe-exads authored Apr 11, 2024
1 parent e89417d commit 9f1510f
Showing 1 changed file with 3 additions and 83 deletions.
86 changes: 3 additions & 83 deletions dev-docs/bidders/exadsadserver.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ layout: bidder
title: EXADS
description: EXADS Bidder Adapter
pbjs: true
multiformat_supported: will-not-bid
biddercode: exadsadserver
dsa_supported: true
gvl_id: 1084
tcfeu_supported: true
media_types: banner, video, native
gpp_sids: tcfeu
safeframes_ok: false
deals_supported: false
floors_supported: true
Expand Down Expand Up @@ -54,66 +55,12 @@ adUnits = [

### Configuration

#### General settings

Use `setConfig` to instruct Prebid.js to initilize the exadsBidAdapter, as specified below.

* Set "debug" as true if you need to read logs;
* Set "gdprApplies" as true if you need to pass gdpr consent string;
* The tcString is the iabtcf consent string for gdpr;
* Uncomment the cache instruction if you need to configure a cache server (e.g. for instream video)

```js
pbjs.setConfig({
debug: false,
//cache: { url: "https://prebid.adnxs.com/pbc/v1/cache" },
consentManagement: {
gdpr: {
cmpApi: 'static',
timeout: 1000000,
defaultGdprScope: true,
consentData: {
getTCData: {
tcString: consentString,
gdprApplies: false, // set to true to pass the gdpr consent string
},
},
},
},
});
```

##### Video settings
#### Video settings

If you will work with video stream ad formats you could choose to use the prebidJS video module to render the video using already supported video players as videoJS.
Add the `video` config if you need to render videos using the video module.
For more info navigate to <https://docs.prebid.org/prebid-video/video-module.html>.

```js
pbjs.setConfig({
video: {
providers: [
{
divId: 'player', // the id related to the videojs tag in your body
vendorCode: 2, // videojs,
playerConfig: {
params: {
adPluginConfig: {
numRedirects: 10,
},
vendorConfig: {
controls: true,
autoplay: true,
preload: 'auto',
},
},
},
},
],
},
});
```

#### RTB Banner 2.4

{: .table .table-bordered .table-striped }
Expand All @@ -138,15 +85,6 @@ pbjs.setConfig({
| `dsa` | optional | DSA transparency information. To see the specific paragraph for more details. | `{ dsarequired: 3, pubrender: 0, datatopub: 2 }` | `object` |
| `endpoint` | required | EXADS endpoint (URL) | `https://your-ad-network.com/rtb.php` | `string` |

##### DSA

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|---------------|----------|-----------------------|-----------|-----------|
| `dsarequired` | optional | flag to indicate if DSA information should be made available | `3` | `integer` |
| `pubrender` | optional | flag to indicate if the publisher will render the DSA Transparency info | `0` | `integer` |
| `datatopub` | optional | independent of pubrender, the publisher may need the transparency data for audit purposes | `2` | `integer` |

##### RTB Banner 2.4 (Image)

```js
Expand Down Expand Up @@ -267,15 +205,6 @@ adUnits = [
| `protocols` | required | list of supported video bid response protocols | `[3, 6]` | `integer array` |
| `context` | recommended | the video context, either ‘instream’, ‘outstream’. Defaults to ‘instream’ | `'instream'` | `string` |

##### DSA

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|---------------|----------|-----------------------|-----------|-----------|
| `dsarequired` | optional | flag to indicate if DSA information should be made available | `3` | `integer` |
| `pubrender` | optional | flag to indicate if the publisher will render the DSA Transparency info | `0` | `integer` |
| `datatopub` | optional | independent of pubrender, the publisher may need the transparency data for audit purposes | `2` | `integer` |

```js
adUnits = [
{
Expand Down Expand Up @@ -381,15 +310,6 @@ adUnits = [
* **w** - width of the image in pixels, optional (integer)
* **h** - height of the image in pixels, optional (integer)

##### DSA

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|---------------|----------|-----------------------|-----------|-----------|
| `dsarequired` | optional | flag to indicate if DSA information should be made available | `3` | `integer` |
| `pubrender` | optional | flag to indicate if the publisher will render the DSA Transparency info | `0` | `integer` |
| `datatopub` | optional | independent of pubrender, the publisher may need the transparency data for audit purposes | `2` | `integer` |

```js
adUnits = [
{
Expand Down

0 comments on commit 9f1510f

Please sign in to comment.