-
Notifications
You must be signed in to change notification settings - Fork 851
New Adapter: Adoppler/ElementaTv #4639
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
base: master
Are you sure you want to change the base?
New Adapter: Adoppler/ElementaTv #4639
Conversation
1)Adoppler adapter now has new name ElementalTv 2)Left support adoppler adapter name 3)Update endpoint url 4)Remove clientId param, as it not used anymore
adapters/elementaltv/elementaltv.go
Outdated
| } | ||
|
|
||
| bidder := &AdopplerAdapter{ | ||
| bidder := &ElementalTvAdapter{ |
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.
You can call this simply "adapter", the ElementalTvAdapter identification is already supplied by the package name. As you have it, referencing your adapter from outside the package would be ElementalTvAdapter.ElementalTvAdapter which looks a little redundant. See example below:
package foo
type adapter struct {
endpoint string
}
func Builder(bidderName openrtb_ext.BidderName, config config.Adapter, server config.Server) (adapters.Bidder, error) {
return &adapter{endpoint: "https://www.foo.com"}, nil
}
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.
FIxed
Code coverage summaryNote:
elementaltvRefer here for heat map coverage report |
1) Code refactor rename ElementalTvAdapter to adapter 2) Add OpenRtb version 2.6
Code coverage summaryNote:
elementaltvRefer here for heat map coverage report |
pavel-ptashyts
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.
Please, review
Code coverage summaryNote:
elementaltvRefer here for heat map coverage report |
Code coverage summaryNote:
elementaltvRefer here for heat map coverage report |
1)Adoppler adapter now has new name ElementalTv
2)Left support adoppler adapter name
3)Update endpoint url
4)Remove clientId param, as it not used anymore