From 7bd81d2fedf4aa959d6e2b96fb84cab6103cc968 Mon Sep 17 00:00:00 2001 From: s-shevtsov Date: Wed, 25 Nov 2020 12:53:14 +0300 Subject: [PATCH 1/2] Documentation for Prebid VOX Bidder Adapter --- dev-docs/bidders/vox.md | 251 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 251 insertions(+) create mode 100644 dev-docs/bidders/vox.md diff --git a/dev-docs/bidders/vox.md b/dev-docs/bidders/vox.md new file mode 100644 index 0000000000..f58c258c7b --- /dev/null +++ b/dev-docs/bidders/vox.md @@ -0,0 +1,251 @@ +--- +layout: bidder +title: VOX +description: Prebid VOX Bidder Adapter +pbjs: true +media_types: banner, video +biddercode: vox +gdpr_supported: true +--- + +### Note + +You can use this adapter to get a bid from partners.hybrid.ai +Please reach out to your partners account team before using this plugin to get placementId. + + +### Bid Params + +{: .table .table-bordered .table-striped } +| Name | Scope | Description | Example | Type | +|---------------------|------------------------|-------------------------------------------------------------------|--------------------------------------|----------| +| `placementId` | required | The place id. | '5af45ad34d506ee7acad0c26' | `string` | +| `placement` | required | Adunit placement, possible values: banner, video, inImage | 'banner' | `string` | +| `imageUrl` | required for inImage | URL of the image on which the banner will be displayed | 'https://hybrid.ai/images/image.jpg' | `string` | + + +### Sample Banner Ad Unit + +```js +var adUnits = [{ + code: 'banner_ad_unit', + mediaTypes: { + banner: { + sizes: [[728, 90]] + } + }, + bids: [{ + bidder: "vox", + params: { + placement: "banner", // required + placementId: "5af45ad34d506ee7acad0c26" // required + } + }] +}]; +``` + +### Sample Video Ad Unit + +```js +var adUnits = [{ + code: 'video_ad_unit', + mediaTypes: { + video: { + context: 'outstream', // required, possible values: instream, outstream + playerSize: [[640, 480]] // required + } + }, + bids: [{ + bidder: "vox", + params: { + placement: "video", // required + placementId: "5af45ad34d506ee7acad0c26" // required + } + }] +}]; +``` + +### Sample In-Image Ad Unit + +```js +var adUnits = [{ + code: 'test-div', + mediaTypes: { + banner: { + sizes: [0, 0] + } + }, + bids: [{ + bidder: "vox", + params: { + placement: "inImage", + placementId: "102030405060708090000020", + imageUrl: "https://hybrid.ai/images/image.jpg" + } + }] +}]; +``` + +### Example page with In-Image + +```html + + + + + Prebid.js Banner Example + + + + + +

Prebid.js InImage Banner Test

+
+ + +
+ + +``` + +### Example page with In-Image and GPT + +```html + + + + + Prebid.js Banner Example + + + + + + +

Prebid.js Banner Ad Unit Test

+
+ + +
+ + +``` From ac537e9e855763f0643e577195a972f63cdcdd02 Mon Sep 17 00:00:00 2001 From: s-shevtsov Date: Thu, 26 Nov 2020 10:44:37 +0300 Subject: [PATCH 2/2] Deleted the full HTML examples --- dev-docs/bidders/vox.md | 164 ---------------------------------------- 1 file changed, 164 deletions(-) diff --git a/dev-docs/bidders/vox.md b/dev-docs/bidders/vox.md index f58c258c7b..865484e139 100644 --- a/dev-docs/bidders/vox.md +++ b/dev-docs/bidders/vox.md @@ -85,167 +85,3 @@ var adUnits = [{ }] }]; ``` - -### Example page with In-Image - -```html - - - - - Prebid.js Banner Example - - - - - -

Prebid.js InImage Banner Test

-
- - -
- - -``` - -### Example page with In-Image and GPT - -```html - - - - - Prebid.js Banner Example - - - - - - -

Prebid.js Banner Ad Unit Test

-
- - -
- - -```