Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / errors / feed_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 = "FeedErrorProto";
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 errors.
31
32 // Container for enum describing possible feed errors.
33 message FeedErrorEnum {
34   // Enum describing possible feed errors.
35   enum FeedError {
36     // Enum unspecified.
37     UNSPECIFIED = 0;
38
39     // The received error code is not known in this version.
40     UNKNOWN = 1;
41
42     // The names of the FeedAttributes must be unique.
43     ATTRIBUTE_NAMES_NOT_UNIQUE = 2;
44
45     // The attribute list must be an exact copy of the existing list if the
46     // attribute ID's are present.
47     ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 3;
48
49     // Cannot specify USER origin for a system generated feed.
50     CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4;
51
52     // Cannot specify GOOGLE origin for a non-system generated feed.
53     CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5;
54
55     // Cannot specify feed attributes for system feed.
56     CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6;
57
58     // Cannot update FeedAttributes on feed with origin GOOGLE.
59     CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7;
60
61     // The given ID refers to a removed Feed. Removed Feeds are immutable.
62     FEED_REMOVED = 8;
63
64     // The origin of the feed is not valid for the client.
65     INVALID_ORIGIN_VALUE = 9;
66
67     // A user can only create and modify feeds with USER origin.
68     FEED_ORIGIN_IS_NOT_USER = 10;
69
70     // Invalid auth token for the given email.
71     INVALID_AUTH_TOKEN_FOR_EMAIL = 11;
72
73     // Invalid email specified.
74     INVALID_EMAIL = 12;
75
76     // Feed name matches that of another active Feed.
77     DUPLICATE_FEED_NAME = 13;
78
79     // Name of feed is not allowed.
80     INVALID_FEED_NAME = 14;
81
82     // Missing OAuthInfo.
83     MISSING_OAUTH_INFO = 15;
84
85     // New FeedAttributes must not affect the unique key.
86     NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16;
87
88     // Too many FeedAttributes for a Feed.
89     TOO_MANY_ATTRIBUTES = 17;
90
91     // The business account is not valid.
92     INVALID_BUSINESS_ACCOUNT = 18;
93
94     // Business account cannot access Google My Business account.
95     BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19;
96
97     // Invalid chain ID provided for affiliate location feed.
98     INVALID_AFFILIATE_CHAIN_ID = 20;
99   }
100
101
102 }