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

Update ix adapter to make multiple bid requests for multiple slots and sizes #725

Merged
merged 4 commits into from
Nov 5, 2018

Conversation

ix-certification
Copy link
Contributor

@ix-certification ix-certification commented Oct 23, 2018

adapters/ix/ix.go Outdated Show resolved Hide resolved
Copy link
Contributor

@dbemiller dbemiller left a comment

Choose a reason for hiding this comment

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

A few things need fixing before we can merge this. Those are in the comments.

As an aside, you may find this code easier to write & maintain if you use the Bidder interface, rather than the legacy Adapter one. The Bidder contract is is much like Prebid.js 1.x adapters, while the Adapter one is a lot like Prebid.js 0.x adapters. There's also documentation for it, and the test code is easier to write too.

See eplanning or rhythmone for examples if you want to go that route. Not required for merge, though, as long as you fix the race condition and unreliable test.

adapters/ix/ix_test.go Outdated Show resolved Hide resolved
adapters/ix/ix.go Show resolved Hide resolved
adapters/ix/ix.go Outdated Show resolved Hide resolved
adapters/ix/ix_test.go Show resolved Hide resolved
adapters/ix/ix_test.go Show resolved Hide resolved
@dbemiller dbemiller merged commit f29e583 into prebid:master Nov 5, 2018
katsuo5 pushed a commit to flux-dev-team/prebid-server-1 that referenced this pull request Dec 1, 2020
…d sizes (prebid#725)

* Update ix adapter to make multiple bid requests for multiple slots and sizes

* Change string typecasting

* fix race condition

* refactor to minimize a race condition on slower machines
katsuo5 pushed a commit to flux-dev-team/prebid-server-1 that referenced this pull request Dec 2, 2020
…d sizes (prebid#725)

* Update ix adapter to make multiple bid requests for multiple slots and sizes

* Change string typecasting

* fix race condition

* refactor to minimize a race condition on slower machines
katsuo5 pushed a commit to flux-dev-team/prebid-server-1 that referenced this pull request Dec 4, 2020
…d sizes (prebid#725)

* Update ix adapter to make multiple bid requests for multiple slots and sizes

* Change string typecasting

* fix race condition

* refactor to minimize a race condition on slower machines
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