-
Notifications
You must be signed in to change notification settings - Fork 748
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
Rubicon: Use currency conversion function #1924
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,8 +120,6 @@ | |
"w": 1024, | ||
"h": 576 | ||
}, | ||
"bidfloor": 1, | ||
"bidfloorcur": "EuR", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This newly coded There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Gus, guys, please correct me if I'm wrong.
EUR is no longer hardcoded and it uses real currency conversion in
Not sure if it's possible to control it in json tests. BidFloor functionality is covered in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You have described all my thoughts, thanks @VeronikaSolovei9 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct. Thank you @VeronikaSolovei9 |
||
"ext": { | ||
"bidder": { | ||
"video": { | ||
|
@@ -298,8 +296,6 @@ | |
"w": 1024, | ||
"h": 576 | ||
}, | ||
"bidfloor": 1.2, | ||
"bidfloorcur": "USD", | ||
"ext": { | ||
"rp": { | ||
"track": { | ||
|
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.
Is this the only reason why you changed
CurrencyConversions
to public?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.
Actually yes, it there is any better way, for my case? Or everything is fine?
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.
It is fine @snahornyi in the future we plan to improve the JSON testing framework. We also encourage tests to be written in JSON instead of coded in Golang but, for the moment we agree with this approach