Closed MasatoraAtarashi closed 1 year ago
According to IAB reference, Source fileld of sua type is integer, but current it is string.
https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md#object--useragent-
https://github.com/bsm/openrtb/blob/56ba587d9d6af6042eafd147add6f058f2e562ab/sua.go#L12
This causes the following error when decoding json
Unmarshal type error: expected=string, got=number, field=device.sua.source, offset=1282
According to IAB reference, Source fileld of sua type is integer, but current it is string.
https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md#object--useragent-
https://github.com/bsm/openrtb/blob/56ba587d9d6af6042eafd147add6f058f2e562ab/sua.go#L12
This causes the following error when decoding json