Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / errors / campaign_criterion_error.proto
1 // Copyright 2019 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.v1.errors;
19
20 import "google/api/annotations.proto";
21
22 option csharp_namespace = "Google.Ads.GoogleAds.V1.Errors";
23 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors";
24 option java_multiple_files = true;
25 option java_outer_classname = "CampaignCriterionErrorProto";
26 option java_package = "com.google.ads.googleads.v1.errors";
27 option objc_class_prefix = "GAA";
28 option php_namespace = "Google\\Ads\\GoogleAds\\V1\\Errors";
29 option ruby_package = "Google::Ads::GoogleAds::V1::Errors";
30 // Proto file describing campaign criterion errors.
31
32 // Container for enum describing possible campaign criterion errors.
33 message CampaignCriterionErrorEnum {
34   // Enum describing possible campaign criterion errors.
35   enum CampaignCriterionError {
36     // Enum unspecified.
37     UNSPECIFIED = 0;
38
39     // The received error code is not known in this version.
40     UNKNOWN = 1;
41
42     // Concrete type of criterion (keyword v.s. placement) is required for
43     // CREATE and UPDATE operations.
44     CONCRETE_TYPE_REQUIRED = 2;
45
46     // Invalid placement URL.
47     INVALID_PLACEMENT_URL = 3;
48
49     // Criteria type can not be excluded for the campaign by the customer. like
50     // AOL account type cannot target site type criteria
51     CANNOT_EXCLUDE_CRITERIA_TYPE = 4;
52
53     // Cannot set the campaign criterion status for this criteria type.
54     CANNOT_SET_STATUS_FOR_CRITERIA_TYPE = 5;
55
56     // Cannot set the campaign criterion status for an excluded criteria.
57     CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA = 6;
58
59     // Cannot target and exclude the same criterion.
60     CANNOT_TARGET_AND_EXCLUDE = 7;
61
62     // The mutate contained too many operations.
63     TOO_MANY_OPERATIONS = 8;
64
65     // This operator cannot be applied to a criterion of this type.
66     OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE = 9;
67
68     // The Shopping campaign sales country is not supported for
69     // ProductSalesChannel targeting.
70     SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL = 10;
71
72     // The existing field can't be updated with CREATE operation. It can be
73     // updated with UPDATE operation only.
74     CANNOT_ADD_EXISTING_FIELD = 11;
75
76     // Negative criteria are immutable, so updates are not allowed.
77     CANNOT_UPDATE_NEGATIVE_CRITERION = 12;
78   }
79
80
81 }