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

New Adapter: Intertech #3718

Merged
merged 22 commits into from
Jan 22, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix comments
  • Loading branch information
przemkaczmarek committed Nov 25, 2024
commit 6f3c68fd35b22759e1e064edbc7ffba33e0e5a31
3 changes: 1 addition & 2 deletions adapters/intertech/intertech.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package intertech

import (
"encoding/json"
"fmt"
"net/http"
"net/url"
@@ -267,7 +266,7 @@ func (a *adapter) MakeBids(request *openrtb2.BidRequest, _ *adapters.RequestData
}

var bidResponse openrtb2.BidResponse
if err := json.Unmarshal(responseData.Body, &bidResponse); err != nil {
if err := jsonutil.Unmarshal(responseData.Body, &bidResponse); err != nil {
return nil, []error{&errortypes.BadServerResponse{
Message: fmt.Sprintf("Bad server response: %d", err),
}}
Loading