Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / errors / feed_mapping_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 = "FeedMappingErrorProto";
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 feed item errors.
31
32 // Container for enum describing possible feed item errors.
33 message FeedMappingErrorEnum {
34   // Enum describing possible feed item errors.
35   enum FeedMappingError {
36     // Enum unspecified.
37     UNSPECIFIED = 0;
38
39     // The received error code is not known in this version.
40     UNKNOWN = 1;
41
42     // The given placeholder field does not exist.
43     INVALID_PLACEHOLDER_FIELD = 2;
44
45     // The given criterion field does not exist.
46     INVALID_CRITERION_FIELD = 3;
47
48     // The given placeholder type does not exist.
49     INVALID_PLACEHOLDER_TYPE = 4;
50
51     // The given criterion type does not exist.
52     INVALID_CRITERION_TYPE = 5;
53
54     // A feed mapping must contain at least one attribute field mapping.
55     NO_ATTRIBUTE_FIELD_MAPPINGS = 7;
56
57     // The type of the feed attribute referenced in the attribute field mapping
58     // must match the type of the placeholder field.
59     FEED_ATTRIBUTE_TYPE_MISMATCH = 8;
60
61     // A feed mapping for a system generated feed cannot be operated on.
62     CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9;
63
64     // Only one feed mapping for a placeholder type is allowed per feed or
65     // customer (depending on the placeholder type).
66     MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 10;
67
68     // Only one feed mapping for a criterion type is allowed per customer.
69     MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11;
70
71     // Only one feed attribute mapping for a placeholder field is allowed
72     // (depending on the placeholder type).
73     MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12;
74
75     // Only one feed attribute mapping for a criterion field is allowed
76     // (depending on the criterion type).
77     MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13;
78
79     // This feed mapping may not contain any explicit attribute field mappings.
80     UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14;
81
82     // Location placeholder feed mappings can only be created for Places feeds.
83     LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15;
84
85     // Mappings for typed feeds cannot be modified.
86     CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16;
87
88     // The given placeholder type can only be mapped to system generated feeds.
89     INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17;
90
91     // The given placeholder type cannot be mapped to a system generated feed
92     // with the given type.
93     INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18;
94   }
95
96
97 }