[protobuf] Re: How to update docs?

2019-10-28 Thread schopenhauer zhang
update what? this page has wrong code? i want to get help . you can see my page:https://groups.google.com/forum/#!topic/protobuf/Y1MrMGG_Ic4 在 2019年10月27日星期日 UTC+8上午2:24:16,shayegan hooshyari写道: > > Hi, > I want to update docs for this page: >

[protobuf] Re: Can you Serialize the iframe tag to binary data?

2019-10-28 Thread schopenhauer zhang
python 3.7 proto 2 openrtb 2.5 在 2019年10月28日星期一 UTC+8下午2:53:18,schopenhauer zhang写道: > > > > proto file : > syntax = "proto2"; > option java_outer_classname = "OpenRtb"; > package com.google.openrtb; > message Person { > required string name = 1; &

[protobuf] Can you Serialize the iframe tag to binary data?

2019-10-28 Thread schopenhauer zhang
proto file : syntax = "proto2"; option java_outer_classname = "OpenRtb"; package com.google.openrtb; message Person { required string name = 1; required int32 id = 2; repeated Phone number = 3; } message Phone{ required string id = 5; } person_pb2.py: # -*- coding: utf-8 -*- # Generated

[protobuf] Can you check my protobuf data , I am right ?

2019-10-28 Thread schopenhauer zhang
import person_pb2 import json from google.protobuf import json_format bidResponse = person_pb2.Person() bidResponse.name = "https://play.google.com\;>"" bidResponse.id = 123 bid_resp_bid = bidResponse.number.add() bid_resp_bid.id = 'zhehsi' p1 = bidResponse.SerializeToString() print(p1) ##

[protobuf] the seatbid and bid params from parse the Bid Response protobuf data are array or list (include ‘[]’),but the support team feedback the normal data(parse the Bid Response protobuf data )

2019-10-23 Thread schopenhauer zhang
I use python 3.7 and proto 2.5(openrtb2.0),I set the message from the proto(https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-proto) in the proto file,you can see the seatbid and bid is repeated, both of them are array.but the support team said the seatbid and bid must is