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 = "KeywordPlanErrorProto";
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 keyword plan resources (keyword
30 // plan, keyword plan campaign, keyword plan ad group or keyword plan keyword)
31 // or KeywordPlanService RPC.
33 // Container for enum describing possible errors from applying a keyword plan
34 // resource (keyword plan, keyword plan campaign, keyword plan ad group or
35 // keyword plan keyword) or KeywordPlanService RPC.
36 message KeywordPlanErrorEnum {
37 // Enum describing possible errors from applying a keyword plan.
38 enum KeywordPlanError {
42 // The received error code is not known in this version.
45 // The plan's bid multiplier value is outside the valid range.
46 BID_MULTIPLIER_OUT_OF_RANGE = 2;
48 // The plan's bid value is too high.
51 // The plan's bid value is too low.
54 // The plan's cpc bid is not a multiple of the minimum billable unit.
55 BID_TOO_MANY_FRACTIONAL_DIGITS = 5;
57 // The plan's daily budget value is too low.
58 DAILY_BUDGET_TOO_LOW = 6;
60 // The plan's daily budget is not a multiple of the minimum billable unit.
61 DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS = 7;
63 // The input has an invalid value.
66 // The plan has no keyword.
67 KEYWORD_PLAN_HAS_NO_KEYWORDS = 9;
69 // The plan is not enabled and API cannot provide mutation, forecast or
71 KEYWORD_PLAN_NOT_ENABLED = 10;
73 // The requested plan cannot be found for providing forecast or stats.
74 KEYWORD_PLAN_NOT_FOUND = 11;
76 // The plan is missing a cpc bid.
79 // The plan is missing required forecast_period field.
80 MISSING_FORECAST_PERIOD = 14;
82 // The plan's forecast_period has invalid forecast date range.
83 INVALID_FORECAST_DATE_RANGE = 15;
85 // The plan's name is invalid.