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
{{ message }}
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
com.google.protobuf.UninitializedMessageException: Message missing required fields: link
at com.google.protobuf.AbstractMessage$Builder.newUninitializedMessageException(AbstractMessage.java:372)
at com.google.openrtb.OpenRtbNative$NativeResponse$Builder.build(OpenRtbNative.java:14273)
at com.google.openrtb.json.OpenRtbNativeJsonReader.readNativeResponse(OpenRtbNativeJsonReader.java:310)
at com.google.openrtb.json.OpenRtbNativeJsonReader.readNativeResponse(OpenRtbNativeJsonReader.java:303)
The adm value seems to be the problem, expected is {"ver":1, "assets":[...]} and not {"native": {"ver":1, "assets":[...]}}.
If a response is created with the OpenRtb.BidResponse.Builder the native attribute is also not created.
Is that the desired behaviour?
If I understand the OpenRTB Native Ads Specification correctly, there should be a native attribute in the adm JSON. The example Bid Response JSON in the specification also includes the native. Or do I get it wrong?
The text was updated successfully, but these errors were encountered:
This is not the desired behavior, it's a bug, it seems the library never supported the root native field. I think the reason this kind-of-worked before is that the parser would ignore things it didn't understood in the start of the stream, but this won't happen anymore in the current parser which was improved to scan the document more reliably in several ways. But it's a good thing that this uncovered an old bug. Expect a fix and release with this fix early next week...
Hi,
until now I used version 0.8.1 without problems, with all higher versions I get an exception while reading the following native response:
Exception:
The adm value seems to be the problem, expected is
{"ver":1, "assets":[...]}
and not{"native": {"ver":1, "assets":[...]}}
.If a response is created with the OpenRtb.BidResponse.Builder the native attribute is also not created.
Is that the desired behaviour?
If I understand the OpenRTB Native Ads Specification correctly, there should be a native attribute in the adm JSON. The example Bid Response JSON in the specification also includes the native. Or do I get it wrong?
The text was updated successfully, but these errors were encountered: