1 // Copyright 2019 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.v1.errors;
20 import "google/api/annotations.proto";
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.
32 // Container for enum describing possible feed errors.
33 message FeedErrorEnum {
34 // Enum describing possible feed errors.
39 // The received error code is not known in this version.
42 // The names of the FeedAttributes must be unique.
43 ATTRIBUTE_NAMES_NOT_UNIQUE = 2;
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;
49 // Cannot specify USER origin for a system generated feed.
50 CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4;
52 // Cannot specify GOOGLE origin for a non-system generated feed.
53 CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5;
55 // Cannot specify feed attributes for system feed.
56 CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6;
58 // Cannot update FeedAttributes on feed with origin GOOGLE.
59 CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7;
61 // The given ID refers to a removed Feed. Removed Feeds are immutable.
64 // The origin of the feed is not valid for the client.
65 INVALID_ORIGIN_VALUE = 9;
67 // A user can only create and modify feeds with USER origin.
68 FEED_ORIGIN_IS_NOT_USER = 10;
70 // Invalid auth token for the given email.
71 INVALID_AUTH_TOKEN_FOR_EMAIL = 11;
73 // Invalid email specified.
76 // Feed name matches that of another active Feed.
77 DUPLICATE_FEED_NAME = 13;
79 // Name of feed is not allowed.
80 INVALID_FEED_NAME = 14;
83 MISSING_OAUTH_INFO = 15;
85 // New FeedAttributes must not affect the unique key.
86 NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16;
88 // Too many FeedAttributes for a Feed.
89 TOO_MANY_ATTRIBUTES = 17;
91 // The business account is not valid.
92 INVALID_BUSINESS_ACCOUNT = 18;
94 // Business account cannot access Google My Business account.
95 BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19;
97 // Invalid chain ID provided for affiliate location feed.
98 INVALID_AFFILIATE_CHAIN_ID = 20;