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
1 changed files with 3 additions and 4 deletions

View File

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