You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the function fromOrtbNativeRequest in native.js, img.aspect_ratios is set to an object, but a global search for aspect_ratios in this repository shows that most occurrences are expected to be of type array. Why is aspect_ratios set to an object and not an array in fromOrtbNativeRequest?
The text was updated successfully, but these errors were encountered:
This is what can be found in previous documentation:
Then, in the example, it is an array:
Honestly i don't remember what pushed me to treat as an object. Probably unit tests, or probably the fact that in ORTB you cannot specify multiple aspect ratios...
Type of issue
Question
Description
In the function
fromOrtbNativeRequest
innative.js
,img.aspect_ratios
is set to an object, but a global search foraspect_ratios
in this repository shows that most occurrences are expected to be of type array. Why isaspect_ratios
set to an object and not an array infromOrtbNativeRequest
?The text was updated successfully, but these errors were encountered: