Flipp: use height value from server response#3940
Conversation
…ds in decisions response (#8) * add compactHeight and standardHeight fields in decision response * modify tests * modify tests * modify tests * modify tests * adding height to expectedBidResponses * final testing * final changes * final changes * final changes
Code coverage summaryNote:
flippRefer here for heat map coverage report |
|
Hi, could I please get two reviews to proceed with this change? Thank you @przemkaczmarek @bsardo @onkarvhanumante @minaguib @dlackty @dmitris @asweeney86 @hhhjort |
|
Hi @przemkaczmarek, I hope you're doing well. Can we get an update on this? |
|
Hello, could I please get another review to proceed with this change? Thank you @bsardo @onkarvhanumante @minaguib @dlackty @dmitris @asweeney86 @hhhjort |
|
Hi @bsardo , I hope you're doing well. Can we get an update on this? |
|
Hi @MishelleBit, we recently released PBS 3.0, more specifically v3.1.0, which updates Prebid Server package import references throughout the project from As a result, please merge with master (no rebase) and then ensure all Prebid Server package import references in the files you’ve changed are |
Code coverage summaryNote:
flippRefer here for heat map coverage report |
Code coverage summaryNote:
flippRefer here for heat map coverage report |
|
Hi @bsardo, done! |
|
Hi @bsardo I hope you're doing well, can we get an update? |
adapters/flipp/flipp.go
Outdated
| } | ||
| bid.H = 0 | ||
| customDataInterface := decision.Contents[0].Data.CustomData | ||
| customDataMap := customDataInterface.(map[string]interface{}) |
There was a problem hiding this comment.
Please add a test case where customdata is a different type to verify this adapter code gracefully handles and error and doesn't panic on an incorrect response.
Code coverage summaryNote:
flippRefer here for heat map coverage report |
|
Thanks @SyntaxNode ! It should handle different types and i've set |
|
Hi @przemkaczmarek can you please reapprove? thank you! |
|
Hi @SyntaxNode can you please reapprove? thank you! |
|
@SyntaxNode Hello, you previously approved can you please re-approve? thank you. |
bsardo
left a comment
There was a problem hiding this comment.
Just one last change and then we're good to go.
adapters/flipp/flipp.go
Outdated
| if err != nil { | ||
| return nil, []error{fmt.Errorf("flipp params not found. %v", err)} | ||
| } | ||
| err = json.Unmarshal(params, &flippExtParams) |
There was a problem hiding this comment.
Please use jsonutil.Unmarshal instead.
7c84694
Code coverage summaryNote:
flippRefer here for heat map coverage report |
Using standardHeight and compactHeight from server response. Modified some tests accordingly as well.