Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v0 / errors / resource_count_limit_exceeded_error.proto
1 // Copyright 2018 Google LLC.
2 //
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
6 //
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
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.
14 //
15
16 syntax = "proto3";
17
18 package google.ads.googleads.v0.errors;
19
20 option csharp_namespace = "Google.Ads.GoogleAds.V0.Errors";
21 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v0/errors;errors";
22 option java_multiple_files = true;
23 option java_outer_classname = "ResourceCountLimitExceededErrorProto";
24 option java_package = "com.google.ads.googleads.v0.errors";
25 option objc_class_prefix = "GAA";
26 option php_namespace = "Google\\Ads\\GoogleAds\\V0\\Errors";
27 option ruby_package = "Google::Ads::GoogleAds::V0::Errors";
28
29 // Proto file describing resource count limit exceeded errors.
30
31 // Container for enum describing possible resource count limit exceeded errors.
32 message ResourceCountLimitExceededErrorEnum {
33   // Enum describing possible resource count limit exceeded errors.
34   enum ResourceCountLimitExceededError {
35     // Enum unspecified.
36     UNSPECIFIED = 0;
37
38     // The received error code is not known in this version.
39     UNKNOWN = 1;
40
41     // Indicates that this request would exceed the number of allowed resources
42     // for the Google Ads account. The exact resource type and limit being
43     // checked
44     // can be inferred from accountLimitType.
45     ACCOUNT_LIMIT = 2;
46
47     // Indicates that this request would exceed the number of allowed resources
48     // in a Campaign. The exact resource type and limit being checked can be
49     // inferred from accountLimitType, and the numeric id of the
50     // Campaign involved is given by enclosingId.
51     CAMPAIGN_LIMIT = 3;
52
53     // Indicates that this request would exceed the number of allowed resources
54     // in an ad group. The exact resource type and limit being checked can be
55     // inferred from accountLimitType, and the numeric id of the
56     // ad group involved is given by enclosingId.
57     ADGROUP_LIMIT = 4;
58
59     // Indicates that this request would exceed the number of allowed resources
60     // in an ad group ad. The exact resource type and limit being checked can
61     // be inferred from accountLimitType, and the enclosingId
62     // contains the ad group id followed by the ad id, separated by a single
63     // comma (,).
64     AD_GROUP_AD_LIMIT = 5;
65
66     // Indicates that this request would exceed the number of allowed resources
67     // in an ad group criterion. The exact resource type and limit being checked
68     // can be inferred from accountLimitType, and the
69     // enclosingId contains the ad group id followed by the
70     // criterion id, separated by a single comma (,).
71     AD_GROUP_CRITERION_LIMIT = 6;
72
73     // Indicates that this request would exceed the number of allowed resources
74     // in this shared set. The exact resource type and limit being checked can
75     // be inferred from accountLimitType, and the numeric id of the
76     // shared set involved is given by enclosingId.
77     SHARED_SET_LIMIT = 7;
78
79     // Exceeds a limit related to a matching function.
80     MATCHING_FUNCTION_LIMIT = 8;
81
82     // The response for this request would exceed the maximum number of rows
83     // that can be returned.
84     RESPONSE_ROW_LIMIT_EXCEEDED = 9;
85   }
86 }