Last active
July 11, 2017 16:46
-
-
Save priyankcommits/e3181010e6c247eac167a669940d80f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
option optimize_for = SPEED; | |
package stratum; | |
service SFDCService { | |
rpc getCampaigns (Account) returns (Campaigns) {} | |
} | |
message Advertiser { | |
string id = 1; | |
string name = 2; | |
string master_advertiser_id = 3; | |
} | |
message Agency { | |
string id= 1; | |
string name = 2; | |
string master_agency_id = 3; | |
} | |
message MasterServiceAgreement { | |
Business business = 1; | |
Advertiser advertiser = 2; | |
Agency agency = 3; | |
Campaigns campaigns = 4; | |
} | |
message Campaigns { | |
repeated Campaign data = 1; | |
} | |
message Campaign { | |
string id = 1; | |
string name = 2; | |
int64 status = 3; | |
} | |
message ProductLineItems { | |
repeated ProductLineItem data = 1; | |
} | |
message ProductLineItem { | |
string id = 1; | |
string name = 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment