1 // Copyright 2018 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.v0.errors;
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 = "KeywordPlanKeywordErrorProto";
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";
29 // Proto file describing errors from applying a keyword plan keyword or keyword
30 // plan negative keyword.
32 // Container for enum describing possible errors from applying a keyword or a
33 // negative keyword from a keyword plan.
34 message KeywordPlanKeywordErrorEnum {
35 // Enum describing possible errors from applying a keyword plan keyword.
36 enum KeywordPlanKeywordError {
40 // The received error code is not known in this version.
43 // A keyword or negative keyword has invalid match type.
44 INVALID_KEYWORD_MATCH_TYPE = 2;
46 // A keyword or negative keyword with same text and match type already
48 DUPLICATE_KEYWORD = 3;
50 // Keyword or negative keyword text exceeds the allowed limit.
51 KEYWORD_TEXT_TOO_LONG = 4;
53 // Keyword or negative keyword text has invalid characters or symbols.
54 KEYWORD_HAS_INVALID_CHARS = 5;
56 // Keyword or negative keyword text has too many words.
57 KEYWORD_HAS_TOO_MANY_WORDS = 6;
59 // Keyword or negative keyword has invalid text.
60 INVALID_KEYWORD_TEXT = 7;