Skip to content

IX: Implement Bidder interface, update endpoint. #1569

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

Merged
merged 5 commits into from
Jan 6, 2021

Conversation

ix-prebid-support
Copy link
Contributor

No description provided.

@robhazan
Copy link
Contributor

robhazan commented Nov 12, 2020

@bsardo and @SyntaxNode - please let us know if anything is required for your review here. We're ready for you guys to merge this into the next release as soon as it's reviewed.

Copy link
Contributor

@SyntaxNode SyntaxNode left a comment

Choose a reason for hiding this comment

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

Thank you very much for updating the IX bid adapter. I'm fine if you'd like to remove the legacy implementation entirely, but please understand publishers still using the legacy endpoint will no longer have access to IX demand.

We plan to remove the legacy endpoint soon-ish. We don't have a definite date yet.

@ix-prebid-support
Copy link
Contributor Author

@SyntaxNode Thank you very much for your review and comments.
One thing we need to agree on: is it okay to write to the log when prebid-server is started with "-v 3"?

One more thing. We've decided to put the legacy adapter code back. Would you prefer it as a separate commit?
Yuri.

@ix-prebid-support
Copy link
Contributor Author

@SyntaxNode We have a deployment freeze until January 4, 2021. Our senior management asked us not to deploy our new adapter code until the freeze is over. Please hold off merging this PR until then. Thank you.

@ix-prebid-support
Copy link
Contributor Author

@SyntaxNode Did you have a chance to review my new commits to see if I've addressed all of your concerns? I understand that with your recent refactoring I'll have to rebase my work, but it'll be mostly mechanical.

Copy link
Contributor

@SyntaxNode SyntaxNode left a comment

Choose a reason for hiding this comment

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

I think it looks great. I commend you on the comprehensive code coverage. I have just a few relatively minor comments.

I would still recommend to return an error if createRequestData fails to be consistent with how you handle setSitePublisherId errors. This will provide the publisher with information about why their impression was dropped.

I'm going to hold off on giving an official approval to ensure this is not merged in before the end of your code freeze, as you requested.

Index Exchange Prebid Team added 4 commits December 21, 2020 17:36
* Remove verbose logging.
* Encapsulate maxRequests.
* Return json.Unmarshal errors.
* Fix the bid response type for the multi-format bid requests.
* Remove legacy leftoover.
@ix-prebid-support
Copy link
Contributor Author

@SyntaxNode Happy New Year! We are ready.

thisImp.Banner.W = &format.W
thisImp.Banner.H = &format.H
if thisImp.Banner != nil {
thisImp.Banner.Format = []openrtb.Format{format}
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for adding the nil check. Although we plan to remove the legacy code later this year, it's nice to fix the "broken windows" until then. In our newer adapters we would ask for the banner object to be shallow copied first due to pointer sharing, but this object is created by MakeOpenRTBGeneric earlier in this adapter so I expect we're fine.

@SyntaxNode
Copy link
Contributor

Looks fantastic. Thank you very much.

Copy link
Collaborator

@bsardo bsardo left a comment

Choose a reason for hiding this comment

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

LGTM

@bsardo bsardo merged commit a709baa into prebid:master Jan 6, 2021
@ix-prebid-support ix-prebid-support deleted the ix-bidder branch January 6, 2021 20:28
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.

4 participants