Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / errors / feed_item_target_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 = "FeedItemTargetErrorProto";
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 target errors.
31
32 // Container for enum describing possible feed item target errors.
33 message FeedItemTargetErrorEnum {
34   // Enum describing possible feed item target errors.
35   enum FeedItemTargetError {
36     // Enum unspecified.
37     UNSPECIFIED = 0;
38
39     // The received error code is not known in this version.
40     UNKNOWN = 1;
41
42     // On CREATE, the FeedItemTarget must have a populated field in the oneof
43     // target.
44     MUST_SET_TARGET_ONEOF_ON_CREATE = 2;
45
46     // The specified feed item target already exists, so it cannot be added.
47     FEED_ITEM_TARGET_ALREADY_EXISTS = 3;
48
49     // The schedules for a given feed item cannot overlap.
50     FEED_ITEM_SCHEDULES_CANNOT_OVERLAP = 4;
51
52     // Too many targets of a given type were added for a single feed item.
53     TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE = 5;
54
55     // Too many AdSchedules are enabled for the feed item for the given day.
56     TOO_MANY_SCHEDULES_PER_DAY = 6;
57
58     // A feed item may either have an enabled campaign target or an enabled ad
59     // group target.
60     CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS = 7;
61   }
62
63
64 }