tongzhenredy / openrtb

Automatically exported from code.google.com/p/openrtb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Publisher-Centric API #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This issue is to serve as a reference point for the publisher-centric API 
addition proposal.

Original issue reported on code.google.com by jays...@gmail.com on 2 Mar 2011 at 6:09

GoogleCodeExporter commented 8 years ago

Original comment by jays...@gmail.com on 2 Mar 2011 at 6:10

GoogleCodeExporter commented 8 years ago

Original comment by jays...@gmail.com on 2 Mar 2011 at 6:36

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by js...@pulsepoint.com on 21 Mar 2011 at 4:17

GoogleCodeExporter commented 8 years ago
I think it would be better to define object 
"PublisherPreferences.rules.values", as
-List of strings 
-or have multiple "Values" fields for different types  (ValuesString, 
ValuesInteger)

Only reason is that most high speed json parsers expect fields of fixed type 
(string, integer).

Current example:
"values": ["furniture.com", “carbrand.com”]
"values": [1, 2, 9]

Our suggestion -both solutions
using only strings
"values": ["furniture.com", “carbrand.com”]
"values": ["1", "2", "9"]
or using special field for each fieldtype
"valuesString": ["furniture.com", “carbrand.com”]
"valuesInteger": [1, 2, 9]

Original comment by logar.da...@gmail.com on 21 Jun 2011 at 4:09