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 = "AdGroupFeedErrorProto";
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 ad group feed errors.
32 // Container for enum describing possible ad group feed errors.
33 message AdGroupFeedErrorEnum {
34 // Enum describing possible ad group feed errors.
35 enum AdGroupFeedError {
39 // The received error code is not known in this version.
42 // An active feed already exists for this ad group and place holder type.
43 FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2;
45 // The specified feed is removed.
46 CANNOT_CREATE_FOR_REMOVED_FEED = 3;
48 // The AdGroupFeed already exists. UPDATE operation should be used to modify
49 // the existing AdGroupFeed.
50 ADGROUP_FEED_ALREADY_EXISTS = 4;
52 // Cannot operate on removed AdGroupFeed.
53 CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED = 5;
55 // Invalid placeholder type.
56 INVALID_PLACEHOLDER_TYPE = 6;
58 // Feed mapping for this placeholder type does not exist.
59 MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7;
61 // Location AdGroupFeeds cannot be created unless there is a location
62 // CustomerFeed for the specified feed.
63 NO_EXISTING_LOCATION_CUSTOMER_FEED = 8;