New Adapter: MediaGo Technology LLC Bid Adapter#4842
Conversation
| default: | ||
| for _, imp := range imps { | ||
| if imp.ID == bid.ImpID { | ||
| if imp.Banner != nil { |
There was a problem hiding this comment.
Consider this as a suggestion. The current implementation follows an anti-pattern, assumes that if there is a multi-format request, the media type defaults to openrtb_ext.BidTypeBanner, nil. Prebid server expects the media type to be explicitly set in the adapter response. Therefore, we strongly recommend implementing a pattern where the adapter server sets the MType field in the response to accurately determine the media type for the impression.
There was a problem hiding this comment.
We do not support the inclusion of both native and banner ads simultaneously
And we give priority to supporting banner
| if imp.Banner != nil { | ||
| return openrtb_ext.BidTypeBanner, nil | ||
| } | ||
| if imp.Native != nil { |
There was a problem hiding this comment.
Consider this as a suggestion. The current implementation follows an anti-pattern, assumes that if there is a multi-format request, the media type defaults to openrtb_ext.BidTypeNative, nil. Prebid server expects the media type to be explicitly set in the adapter response. Therefore, we strongly recommend implementing a pattern where the adapter server sets the MType field in the response to accurately determine the media type for the impression.
There was a problem hiding this comment.
We do not support the inclusion of both native and banner ads simultaneously
And we give priority to supporting banner
Code coverage summaryNote:
mediagoTechnologyRefer here for heat map coverage report |
|
I modified the way of adding the adapter to use an alias. Thank you very much for helping me with the cr |
New Adapter: MediaGo Technology LLC Bid Adapter