Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f48cfe5

Browse files
astraone-sspbretg
authored andcommitted
AstraOne: Fixed example in the documentation. (prebid#1683)
* Added documentation for AstraOne Adapter * Added example with GPT in the documentation. * Fixed example in the documentation. Added quotes around string params.
1 parent f347d4e commit f48cfe5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dev-docs/bidders/astraone.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ The code below returns a demo ad.
2020
{: .table .table-bordered .table-striped }
2121
| Name | Scope | Description | Example | Type |
2222
|---------------------|---------------------|-------------------------------------------------------------------|-------------------------------------------------------------------------------|----------|
23-
| `placeId` | required | The place id. | 5af45ad34d506ee7acad0c26 | `string` |
24-
| `imageUrl` | required | URL of the image on which the banner will be displayed. | https://creative.astraone.io/files/default_image-1-600x400.jpg | `string` |
25-
| `placement` | required | Adunit placement, possible values: inImage | inImage | `string` |
23+
| `placeId` | required | The place id. | '5af45ad34d506ee7acad0c26' | `string` |
24+
| `imageUrl` | required | URL of the image on which the banner will be displayed. | 'https://creative.astraone.io/files/default_image-1-600x400.jpg' | `string` |
25+
| `placement` | required | Adunit placement, possible values: inImage | 'inImage' | `string` |
2626

2727

2828
### InImage Example page
@@ -50,7 +50,7 @@ The code below returns a demo ad.
5050
<script>
5151
var adUnits = [{
5252
code: 'test-div',
53-
sizes: [],
53+
sizes: [1, 1],
5454
bids: [{
5555
bidder: "astraone",
5656
params: {
@@ -130,7 +130,7 @@ The code below returns a demo ad.
130130
code: 'div-gpt-ad-1574864639578-0',
131131
mediaTypes: {
132132
banner: {
133-
sizes: [],
133+
sizes: [1, 1],
134134
}
135135
},
136136
bids: [{

0 commit comments

Comments
 (0)