From 418f042ffff710e6ec6f7c53df4e8b32a1b8108e Mon Sep 17 00:00:00 2001 From: andrey_ka_97 Date: Fri, 13 Aug 2021 17:33:43 +0300 Subject: [PATCH] update description of AFP adapter --- dev-docs/bidders/afp.md | 173 +++++++++++++++++++++++++++++++ dev-docs/bidders/astraone.md | 191 ----------------------------------- 2 files changed, 173 insertions(+), 191 deletions(-) create mode 100644 dev-docs/bidders/afp.md delete mode 100644 dev-docs/bidders/astraone.md diff --git a/dev-docs/bidders/afp.md b/dev-docs/bidders/afp.md new file mode 100644 index 0000000000..80f8ebf861 --- /dev/null +++ b/dev-docs/bidders/afp.md @@ -0,0 +1,173 @@ +--- +layout: bidder +title: AFP +description: Prebid AFP Bidder Adapter +pbjs: true +media_types: banner, video +biddercode: afp +safeframes_ok: false +--- + +### Note + +You can use this adapter to get a bid from AFP. +Please reach out to your AFP account team before using this plugin to get placeId. +The code below returns a demo ad. + + +### Bid Params + +{: .table .table-bordered .table-striped } +| Name | Scope | Description | Example | Type | +|---------------------|---------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------| +| `placeId` | required | Place id. | '5af45ad34d506ee7acad0c26' | `string` | +| `placeType` | required | Place type. | 'In-image', 'In-image Max', 'In-content Banner', 'In-content Video', 'Out-content Video', 'In-content Stories', 'Action Scroller', 'Action Scroller Light' | `string` | +| `placeContainer` | required (if the frame is not safe) | The container of the place where the ad will be displayed. The css selector is specified as the value. | '#container' | `string` | +| `imageUrl` | required (for 'In-image', 'In-image Max' placeType) | URL of the image on which the banner will be displayed. | 'https://creative.astraone.io/files/default_image-1-600x400.jpg' | `string` | +| `imageWidth` | required (for 'In-image', 'In-image Max' placeType) | Image width. | 600 | `integer` | +| `imageHeight` | required (for 'In-image', 'In-image Max' placeType) | Image height. | 400 | `integer` | + + +### InImage Example page + + +```html + + + + + Prebid.js In-image Example + + + + +

In-image

+
+
+ +
+ +
+ + +``` +### InImage Example page with GPT + +```html + + + + + Prebid.js In-image Example + + + + + +

In-image

+
+
+ +
+
+ +
+
+ + +``` diff --git a/dev-docs/bidders/astraone.md b/dev-docs/bidders/astraone.md deleted file mode 100644 index 4db8f5dc7f..0000000000 --- a/dev-docs/bidders/astraone.md +++ /dev/null @@ -1,191 +0,0 @@ ---- -layout: bidder -title: AstraOne -description: Prebid AstraOne Bidder Adapter -pbjs: true -media_types: banner -biddercode: astraone -gdpr_supported: true ---- - -### Note - -You can use this adapter to get a bid from AstraOne. -Please reach out to your AstraOne account team before using this plugin to get placeId. -The code below returns a demo ad. - - -### Bid Params - -{: .table .table-bordered .table-striped } -| Name | Scope | Description | Example | Type | -|---------------------|---------------------|-------------------------------------------------------------------|-------------------------------------------------------------------------------|----------| -| `placeId` | required | The place id. | '5af45ad34d506ee7acad0c26' | `string` | -| `imageUrl` | required | URL of the image on which the banner will be displayed. | 'https://creative.astraone.io/files/default_image-1-600x400.jpg' | `string` | -| `placement` | required | Adunit placement, possible values: inImage | 'inImage' | `string` | - - -### InImage Example page - - -```html - - - - - Prebid.js Banner Example - - - - - - -

Prebid.js InImage Banner Test

- -
- - -
- - - -``` -### InImage Example page with GPT - -```html - - - - - Prebid.js Banner Example - - - - - - -

Prebid.js InImage Banner Test

- -
- - - -
- - -```