Commit Graph

145 Commits

Author SHA1 Message Date
Max Cherry 1459501aaf move everything from root package to openrtb2/native1 subpackages 2018-12-28 13:58:41 +02:00
mxmCherry 39d0e974b2 README: OCD: sort types by, umm, size 2018-10-12 22:30:35 +03:00
mxmCherry 02394d6d16 Merge pull request #30 from mxmCherry/feature/travis-go-versions
travis: only go 1.8.x and 1.x
2018-10-12 22:28:02 +03:00
mxmCherry 78fcd89d0a Merge pull request #29 from mxmCherry/feature/editorconfig
editorconfig: added basic config
2018-10-12 22:27:53 +03:00
mxmCherry 66527cc9e2 Merge pull request #28 from mxmCherry/guides/pointers-omitempty
README: pointers/omitempty hints/guides
2018-10-12 22:27:43 +03:00
mxmCherry 7600f5c0ae Merge pull request #27 from evgenigourvitch/master
Lmt to be a pointer
2018-10-12 22:27:18 +03:00
Max Cherry e922e4b3bb editorconfig: added basic config 2018-10-12 22:21:17 +03:00
Max Cherry 4eb1d90c21 travis: test only with go 1.8.x (minimal required version) and 1.x (latest stable version) 2018-10-12 22:19:33 +03:00
mxmCherry fab170783d README: pointers/omitempty hints/guides 2018-10-12 22:09:28 +03:00
evgenigourvitch 209df6ddf9 apply the same rule on DNT as for Lmt 2018-10-12 00:26:42 +03:00
evgenigourvitch 5221297992 change Lmt to be ptr to allow passing zero values when needed. 2018-10-11 11:35:37 +03:00
evgenigourvitch 481c25e746 Merge pull request #1 from mxmCherry/master
a
2018-10-11 11:32:23 +03:00
mxmCherry cad7d7ddd1 README: declare Go 1.8+ support only 2018-03-04 20:09:21 +02:00
mxmCherry 089b8f510a travis: support last 3 go versions
1.8 is the minimal required version for `json.RawMessage` to work properly
2018-03-04 19:51:03 +02:00
mxmCherry d32c21234c native/README: added godoc badge 2018-03-04 19:48:22 +02:00
Max Cherry e642f66bd4 Moved native/request.Protocol (copied from openrtb.Protocol) to native.Protocol (for consistency) 2018-03-03 10:09:58 +02:00
Max Cherry ec6a1015f2 Removed TODO - not really needed
Integral types are fine to remain int8/int64/uint64
RawJSON -> json.RawMessage switch is done
Open enums - optional, can be done later if bored
2018-03-03 09:59:20 +02:00
mxmCherry c97c0502f0 Merge pull request #24 from mxmCherry/feature/switch-from-rawjson-to-json-rawmessage
Switch from custom RawJSON to json.RawMessage
2018-03-03 09:53:13 +02:00
Max Cherry fd8bfbb100 Switch from custom RawJSON to json.RawMessage
https://github.com/mxmCherry/openrtb/issues/23
2018-03-03 09:49:12 +02:00
mxmCherry c426d335a3 Merge pull request #21 from mxmCherry/feature/native-1.2
Native 1.2
2018-03-03 09:44:36 +02:00
Max Cherry ef9ec19cb7 Native 1.2: cosmetics - reformatted v1.2 example data for testing 2018-03-03 09:36:51 +02:00
Max Cherry 4197b0fad3 Native 1.2: reviewed response types, fixed some godoc comments 2018-03-03 09:30:20 +02:00
Max Cherry fee2014454 Native 1.2: reviewed request types, fixed some godoc comments 2018-03-03 09:16:39 +02:00
Max Cherry cdd9ddfd9e Native 1.2: change links for Native 1.2 docs - now published on https://www.iab.com/guidelines/real-time-bidding-rtb-project/ 2018-03-03 08:58:20 +02:00
Max Cherry aab54a308b Native 1.2: update docs/links 2018-02-28 09:44:31 +02:00
Max Cherry abd794089f Native 1.2: copied/adapted awful 1.2 examples for tests 2018-02-28 09:36:46 +02:00
Max Cherry bd5e8ad685 Native 1.2: moved all 7.* section types to native.* 2018-02-25 19:24:27 +02:00
Max Cherry 9312418d78 Native 1.2: move common enum types to native.* package, do TODOs 2018-02-25 18:44:20 +02:00
Max Cherry d521c59531 Native 1.2: 5.8 Event Tracker Response Object reviewed 2018-02-25 18:27:17 +02:00
Max Cherry 06fc4a8f51 Native 1.2: 5.7 Link Response Object reviewed 2018-02-25 18:17:03 +02:00
Max Cherry 067fb99bf4 Native 1.2: 5.5 Data Response Object reviewed 2018-02-25 18:15:12 +02:00
Max Cherry dbab22071f Native 1.2: 5.4 Image Response Object reviewed 2018-02-25 18:09:31 +02:00
Max Cherry d61ddf990f Native 1.2: 5.3 Title Response Object reviewed 2018-02-25 18:05:33 +02:00
Max Cherry e7c7bc7b68 Native 1.2: 5.2 Asset Response Object reviewed 2018-02-25 18:03:36 +02:00
Max Cherry 2ac487edb1 Native 1.2: 5.1 Native Markup Response Object reviewed 2018-02-25 18:00:52 +02:00
Max Cherry 2f6127d966 Native 1.2: 4.7 Event Trackers Request Object + related 7.x enums 2018-02-20 19:45:20 +02:00
Max Cherry ce391af8a4 Native 1.2: added forgotten omitempty 2018-02-20 19:28:57 +02:00
Max Cherry a473228d2f Native 1.2: 4.1 Native Markup Request Object reviewed 2018-02-20 19:23:06 +02:00
mxmCherry 3f56f5d84c Merge pull request #19 from mxmCherry/feature/native
Feature/native
2017-11-16 20:48:17 +02:00
Max Cherry 3b32f823ae native/request: ContextSubType comment cosmetics + Marketplace is an AppStore really 2017-11-15 21:10:15 +02:00
Max Cherry 9fc642ef13 native/response: Image.URL is required, so no JSON omitempty 2017-11-15 21:02:26 +02:00
Max Cherry f877ceb9b9 native/request: use copied request.Protocol for request.Video.Protocols 2017-11-15 00:54:12 +02:00
Max Cherry e46c28dbcc native/request: copied openrtb.Protocol enum 2017-11-15 00:52:41 +02:00
Max Cherry dc11d8c852 native/request: enum fixes + Layout enum
- PlacementType made int64 - it is unbound (>500 - exchange-defined)
- added Layout for Request.Layout
2017-11-15 00:49:11 +02:00
Max Cherry 76c6d23eed native/request: actually, let Len be int64 - it is already int64 in openrtb.Content.Len 2017-11-15 00:40:40 +02:00
Max Cherry 9aac16fc8e native/request: type fixes/changes
- Asset.{Title,Img,Video,Data} now use corresponding object types (ptr)
- Data.Len is uint64 now
- Image.{W,WMin,H,HMin} are uint64 now
- removed video.linearity from native fixture
2017-11-15 00:36:34 +02:00
Max Cherry 4036b4c3f2 Godoc native package comments 2017-11-13 21:18:03 +02:00
Max Cherry 456a5afb5e Swapped section names for native request/response 2017-11-13 21:15:13 +02:00
Max Cherry 1f70f62a7a Polish READMEs 2017-11-13 21:13:10 +02:00
Max Cherry c0b583ee30 Need more READMEs!!!11 2017-11-13 21:09:24 +02:00