Merge pull request #23 from ahmetb/proto-fix

pb: fix style issue in Ads message
This commit is contained in:
Ahmet Alp Balkan 2018-08-16 13:44:37 -07:00 committed by GitHub
commit c9cd627453
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,14 +230,13 @@ message AdsRequest {
} }
message AdsResponse { message AdsResponse {
repeated Ads ads = 1; repeated Ad ads = 1;
} }
message Ads { message Ad {
// url to redirect to when an ad is clicked. // url to redirect to when an ad is clicked.
string redirect_url = 1; string redirect_url = 1;
// Optional text to display. // short advertisement text to display.
// Should not be more than 100 characters.
string text = 2; string text = 2;
} }