-
Notifications
You must be signed in to change notification settings - Fork 224
New module: optable-targeting #3815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b2cb2bf to
afaae43
Compare
And1sS
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First take ;)
...in/java/org/prebid/server/hooks/modules/optable/targeting/config/OptableTargetingConfig.java
Outdated
Show resolved
Hide resolved
...in/java/org/prebid/server/hooks/modules/optable/targeting/config/OptableTargetingConfig.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/prebid/server/hooks/modules/optable/targeting/model/EnrichmentStatus.java
Outdated
Show resolved
Hide resolved
...able-targeting/src/main/java/org/prebid/server/hooks/modules/optable/targeting/model/Id.java
Outdated
Show resolved
Hide resolved
...ain/java/org/prebid/server/hooks/modules/optable/targeting/v1/net/OptableResponseParser.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge it to your sample config please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't merge them into one sample config because it contains account settings. I need this change to enable AnalyticsTags.
According to the documentation, account settings should be placed in a separate file: Prebid Server Java - Application Settings.
When I try to move the account settings to the sample config file, the account doesn't work.
|
Hi @And1sS, thanks for the first pass. @softcoder594 has addressed the review comments. Could you please take another look? |
…nd account-level settings
ef0f7f2 to
7df560b
Compare
|
Hi guys! 2 new features were added per Bret's suggestion:
Would you mind doing another review pass, please? |
🔧 Type of changes
✨ What's the context?
The optable-targeting module enriches an incoming OpenRTB request by adding to the
user.ext.eidsanduser.ext.dataobjects. Under the hood the module extracts PPIDs (publisher provided IDs) from the incoming request'suser.ext.eids, and also if provided sha256-hashed email, sha256-hashed phone, zip or Optable Visitor ID provided correspondingly in theuser.ext.optable.email,.phone,.zip,.vidfields. These IDs are sent as input to the Targeting API. The received response data is used to enrich the OpenRTB request and response. Targeting API endpoint is configurable per publisher.prebid/prebid.github.io#5931
🧪 Test plan
The documentation PR describes how to run a demo and this PR also contains a sample config and sample request to test. The only thing necessary will be the Optable api endpoint URL to add to the sample configuration of the module.
🏎 Quality check