Skip to content

Commit

Permalink
return nil result when all impressions fails
Browse files Browse the repository at this point in the history
  • Loading branch information
IncSW committed Dec 19, 2019
1 parent 5427c7b commit 8919520
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions adapters/applogy/applogy.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ func (a *ApplogyAdapter) MakeRequests(request *openrtb.BidRequest, _ *adapters.E
}

request.Imp = impressions

if len(result) == 0 {
return nil, errs
}
return result, errs
}

Expand Down

0 comments on commit 8919520

Please sign in to comment.