From daca4c4ca5f10806409b5d3b4a14e07f2f259ce7 Mon Sep 17 00:00:00 2001 From: Rob Hazan Date: Mon, 24 Aug 2020 17:12:15 -0400 Subject: [PATCH 1/2] Fix misspelling of "vastxml" --- openrtb_ext/request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openrtb_ext/request.go b/openrtb_ext/request.go index 23daaf0f76e..d6edf47f939 100644 --- a/openrtb_ext/request.go +++ b/openrtb_ext/request.go @@ -67,7 +67,7 @@ func (ert *ExtRequestPrebidCache) UnmarshalJSON(b []byte) error { } if proxy.Bids == nil && proxy.VastXML == nil { - return errors.New(`request.ext.prebid.cache requires one of the "bids" or "vastml" properties`) + return errors.New(`request.ext.prebid.cache requires one of the "bids" or "vastxml" properties`) } *ert = ExtRequestPrebidCache(proxy) From 0e1f00b7d6af32ffaaad72a3ca7448fca77c835b Mon Sep 17 00:00:00 2001 From: Rob Hazan Date: Mon, 24 Aug 2020 17:13:00 -0400 Subject: [PATCH 2/2] Fix misspelling of "vastxml" --- .../openrtb2/sample-requests/invalid-whole/cache-nothing.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/openrtb2/sample-requests/invalid-whole/cache-nothing.json b/endpoints/openrtb2/sample-requests/invalid-whole/cache-nothing.json index d4b875498ae..f256e4eb34c 100644 --- a/endpoints/openrtb2/sample-requests/invalid-whole/cache-nothing.json +++ b/endpoints/openrtb2/sample-requests/invalid-whole/cache-nothing.json @@ -1,5 +1,5 @@ { - "message": "Invalid request: request.ext is invalid: request.ext.prebid.cache requires one of the \"bids\" or \"vastml\" properties\n", + "message": "Invalid request: request.ext is invalid: request.ext.prebid.cache requires one of the \"bids\" or \"vastxml\" properties\n", "requestPayload": { "id": "some-request-id", "site": {