1// Copyright 2023 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 15syntax = "proto3"; 16 17package google.ads.googleads.v14.errors; 18 19option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; 20option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/errors;errors"; 21option java_multiple_files = true; 22option java_outer_classname = "FeedErrorProto"; 23option java_package = "com.google.ads.googleads.v14.errors"; 24option objc_class_prefix = "GAA"; 25option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; 26option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; 27 28// Proto file describing feed errors. 29 30// Container for enum describing possible feed errors. 31message FeedErrorEnum { 32 // Enum describing possible feed errors. 33 enum FeedError { 34 // Enum unspecified. 35 UNSPECIFIED = 0; 36 37 // The received error code is not known in this version. 38 UNKNOWN = 1; 39 40 // The names of the FeedAttributes must be unique. 41 ATTRIBUTE_NAMES_NOT_UNIQUE = 2; 42 43 // The attribute list must be an exact copy of the existing list if the 44 // attribute ID's are present. 45 ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 3; 46 47 // Cannot specify USER origin for a system generated feed. 48 CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4; 49 50 // Cannot specify GOOGLE origin for a non-system generated feed. 51 CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5; 52 53 // Cannot specify feed attributes for system feed. 54 CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6; 55 56 // Cannot update FeedAttributes on feed with origin GOOGLE. 57 CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7; 58 59 // The given ID refers to a removed Feed. Removed Feeds are immutable. 60 FEED_REMOVED = 8; 61 62 // The origin of the feed is not valid for the client. 63 INVALID_ORIGIN_VALUE = 9; 64 65 // A user can only create and modify feeds with USER origin. 66 FEED_ORIGIN_IS_NOT_USER = 10; 67 68 // Invalid auth token for the given email. 69 INVALID_AUTH_TOKEN_FOR_EMAIL = 11; 70 71 // Invalid email specified. 72 INVALID_EMAIL = 12; 73 74 // Feed name matches that of another active Feed. 75 DUPLICATE_FEED_NAME = 13; 76 77 // Name of feed is not allowed. 78 INVALID_FEED_NAME = 14; 79 80 // Missing OAuthInfo. 81 MISSING_OAUTH_INFO = 15; 82 83 // New FeedAttributes must not affect the unique key. 84 NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16; 85 86 // Too many FeedAttributes for a Feed. 87 TOO_MANY_ATTRIBUTES = 17; 88 89 // The business account is not valid. 90 INVALID_BUSINESS_ACCOUNT = 18; 91 92 // Business account cannot access Business Profile. 93 BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19; 94 95 // Invalid chain ID provided for affiliate location feed. 96 INVALID_AFFILIATE_CHAIN_ID = 20; 97 98 // There is already a feed with the given system feed generation data. 99 DUPLICATE_SYSTEM_FEED = 21; 100 101 // An error occurred accessing Business Profile. 102 GMB_ACCESS_ERROR = 22; 103 104 // A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds. 105 CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23; 106 107 // Feed-based extension is read-only for this extension type. 108 LEGACY_EXTENSION_TYPE_READ_ONLY = 24; 109 } 110} 111