diff --git a/src/main/resources/static/bidder-params/taboola.json b/src/main/resources/static/bidder-params/taboola.json index 25596db2b75..25c126603ab 100644 --- a/src/main/resources/static/bidder-params/taboola.json +++ b/src/main/resources/static/bidder-params/taboola.json @@ -2,6 +2,7 @@ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Taboola Adapter Params", "description": "A schema which validates params accepted by the Taboola adapter", + "type": "object", "properties": { "publisherId": { @@ -11,7 +12,12 @@ "type": "string" }, "tagid": { - "type": "string" + "type": "string", + "description": "Deprecated, use tagId instead." + }, + "tagId": { + "type": "string", + "description": "preferred, will get precedence if both tagId and tagid are defined" }, "bidfloor": { "type": "number" @@ -35,8 +41,12 @@ "type": "integer" } }, - "required": [ - "tagid", - "publisherId" + "oneOf": [ + { + "required": [ "tagid", "publisherId" ] + }, + { + "required": [ "tagId", "publisherId" ] + } ] }