-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transfer greenbidsId in ATag between RTD and analytics adapter
- Loading branch information
EvgeniiMunin
committed
Jul 1, 2024
1 parent
165c543
commit 58ee63f
Showing
18 changed files
with
349 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
.../java/org/prebid/server/hooks/modules/greenbids/real/time/data/model/AnalyticsResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.prebid.server.hooks.modules.greenbids.real.time.data.model; | ||
|
||
import lombok.Value; | ||
|
||
import java.util.Map; | ||
|
||
@Value(staticConstructor = "of") | ||
public class AnalyticsResult { | ||
|
||
String status; | ||
|
||
Map<String, Object> values; | ||
|
||
String bidder; | ||
|
||
String impId; | ||
} |
13 changes: 13 additions & 0 deletions
13
.../java/org/prebid/server/hooks/modules/greenbids/real/time/data/model/RtdFilterResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.prebid.server.hooks.modules.greenbids.real.time.data.model; | ||
|
||
import lombok.Value; | ||
|
||
import java.util.List; | ||
|
||
@Value(staticConstructor = "of") | ||
public class RtdFilterResult { | ||
|
||
String value; | ||
|
||
List<AnalyticsResult> analyticsResults; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...prebid/server/hooks/modules/greenbids/real/time/data/v1/model/analytics/ActivityImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.prebid.server.hooks.modules.greenbids.real.time.data.v1.model.analytics; | ||
|
||
import lombok.Value; | ||
import lombok.experimental.Accessors; | ||
import org.prebid.server.hooks.v1.analytics.Activity; | ||
import org.prebid.server.hooks.v1.analytics.Result; | ||
|
||
import java.util.List; | ||
|
||
@Accessors(fluent = true) | ||
@Value(staticConstructor = "of") | ||
public class ActivityImpl implements Activity { | ||
|
||
String name; | ||
|
||
String status; | ||
|
||
List<Result> results; | ||
} |
24 changes: 24 additions & 0 deletions
24
...rebid/server/hooks/modules/greenbids/real/time/data/v1/model/analytics/AppliedToImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package org.prebid.server.hooks.modules.greenbids.real.time.data.v1.model.analytics; | ||
|
||
import lombok.Builder; | ||
import lombok.Value; | ||
import lombok.experimental.Accessors; | ||
import org.prebid.server.hooks.v1.analytics.AppliedTo; | ||
|
||
import java.util.List; | ||
|
||
@Accessors(fluent = true) | ||
@Value | ||
@Builder | ||
public class AppliedToImpl implements AppliedTo { | ||
|
||
List<String> impIds; | ||
|
||
List<String> bidders; | ||
|
||
boolean request; | ||
|
||
boolean response; | ||
|
||
List<String> bidIds; | ||
} |
17 changes: 17 additions & 0 deletions
17
...g/prebid/server/hooks/modules/greenbids/real/time/data/v1/model/analytics/ResultImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.prebid.server.hooks.modules.greenbids.real.time.data.v1.model.analytics; | ||
|
||
import com.fasterxml.jackson.databind.node.ObjectNode; | ||
import lombok.Value; | ||
import lombok.experimental.Accessors; | ||
import org.prebid.server.hooks.v1.analytics.AppliedTo; | ||
import org.prebid.server.hooks.v1.analytics.Result; | ||
|
||
@Accessors(fluent = true) | ||
@Value(staticConstructor = "of") | ||
public class ResultImpl implements Result { | ||
String status; | ||
|
||
ObjectNode values; | ||
|
||
AppliedTo appliedTo; | ||
} |
15 changes: 15 additions & 0 deletions
15
...org/prebid/server/hooks/modules/greenbids/real/time/data/v1/model/analytics/TagsImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.prebid.server.hooks.modules.greenbids.real.time.data.v1.model.analytics; | ||
|
||
import lombok.Value; | ||
import lombok.experimental.Accessors; | ||
import org.prebid.server.hooks.v1.analytics.Activity; | ||
import org.prebid.server.hooks.v1.analytics.Tags; | ||
|
||
import java.util.List; | ||
|
||
@Accessors(fluent = true) | ||
@Value(staticConstructor = "of") | ||
public class TagsImpl implements Tags { | ||
|
||
List<Activity> activities; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.