Hello Fan,
Sure, the string returned in OpenRTB's
BidRequest.id field is a websafe base64-encoded form of the ID returned in the Google protocol. If you added padding and decoded the value, you would receive the equivalent value for the Google protocol. Or alternatively, going in the opposite direction of Google to OpenRTB would involve base64-encoding the value of Google protocol's
BidRequest.id field.
Regards,
Mark
![](https://ci4.googleusercontent.com/proxy/eVyloPymLmWUzMg9q8q-eSVGoDu1UISKG1EDpLLPql4nH6GmnszLNkV95VvaID3s7C3hGmrswcfZhqRlZA8fkFtqBdNsJqaQTZQB-iATanzmcqAa8_uGm0zbEFrgB6Cxkv3V_bLyq10ptr9T-k-4Qg7cJ2W4e9E2scZQqP_rGxqi2LJWom8ns8IG1NMC7Gs=s0-d-e1-ft#https://google-dev-relations.my.salesforce.com/servlet/servlet.ImageServer?oid=00D1U000001174p&esid=0184Q00001NGS1t&from=ext)
ref:_00D1U1174p._5004Q2omWBp:ref