Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / errors / extension_setting_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 = "ExtensionSettingErrorProto";
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 extension setting validation errors.
31
32 // Container for enum describing validation errors of extension settings.
33 message ExtensionSettingErrorEnum {
34   // Enum describing possible extension setting errors.
35   enum ExtensionSettingError {
36     // Enum unspecified.
37     UNSPECIFIED = 0;
38
39     // The received error code is not known in this version.
40     UNKNOWN = 1;
41
42     // A platform restriction was provided without input extensions or existing
43     // extensions.
44     EXTENSIONS_REQUIRED = 2;
45
46     // The provided feed type does not correspond to the provided extensions.
47     FEED_TYPE_EXTENSION_TYPE_MISMATCH = 3;
48
49     // The provided feed type cannot be used.
50     INVALID_FEED_TYPE = 4;
51
52     // The provided feed type cannot be used at the customer level.
53     INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING = 5;
54
55     // Cannot change a feed item field on a CREATE operation.
56     CANNOT_CHANGE_FEED_ITEM_ON_CREATE = 6;
57
58     // Cannot update an extension that is not already in this setting.
59     CANNOT_UPDATE_NEWLY_CREATED_EXTENSION = 7;
60
61     // There is no existing AdGroupExtensionSetting for this type.
62     NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE = 8;
63
64     // There is no existing CampaignExtensionSetting for this type.
65     NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE = 9;
66
67     // There is no existing CustomerExtensionSetting for this type.
68     NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE = 10;
69
70     // The AdGroupExtensionSetting already exists. UPDATE should be used to
71     // modify the existing AdGroupExtensionSetting.
72     AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS = 11;
73
74     // The CampaignExtensionSetting already exists. UPDATE should be used to
75     // modify the existing CampaignExtensionSetting.
76     CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS = 12;
77
78     // The CustomerExtensionSetting already exists. UPDATE should be used to
79     // modify the existing CustomerExtensionSetting.
80     CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS = 13;
81
82     // An active ad group feed already exists for this place holder type.
83     AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 14;
84
85     // An active campaign feed already exists for this place holder type.
86     CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 15;
87
88     // An active customer feed already exists for this place holder type.
89     CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 16;
90
91     // Value is not within the accepted range.
92     VALUE_OUT_OF_RANGE = 17;
93
94     // Cannot simultaneously set specified field with final urls.
95     CANNOT_SET_FIELD_WITH_FINAL_URLS = 18;
96
97     // Must set field with final urls.
98     FINAL_URLS_NOT_SET = 19;
99
100     // Phone number for a call extension is invalid.
101     INVALID_PHONE_NUMBER = 20;
102
103     // Phone number for a call extension is not supported for the given country
104     // code.
105     PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 21;
106
107     // A carrier specific number in short format is not allowed for call
108     // extensions.
109     CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 22;
110
111     // Premium rate numbers are not allowed for call extensions.
112     PREMIUM_RATE_NUMBER_NOT_ALLOWED = 23;
113
114     // Phone number type for a call extension is not allowed.
115     DISALLOWED_NUMBER_TYPE = 24;
116
117     // Phone number for a call extension does not meet domestic format
118     // requirements.
119     INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 25;
120
121     // Vanity phone numbers (i.e. those including letters) are not allowed for
122     // call extensions.
123     VANITY_PHONE_NUMBER_NOT_ALLOWED = 26;
124
125     // Country code provided for a call extension is invalid.
126     INVALID_COUNTRY_CODE = 27;
127
128     // Call conversion type id provided for a call extension is invalid.
129     INVALID_CALL_CONVERSION_TYPE_ID = 28;
130
131     // For a call extension, the customer is not whitelisted for call tracking.
132     CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING = 29;
133
134     // Call tracking is not supported for the given country for a call
135     // extension.
136     CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 30;
137
138     // App id provided for an app extension is invalid.
139     INVALID_APP_ID = 31;
140
141     // Quotation marks present in the review text for a review extension.
142     QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 32;
143
144     // Hyphen character present in the review text for a review extension.
145     HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 33;
146
147     // A blacklisted review source name or url was provided for a review
148     // extension.
149     REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE = 34;
150
151     // Review source name should not be found in the review text.
152     SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 35;
153
154     // Field must be set.
155     MISSING_FIELD = 36;
156
157     // Inconsistent currency codes.
158     INCONSISTENT_CURRENCY_CODES = 37;
159
160     // Price extension cannot have duplicated headers.
161     PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 38;
162
163     // Price item cannot have duplicated header and description.
164     PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 39;
165
166     // Price extension has too few items
167     PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 40;
168
169     // Price extension has too many items
170     PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 41;
171
172     // The input value is not currently supported.
173     UNSUPPORTED_VALUE = 42;
174
175     // Unknown or unsupported device preference.
176     INVALID_DEVICE_PREFERENCE = 43;
177
178     // Invalid feed item schedule end time (i.e., endHour = 24 and
179     // endMinute != 0).
180     INVALID_SCHEDULE_END = 45;
181
182     // Date time zone does not match the account's time zone.
183     DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 47;
184
185     // Overlapping feed item schedule times (e.g., 7-10AM and 8-11AM) are not
186     // allowed.
187     OVERLAPPING_SCHEDULES_NOT_ALLOWED = 48;
188
189     // Feed item schedule end time must be after start time.
190     SCHEDULE_END_NOT_AFTER_START = 49;
191
192     // There are too many feed item schedules per day.
193     TOO_MANY_SCHEDULES_PER_DAY = 50;
194
195     // Cannot edit the same extension feed item more than once in the same
196     // request.
197     DUPLICATE_EXTENSION_FEED_ITEM_EDIT = 51;
198
199     // Invalid structured snippet header.
200     INVALID_SNIPPETS_HEADER = 52;
201
202     // Phone number with call tracking enabled is not supported for the
203     // specified country.
204     PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 53;
205
206     // The targeted adgroup must belong to the targeted campaign.
207     CAMPAIGN_TARGETING_MISMATCH = 54;
208
209     // The feed used by the ExtensionSetting is removed and cannot be operated
210     // on. Remove the ExtensionSetting to allow a new one to be created using
211     // an active feed.
212     CANNOT_OPERATE_ON_REMOVED_FEED = 55;
213
214     // The ExtensionFeedItem type is required for this operation.
215     EXTENSION_TYPE_REQUIRED = 56;
216
217     // The matching function that links the extension feed to the customer,
218     // campaign, or ad group is not compatible with the ExtensionSetting
219     // services.
220     INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION = 57;
221
222     // Start date must be before end date.
223     START_DATE_AFTER_END_DATE = 58;
224
225     // Input price is not in a valid format.
226     INVALID_PRICE_FORMAT = 59;
227
228     // The promotion time is invalid.
229     PROMOTION_INVALID_TIME = 60;
230
231     // Cannot set both percent discount and money discount fields.
232     PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT = 61;
233
234     // Cannot set both promotion code and orders over amount fields.
235     PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 62;
236
237     // This field has too many decimal places specified.
238     TOO_MANY_DECIMAL_PLACES_SPECIFIED = 63;
239
240     // The language code is not valid.
241     INVALID_LANGUAGE_CODE = 64;
242
243     // The language is not supported.
244     UNSUPPORTED_LANGUAGE = 65;
245
246     // Customer hasn't consented for call recording, which is required for
247     // adding/updating call extensions.
248     CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 66;
249
250     // The UPDATE operation does not specify any fields other than the resource
251     // name in the update mask.
252     EXTENSION_SETTING_UPDATE_IS_A_NOOP = 67;
253   }
254
255
256 }