From c2a90540bcdc5a41e12413f8c1b941804b7cc0ad Mon Sep 17 00:00:00 2001 From: nickluck8 Date: Mon, 14 Jun 2021 14:47:02 +0300 Subject: [PATCH] AdOcean adapter - add support for mobile apps (#1317) --- .../server/bidder/adocean/AdoceanBidder.java | 32 +++++- src/main/resources/bidder-config/adocean.yaml | 1 + .../bidder/adocean/AdoceanBidderTest.java | 100 +++++++++++++++++- .../org/prebid/server/it/AdoceanTest.java | 4 +- .../adocean/test-auction-adocean-request.json | 15 +-- .../test-auction-adocean-response.json | 28 ++--- 6 files changed, 149 insertions(+), 31 deletions(-) diff --git a/src/main/java/org/prebid/server/bidder/adocean/AdoceanBidder.java b/src/main/java/org/prebid/server/bidder/adocean/AdoceanBidder.java index 2a6eb1e4157..633d56fddb8 100644 --- a/src/main/java/org/prebid/server/bidder/adocean/AdoceanBidder.java +++ b/src/main/java/org/prebid/server/bidder/adocean/AdoceanBidder.java @@ -1,6 +1,7 @@ package org.prebid.server.bidder.adocean; import com.fasterxml.jackson.core.type.TypeReference; +import com.iab.openrtb.request.App; import com.iab.openrtb.request.Banner; import com.iab.openrtb.request.BidRequest; import com.iab.openrtb.request.Device; @@ -56,7 +57,7 @@ public class AdoceanBidder implements Bidder { private static final TypeReference> ADOCEAN_EXT_TYPE_REFERENCE = new TypeReference>() { }; - private static final String VERSION = "1.1.0"; + private static final String VERSION = "1.2.0"; private static final int MAX_URI_LENGTH = 8000; private static final String MEASUREMENT_CODE_TEMPLATE = "