This repository has been archived by the owner on Oct 6, 2022. It is now read-only.
Native 1.2, RawJSON -> json.RawMessage, Go 1.8+
Changes since v9.2.0:
- OpenRTB Dynamic Native Ads API Specification Version 1.2 implemented (#21)
- Native enums (Native 1.2/1.1 section 7 Reference Lists/Enumerations + OpenRTB 2.5 section 5.8 Protocols) moved from
native/request.*
andnative/response.*
to top-levelnative.*
(#21) - switched from custom
RawJSON
tojson.RawMessage
(#24)
WARNING: Switching tojson.RawMessage
means, that Ext fields will work properly only with Go 1.8+ (older Go versions marshal non-pointerjson.RawMessage
to base64-encoded string)
Native 1.1 -> 1.2 migration is "back-compatible": fields/enums, that were deprecated/removed in Native 1.2, are kept in this lib (at least till Native 1.3), so this lib still can be used for Native 1.1 integrations.