Skip to content

Commit fcf61e7

Browse files
committed
Merge remote-tracking branch 'origin/master' into bidder-configs-fixes
# Conflicts: # src/main/java/org/prebid/server/bidder/mobkoi/MobkoiBidder.java # src/test/java/org/prebid/server/bidder/yandex/YandexBidderTest.java # src/test/java/org/prebid/server/cache/BasicPbcStorageServiceTest.java # src/test/java/org/prebid/server/cache/CoreCacheServiceTest.java # src/test/resources/org/prebid/server/it/test-application.properties
2 parents 5c4edf9 + e3b3f8c commit fcf61e7

164 files changed

Lines changed: 5871 additions & 610 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/scripts/codepath-notification

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ openx|OpenX: prebid@openx.com
2323
medianet|Medianet: prebid@media.net
2424
thetradedesk|TheTradeDesk: Prebid-Maintainers@thetradedesk.com
2525
gumgum|GumGum: prebid@gumgum.com
26+
kargo|Kargo: kraken@kargo.com

extra/bundle/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.prebid</groupId>
77
<artifactId>prebid-server-aggregator</artifactId>
8-
<version>3.33.0-SNAPSHOT</version>
8+
<version>3.35.0-SNAPSHOT</version>
99
<relativePath>../../extra/pom.xml</relativePath>
1010
</parent>
1111

extra/modules/confiant-ad-quality/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.prebid.server.hooks.modules</groupId>
77
<artifactId>all-modules</artifactId>
8-
<version>3.33.0-SNAPSHOT</version>
8+
<version>3.35.0-SNAPSHOT</version>
99
</parent>
1010

1111
<artifactId>confiant-ad-quality</artifactId>

extra/modules/fiftyone-devicedetection/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.prebid.server.hooks.modules</groupId>
77
<artifactId>all-modules</artifactId>
8-
<version>3.33.0-SNAPSHOT</version>
8+
<version>3.35.0-SNAPSHOT</version>
99
</parent>
1010

1111
<artifactId>fiftyone-devicedetection</artifactId>

extra/modules/greenbids-real-time-data/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.prebid.server.hooks.modules</groupId>
66
<artifactId>all-modules</artifactId>
7-
<version>3.33.0-SNAPSHOT</version>
7+
<version>3.35.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>greenbids-real-time-data</artifactId>

extra/modules/live-intent-omni-channel-identity/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.prebid.server.hooks.modules</groupId>
66
<artifactId>all-modules</artifactId>
7-
<version>3.33.0-SNAPSHOT</version>
7+
<version>3.35.0-SNAPSHOT</version>
88
</parent>
99

1010
<artifactId>live-intent-omni-channel-identity</artifactId>

extra/modules/optable-targeting/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.prebid.server.hooks.modules</groupId>
77
<artifactId>all-modules</artifactId>
8-
<version>3.33.0-SNAPSHOT</version>
8+
<version>3.35.0-SNAPSHOT</version>
99
</parent>
1010

1111
<artifactId>optable-targeting</artifactId>

extra/modules/optable-targeting/src/main/java/org/prebid/server/hooks/modules/optable/targeting/model/OptableAttributes.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ public class OptableAttributes {
2020

2121
List<String> ips;
2222

23+
String userAgent;
24+
2325
Long timeout;
2426
}

extra/modules/optable-targeting/src/main/java/org/prebid/server/hooks/modules/optable/targeting/model/config/OptableTargetingProperties.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import lombok.NoArgsConstructor;
66

77
import java.util.Map;
8+
import java.util.Set;
89

910
@Data
1011
@NoArgsConstructor
@@ -31,5 +32,14 @@ public final class OptableTargetingProperties {
3132
@JsonProperty("id-prefix-order")
3233
String idPrefixOrder;
3334

35+
@JsonProperty("optable-inserter-eids-merge")
36+
Set<String> optableInserterEidsMerge = Set.of();
37+
38+
@JsonProperty("optable-inserter-eids-replace")
39+
Set<String> optableInserterEidsReplace = Set.of();
40+
41+
@JsonProperty("optable-inserter-eids-ignore")
42+
Set<String> optableInserterEidsIgnore = Set.of();
43+
3444
CacheProperties cache = new CacheProperties();
3545
}

extra/modules/optable-targeting/src/main/java/org/prebid/server/hooks/modules/optable/targeting/v1/OptableTargetingProcessedAuctionRequestHook.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public Future<InvocationResult<AuctionRequestPayload>> call(AuctionRequestPayloa
8989
.compose(targetingResult -> {
9090
moduleContext.setOptableTargetingExecutionTime(
9191
System.currentTimeMillis() - callTargetingAPITimestamp);
92-
return enrichedPayload(targetingResult, moduleContext);
92+
return enrichedPayload(targetingResult, moduleContext, properties);
9393
})
9494
.recover(throwable -> {
9595
moduleContext.setOptableTargetingExecutionTime(
@@ -143,13 +143,14 @@ private Timeout getHookTimeout(AuctionInvocationContext invocationContext) {
143143
}
144144

145145
private Future<InvocationResult<AuctionRequestPayload>> enrichedPayload(TargetingResult targetingResult,
146-
ModuleContext moduleContext) {
146+
ModuleContext moduleContext,
147+
OptableTargetingProperties properties) {
147148

148149
moduleContext.setTargeting(targetingResult.getAudience());
149150
moduleContext.setEnrichRequestStatus(EnrichmentStatus.success());
150151
return update(
151152
BidRequestCleaner.instance()
152-
.andThen(BidRequestEnricher.of(targetingResult))
153+
.andThen(BidRequestEnricher.of(targetingResult, properties))
153154
::apply,
154155
moduleContext);
155156
}

0 commit comments

Comments
 (0)