Skip to content

Commit d73bb30

Browse files
AntoxaAntoxicRitesh Ghodrao
authored andcommitted
Taboola Adapter: Schema Fix (prebid#4148)
1 parent 4e2c719 commit d73bb30

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

src/main/resources/static/bidder-params/taboola.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$schema": "http://json-schema.org/draft-04/schema#",
33
"title": "Taboola Adapter Params",
44
"description": "A schema which validates params accepted by the Taboola adapter",
5+
56
"type": "object",
67
"properties": {
78
"publisherId": {
@@ -11,7 +12,12 @@
1112
"type": "string"
1213
},
1314
"tagid": {
14-
"type": "string"
15+
"type": "string",
16+
"description": "Deprecated, use tagId instead."
17+
},
18+
"tagId": {
19+
"type": "string",
20+
"description": "preferred, will get precedence if both tagId and tagid are defined"
1521
},
1622
"bidfloor": {
1723
"type": "number"
@@ -35,8 +41,12 @@
3541
"type": "integer"
3642
}
3743
},
38-
"required": [
39-
"tagid",
40-
"publisherId"
44+
"oneOf": [
45+
{
46+
"required": [ "tagid", "publisherId" ]
47+
},
48+
{
49+
"required": [ "tagId", "publisherId" ]
50+
}
4151
]
4252
}

0 commit comments

Comments
 (0)