Skip to content
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

Implement Outbrain bidder #1229

Merged
merged 4 commits into from
Apr 27, 2021
Merged

Implement Outbrain bidder #1229

merged 4 commits into from
Apr 27, 2021

Conversation

SerhiiNahornyi
Copy link
Collaborator

@SerhiiNahornyi SerhiiNahornyi commented Apr 15, 2021


final Site site = bidRequest.getSite();
final App app = bidRequest.getApp();
if (bidRequest.getSite() != null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use site instead.


private static BidRequest updateBidRequest(BidRequest bidRequest, List<Imp> imps, ExtImpOutbrain extImpOutbrain) {
final BidRequest.BidRequestBuilder bidRequestBuilder = bidRequest.toBuilder();
final ExtImpOutbrainPublisher extImpPublisher = extImpOutbrain.getPublisher();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be inlined.

final App app = bidRequest.getApp();
if (bidRequest.getSite() != null) {
bidRequestBuilder.site(updateSite(site, publisher));
} else if (bidRequest.getApp() != null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use app instead.

Serhii Nahornyi and others added 2 commits April 26, 2021 16:40
# Conflicts:
#	src/test/resources/org/prebid/server/it/test-application.properties
@rpanchyk rpanchyk merged commit 3565ab6 into master Apr 27, 2021
@rpanchyk rpanchyk deleted the outbrain/implementation branch April 27, 2021 10:58
nickluck8 pushed a commit that referenced this pull request Aug 9, 2021
nickluck8 pushed a commit that referenced this pull request Aug 10, 2021
nickluck8 pushed a commit that referenced this pull request Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants