diff --git a/src/main/java/org/prebid/server/bidder/adquery/AdQueryBidder.java b/src/main/java/org/prebid/server/bidder/adquery/AdQueryBidder.java index 17a7cb98eef..40416c80db0 100644 --- a/src/main/java/org/prebid/server/bidder/adquery/AdQueryBidder.java +++ b/src/main/java/org/prebid/server/bidder/adquery/AdQueryBidder.java @@ -103,7 +103,7 @@ private HttpRequest createRequest(BidRequest bidRequest, Imp imp private static AdQueryRequest createAdQueryRequest(BidRequest bidRequest, Imp imp, ExtImpAdQuery extImpAdQuery) { final Optional optionalDevice = Optional.ofNullable(bidRequest.getDevice()); return AdQueryRequest.builder() - .v(PREBID_VERSION) + .version(PREBID_VERSION) .placementCode(extImpAdQuery.getPlacementId()) .auctionId(StringUtils.EMPTY) .type(extImpAdQuery.getType()) diff --git a/src/main/java/org/prebid/server/bidder/adquery/model/request/AdQueryRequest.java b/src/main/java/org/prebid/server/bidder/adquery/model/request/AdQueryRequest.java index 625cf8a1cb0..cf548d880cb 100644 --- a/src/main/java/org/prebid/server/bidder/adquery/model/request/AdQueryRequest.java +++ b/src/main/java/org/prebid/server/bidder/adquery/model/request/AdQueryRequest.java @@ -9,7 +9,7 @@ public class AdQueryRequest { @JsonProperty("v") - String v; + String version; @JsonProperty("placementCode") String placementCode; diff --git a/src/test/java/org/prebid/server/bidder/adquery/AdQueryBidderTest.java b/src/test/java/org/prebid/server/bidder/adquery/AdQueryBidderTest.java index dceeb1f53f0..4d32d1da91e 100644 --- a/src/test/java/org/prebid/server/bidder/adquery/AdQueryBidderTest.java +++ b/src/test/java/org/prebid/server/bidder/adquery/AdQueryBidderTest.java @@ -64,7 +64,7 @@ public void makeHttpRequestsShouldCorrectPopulateAdQueryRequest() { assertThat(result.getValue()).hasSize(1) .extracting(HttpRequest::getPayload) .containsExactly(AdQueryRequest.builder() - .v("server") + .version("server") .placementCode("pl1") .auctionId("") .type("6d93f2a0e5f0fe2cc3a6e9e3ade964b43b07f897")