Commit Graph

127 Commits

Author SHA1 Message Date
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
Max Cherry 1138fc1b55 Testdata READMEs 2017-11-13 21:04:18 +02:00
Max Cherry 5f1db59cc1 Native tests 2017-11-13 21:00:08 +02:00
Max Cherry 614f10bf9a More test reorg 2017-11-13 20:59:35 +02:00
Max Cherry a76bf750ca More test cosmetics 2017-11-13 20:38:11 +02:00
Max Cherry ff23110c55 Reorganized tests (refactoring only) 2017-11-13 20:37:40 +02:00
Max Cherry 8408fda57a Test OCD cosmetics 2017-11-13 20:29:54 +02:00
Max Cherry 8fc864bd69 Changed native/response types to conform recommendations from README 2017-11-13 20:27:09 +02:00
Max Cherry e6947c4358 RawJSON copypasted to native subpackages + HEADS UP added (will be replaced with json.RawMessage) 2017-11-13 20:23:55 +02:00
mxmCherry 4a1fc695b5 Merge pull request #18 from dbemiller/help-support-native
Adding native response objects
2017-11-13 20:14:44 +02:00
Dave Bemiller fadacfa33e Added response types. 2017-11-13 11:26:48 -05:00
Max Cherry dacd2db5f6 wip - native 2017-11-10 00:00:34 +02:00
Max Cherry a0ed15f1f8 Val() helper method for nullable enum types 2017-10-26 22:57:52 +03:00
Max Cherry 53a357476a OCD: Ptr helpers: type name comes first 2017-10-19 22:24:13 +03:00
Max Cherry c5f528a8af Instead of PtrENUMTYPE(x) do ENUMTYPE(x).Ptr() 2017-10-19 22:11:51 +03:00
Max Cherry cfec10564b Ptr helpers for enum types 2017-10-19 21:29:06 +03:00
Max Cherry 20dc311b23 Added Ptr{Int8,Uint64} helpers 2017-10-19 21:21:04 +03:00
Max Cherry bf39777550 Bring back omitempty for Banner.{W,H} - they are pointers now 2017-10-19 21:19:10 +03:00
Max Cherry 6956869690 Make Banner.{W,H} pointers 2017-10-19 21:16:46 +03:00