Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v0 / errors / ad_error.proto
1 // Copyright 2018 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.v0.errors;
19
20 option csharp_namespace = "Google.Ads.GoogleAds.V0.Errors";
21 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v0/errors;errors";
22 option java_multiple_files = true;
23 option java_outer_classname = "AdErrorProto";
24 option java_package = "com.google.ads.googleads.v0.errors";
25 option objc_class_prefix = "GAA";
26 option php_namespace = "Google\\Ads\\GoogleAds\\V0\\Errors";
27 option ruby_package = "Google::Ads::GoogleAds::V0::Errors";
28
29 // Proto file describing ad errors.
30
31 // Container for enum describing possible ad errors.
32 message AdErrorEnum {
33   // Enum describing possible ad errors.
34   enum AdError {
35     // Enum unspecified.
36     UNSPECIFIED = 0;
37
38     // The received error code is not known in this version.
39     UNKNOWN = 1;
40
41     // Ad customizers are not supported for ad type.
42     AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE = 2;
43
44     // Estimating character sizes the string is too long.
45     APPROXIMATELY_TOO_LONG = 3;
46
47     // Estimating character sizes the string is too short.
48     APPROXIMATELY_TOO_SHORT = 4;
49
50     // There is a problem with the snippet.
51     BAD_SNIPPET = 5;
52
53     // Cannot modify an ad.
54     CANNOT_MODIFY_AD = 6;
55
56     // business name and url cannot be set at the same time
57     CANNOT_SET_BUSINESS_NAME_IF_URL_SET = 7;
58
59     // The specified field is incompatible with this ad's type or settings.
60     CANNOT_SET_FIELD = 8;
61
62     // Cannot set field when originAdId is set.
63     CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET = 9;
64
65     // Cannot set field when an existing ad id is set for sharing.
66     CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING = 10;
67
68     // Cannot set allowFlexibleColor false if no color is provided by user.
69     CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE = 11;
70
71     // When user select native, no color control is allowed because we will
72     // always respect publisher color for native format serving.
73     CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING = 12;
74
75     // Cannot specify a url for the ad type
76     CANNOT_SET_URL = 13;
77
78     // Cannot specify a tracking or mobile url without also setting final urls
79     CANNOT_SET_WITHOUT_FINAL_URLS = 14;
80
81     // Cannot specify a legacy url and a final url simultaneously
82     CANNOT_SET_WITH_FINAL_URLS = 15;
83
84     // Cannot specify a legacy url and a tracking url template simultaneously in
85     // a DSA.
86     CANNOT_SET_WITH_TRACKING_URL_TEMPLATE = 16;
87
88     // Cannot specify a urls in UrlData and in template fields simultaneously.
89     CANNOT_SET_WITH_URL_DATA = 17;
90
91     // This operator cannot be used with a subclass of Ad.
92     CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR = 18;
93
94     // Customer is not approved for mobile ads.
95     CUSTOMER_NOT_APPROVED_MOBILEADS = 19;
96
97     // Customer is not approved for 3PAS richmedia ads.
98     CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS = 20;
99
100     // Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads.
101     CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS = 21;
102
103     // Not an eligible customer
104     CUSTOMER_NOT_ELIGIBLE = 22;
105
106     // Customer is not eligible for updating beacon url
107     CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL = 23;
108
109     // There already exists an ad with the same dimensions in the union.
110     DIMENSION_ALREADY_IN_UNION = 24;
111
112     // Ad's dimension must be set before setting union dimension.
113     DIMENSION_MUST_BE_SET = 25;
114
115     // Ad's dimension must be included in the union dimensions.
116     DIMENSION_NOT_IN_UNION = 26;
117
118     // Display Url cannot be specified (applies to Ad Exchange Ads)
119     DISPLAY_URL_CANNOT_BE_SPECIFIED = 27;
120
121     // Telephone number contains invalid characters or invalid format. Please
122     // re-enter your number using digits (0-9), dashes (-), and parentheses
123     // only.
124     DOMESTIC_PHONE_NUMBER_FORMAT = 28;
125
126     // Emergency telephone numbers are not allowed. Please enter a valid
127     // domestic phone number to connect customers to your business.
128     EMERGENCY_PHONE_NUMBER = 29;
129
130     // A required field was not specified or is an empty string.
131     EMPTY_FIELD = 30;
132
133     // A feed attribute referenced in an ad customizer tag is not in the ad
134     // customizer mapping for the feed.
135     FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID = 31;
136
137     // The ad customizer field mapping for the feed attribute does not match the
138     // expected field type.
139     FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH = 32;
140
141     // The use of ad customizer tags in the ad text is disallowed. Details in
142     // trigger.
143     ILLEGAL_AD_CUSTOMIZER_TAG_USE = 33;
144
145     // Tags of the form {PH_x}, where x is a number, are disallowed in ad text.
146     ILLEGAL_TAG_USE = 34;
147
148     // The dimensions of the ad are specified or derived in multiple ways and
149     // are not consistent.
150     INCONSISTENT_DIMENSIONS = 35;
151
152     // The status cannot differ among template ads of the same union.
153     INCONSISTENT_STATUS_IN_TEMPLATE_UNION = 36;
154
155     // The length of the string is not valid.
156     INCORRECT_LENGTH = 37;
157
158     // The ad is ineligible for upgrade.
159     INELIGIBLE_FOR_UPGRADE = 38;
160
161     // User cannot create mobile ad for countries targeted in specified
162     // campaign.
163     INVALID_AD_ADDRESS_CAMPAIGN_TARGET = 39;
164
165     // Invalid Ad type. A specific type of Ad is required.
166     INVALID_AD_TYPE = 40;
167
168     // Headline, description or phone cannot be present when creating mobile
169     // image ad.
170     INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE = 41;
171
172     // Image cannot be present when creating mobile text ad.
173     INVALID_ATTRIBUTES_FOR_MOBILE_TEXT = 42;
174
175     // Invalid call to action text.
176     INVALID_CALL_TO_ACTION_TEXT = 43;
177
178     // Invalid character in URL.
179     INVALID_CHARACTER_FOR_URL = 44;
180
181     // Creative's country code is not valid.
182     INVALID_COUNTRY_CODE = 45;
183
184     // Invalid use of Dynamic Search Ads tags ({lpurl} etc.)
185     INVALID_DSA_URL_TAG = 46;
186
187     // Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.)
188     INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 47;
189
190     // An input error whose real reason was not properly mapped (should not
191     // happen).
192     INVALID_INPUT = 48;
193
194     // An invalid markup language was entered.
195     INVALID_MARKUP_LANGUAGE = 49;
196
197     // An invalid mobile carrier was entered.
198     INVALID_MOBILE_CARRIER = 50;
199
200     // Specified mobile carriers target a country not targeted by the campaign.
201     INVALID_MOBILE_CARRIER_TARGET = 51;
202
203     // Wrong number of elements for given element type
204     INVALID_NUMBER_OF_ELEMENTS = 52;
205
206     // The format of the telephone number is incorrect. Please re-enter the
207     // number using the correct format.
208     INVALID_PHONE_NUMBER_FORMAT = 53;
209
210     // The certified vendor format id is incorrect.
211     INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID = 54;
212
213     // The template ad data contains validation errors.
214     INVALID_TEMPLATE_DATA = 55;
215
216     // The template field doesn't have have the correct type.
217     INVALID_TEMPLATE_ELEMENT_FIELD_TYPE = 56;
218
219     // Invalid template id.
220     INVALID_TEMPLATE_ID = 57;
221
222     // After substituting replacement strings, the line is too wide.
223     LINE_TOO_WIDE = 58;
224
225     // The feed referenced must have ad customizer mapping to be used in a
226     // customizer tag.
227     MISSING_AD_CUSTOMIZER_MAPPING = 59;
228
229     // Missing address component in template element address field.
230     MISSING_ADDRESS_COMPONENT = 60;
231
232     // An ad name must be entered.
233     MISSING_ADVERTISEMENT_NAME = 61;
234
235     // Business name must be entered.
236     MISSING_BUSINESS_NAME = 62;
237
238     // Description (line 2) must be entered.
239     MISSING_DESCRIPTION1 = 63;
240
241     // Description (line 3) must be entered.
242     MISSING_DESCRIPTION2 = 64;
243
244     // The destination url must contain at least one tag (e.g. {lpurl})
245     MISSING_DESTINATION_URL_TAG = 65;
246
247     // The tracking url template of ExpandedDynamicSearchAd must contain at
248     // least one tag. (e.g. {lpurl})
249     MISSING_LANDING_PAGE_URL_TAG = 66;
250
251     // A valid dimension must be specified for this ad.
252     MISSING_DIMENSION = 67;
253
254     // A display URL must be entered.
255     MISSING_DISPLAY_URL = 68;
256
257     // Headline must be entered.
258     MISSING_HEADLINE = 69;
259
260     // A height must be entered.
261     MISSING_HEIGHT = 70;
262
263     // An image must be entered.
264     MISSING_IMAGE = 71;
265
266     // Marketing image or product videos are required.
267     MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS = 72;
268
269     // The markup language in which your site is written must be entered.
270     MISSING_MARKUP_LANGUAGES = 73;
271
272     // A mobile carrier must be entered.
273     MISSING_MOBILE_CARRIER = 74;
274
275     // Phone number must be entered.
276     MISSING_PHONE = 75;
277
278     // Missing required template fields
279     MISSING_REQUIRED_TEMPLATE_FIELDS = 76;
280
281     // Missing a required field value
282     MISSING_TEMPLATE_FIELD_VALUE = 77;
283
284     // The ad must have text.
285     MISSING_TEXT = 78;
286
287     // A visible URL must be entered.
288     MISSING_VISIBLE_URL = 79;
289
290     // A width must be entered.
291     MISSING_WIDTH = 80;
292
293     // Only 1 feed can be used as the source of ad customizer substitutions in a
294     // single ad.
295     MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED = 81;
296
297     // TempAdUnionId must be use when adding template ads.
298     MUST_USE_TEMP_AD_UNION_ID_ON_ADD = 82;
299
300     // The string has too many characters.
301     TOO_LONG = 83;
302
303     // The string has too few characters.
304     TOO_SHORT = 84;
305
306     // Ad union dimensions cannot change for saved ads.
307     UNION_DIMENSIONS_CANNOT_CHANGE = 85;
308
309     // Address component is not {country, lat, lng}.
310     UNKNOWN_ADDRESS_COMPONENT = 86;
311
312     // Unknown unique field name
313     UNKNOWN_FIELD_NAME = 87;
314
315     // Unknown unique name (template element type specifier)
316     UNKNOWN_UNIQUE_NAME = 88;
317
318     // Unsupported ad dimension
319     UNSUPPORTED_DIMENSIONS = 89;
320
321     // URL starts with an invalid scheme.
322     URL_INVALID_SCHEME = 90;
323
324     // URL ends with an invalid top-level domain name.
325     URL_INVALID_TOP_LEVEL_DOMAIN = 91;
326
327     // URL contains illegal characters.
328     URL_MALFORMED = 92;
329
330     // URL must contain a host name.
331     URL_NO_HOST = 93;
332
333     // URL not equivalent during upgrade.
334     URL_NOT_EQUIVALENT = 94;
335
336     // URL host name too long to be stored as visible URL (applies to Ad
337     // Exchange ads)
338     URL_HOST_NAME_TOO_LONG = 95;
339
340     // URL must start with a scheme.
341     URL_NO_SCHEME = 96;
342
343     // URL should end in a valid domain extension, such as .com or .net.
344     URL_NO_TOP_LEVEL_DOMAIN = 97;
345
346     // URL must not end with a path.
347     URL_PATH_NOT_ALLOWED = 98;
348
349     // URL must not specify a port.
350     URL_PORT_NOT_ALLOWED = 99;
351
352     // URL must not contain a query.
353     URL_QUERY_NOT_ALLOWED = 100;
354
355     // A url scheme is not allowed in front of tag in dest url (e.g.
356     // http://{lpurl})
357     URL_SCHEME_BEFORE_DSA_TAG = 101;
358
359     // A url scheme is not allowed in front of tag in tracking url template
360     // (e.g. http://{lpurl})
361     URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 102;
362
363     // The user does not have permissions to create a template ad for the given
364     // template.
365     USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE = 103;
366
367     // Expandable setting is inconsistent/wrong. For example, an AdX ad is
368     // invalid if it has a expandable vendor format but no expanding directions
369     // specified, or expanding directions is specified, but the vendor format is
370     // not expandable.
371     INCONSISTENT_EXPANDABLE_SETTINGS = 104;
372
373     // Format is invalid
374     INVALID_FORMAT = 105;
375
376     // The text of this field did not match a pattern of allowed values.
377     INVALID_FIELD_TEXT = 106;
378
379     // Template element is mising
380     ELEMENT_NOT_PRESENT = 107;
381
382     // Error occurred during image processing
383     IMAGE_ERROR = 108;
384
385     // The value is not within the valid range
386     VALUE_NOT_IN_RANGE = 109;
387
388     // Template element field is not present
389     FIELD_NOT_PRESENT = 110;
390
391     // Address is incomplete
392     ADDRESS_NOT_COMPLETE = 111;
393
394     // Invalid address
395     ADDRESS_INVALID = 112;
396
397     // Error retrieving specified video
398     VIDEO_RETRIEVAL_ERROR = 113;
399
400     // Error processing audio
401     AUDIO_ERROR = 114;
402
403     // Display URL is incorrect for YouTube PYV ads
404     INVALID_YOUTUBE_DISPLAY_URL = 115;
405
406     // Too many product Images in GmailAd
407     TOO_MANY_PRODUCT_IMAGES = 116;
408
409     // Too many product Videos in GmailAd
410     TOO_MANY_PRODUCT_VIDEOS = 117;
411
412     // The device preference is not compatible with the ad type
413     INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE = 118;
414
415     // Call tracking is not supported for specified country.
416     CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 119;
417
418     // Carrier specific short number is not allowed.
419     CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 120;
420
421     // Specified phone number type is disallowed.
422     DISALLOWED_NUMBER_TYPE = 121;
423
424     // Phone number not supported for country.
425     PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 122;
426
427     // Phone number not supported with call tracking enabled for country.
428     PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 123;
429
430     // Premium rate phone number is not allowed.
431     PREMIUM_RATE_NUMBER_NOT_ALLOWED = 124;
432
433     // Vanity phone number is not allowed.
434     VANITY_PHONE_NUMBER_NOT_ALLOWED = 125;
435
436     // Invalid call conversion type id.
437     INVALID_CALL_CONVERSION_TYPE_ID = 126;
438
439     // Cannot disable call conversion and set conversion type id.
440     CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID = 127;
441
442     // Cannot set path2 without path1.
443     CANNOT_SET_PATH2_WITHOUT_PATH1 = 128;
444
445     // Missing domain name in campaign setting when adding expanded dynamic
446     // search ad.
447     MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME = 129;
448
449     // The associated ad is not compatible with restriction type.
450     INCOMPATIBLE_WITH_RESTRICTION_TYPE = 130;
451   }
452 }