Skip to content

Instantly share code, notes, and snippets.

@priyankcommits
Last active July 11, 2017 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save priyankcommits/e3181010e6c247eac167a669940d80f0 to your computer and use it in GitHub Desktop.
Save priyankcommits/e3181010e6c247eac167a669940d80f0 to your computer and use it in GitHub Desktop.
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