Merge pull request #23 from ahmetb/proto-fix
pb: fix style issue in Ads message
This commit is contained in:
commit
c9cd627453
1 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue