1 // Copyright 2019 Google LLC.
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
7 // http://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
18 package google.ads.googleads.v1.services;
20 import "google/ads/googleads/v1/resources/account_budget.proto";
21 import "google/api/annotations.proto";
23 option csharp_namespace = "Google.Ads.GoogleAds.V1.Services";
24 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v1/services;services";
25 option java_multiple_files = true;
26 option java_outer_classname = "AccountBudgetServiceProto";
27 option java_package = "com.google.ads.googleads.v1.services";
28 option objc_class_prefix = "GAA";
29 option php_namespace = "Google\\Ads\\GoogleAds\\V1\\Services";
30 option ruby_package = "Google::Ads::GoogleAds::V1::Services";
31 // Proto file describing the AccountBudget service.
33 // A service for fetching an account-level budget.
35 // Account-level budgets are mutated by creating proposal resources.
36 service AccountBudgetService {
37 // Returns an account-level budget in full detail.
38 rpc GetAccountBudget(GetAccountBudgetRequest) returns (google.ads.googleads.v1.resources.AccountBudget) {
39 option (google.api.http) = {
40 get: "/v1/{resource_name=customers/*/accountBudgets/*}"
45 // Request message for
46 // [AccountBudgetService.GetAccountBudget][google.ads.googleads.v1.services.AccountBudgetService.GetAccountBudget].
47 message GetAccountBudgetRequest {
48 // The resource name of the account-level budget to fetch.
49 string resource_name = 1;