aboutsummaryrefslogtreecommitdiff
path: root/google/ads/googleads/v0/errors/ad_error.proto
blob: b83b29425833cf10bb18650fc24bd8570079f2f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
// Copyright 2018 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

syntax = "proto3";

package google.ads.googleads.v0.errors;

option csharp_namespace = "Google.Ads.GoogleAds.V0.Errors";
option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v0/errors;errors";
option java_multiple_files = true;
option java_outer_classname = "AdErrorProto";
option java_package = "com.google.ads.googleads.v0.errors";
option objc_class_prefix = "GAA";
option php_namespace = "Google\\Ads\\GoogleAds\\V0\\Errors";
option ruby_package = "Google::Ads::GoogleAds::V0::Errors";
// Proto file describing ad errors.

// Container for enum describing possible ad errors.
message AdErrorEnum {
  // Enum describing possible ad errors.
  enum AdError {
    // Enum unspecified.
    UNSPECIFIED = 0;

    // The received error code is not known in this version.
    UNKNOWN = 1;

    // Ad customizers are not supported for ad type.
    AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE = 2;

    // Estimating character sizes the string is too long.
    APPROXIMATELY_TOO_LONG = 3;

    // Estimating character sizes the string is too short.
    APPROXIMATELY_TOO_SHORT = 4;

    // There is a problem with the snippet.
    BAD_SNIPPET = 5;

    // Cannot modify an ad.
    CANNOT_MODIFY_AD = 6;

    // business name and url cannot be set at the same time
    CANNOT_SET_BUSINESS_NAME_IF_URL_SET = 7;

    // The specified field is incompatible with this ad's type or settings.
    CANNOT_SET_FIELD = 8;

    // Cannot set field when originAdId is set.
    CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET = 9;

    // Cannot set field when an existing ad id is set for sharing.
    CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING = 10;

    // Cannot set allowFlexibleColor false if no color is provided by user.
    CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE = 11;

    // When user select native, no color control is allowed because we will
    // always respect publisher color for native format serving.
    CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING = 12;

    // Cannot specify a url for the ad type
    CANNOT_SET_URL = 13;

    // Cannot specify a tracking or mobile url without also setting final urls
    CANNOT_SET_WITHOUT_FINAL_URLS = 14;

    // Cannot specify a legacy url and a final url simultaneously
    CANNOT_SET_WITH_FINAL_URLS = 15;

    // Cannot specify a legacy url and a tracking url template simultaneously in
    // a DSA.
    CANNOT_SET_WITH_TRACKING_URL_TEMPLATE = 16;

    // Cannot specify a urls in UrlData and in template fields simultaneously.
    CANNOT_SET_WITH_URL_DATA = 17;

    // This operator cannot be used with a subclass of Ad.
    CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR = 18;

    // Customer is not approved for mobile ads.
    CUSTOMER_NOT_APPROVED_MOBILEADS = 19;

    // Customer is not approved for 3PAS richmedia ads.
    CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS = 20;

    // Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads.
    CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS = 21;

    // Not an eligible customer
    CUSTOMER_NOT_ELIGIBLE = 22;

    // Customer is not eligible for updating beacon url
    CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL = 23;

    // There already exists an ad with the same dimensions in the union.
    DIMENSION_ALREADY_IN_UNION = 24;

    // Ad's dimension must be set before setting union dimension.
    DIMENSION_MUST_BE_SET = 25;

    // Ad's dimension must be included in the union dimensions.
    DIMENSION_NOT_IN_UNION = 26;

    // Display Url cannot be specified (applies to Ad Exchange Ads)
    DISPLAY_URL_CANNOT_BE_SPECIFIED = 27;

    // Telephone number contains invalid characters or invalid format. Please
    // re-enter your number using digits (0-9), dashes (-), and parentheses
    // only.
    DOMESTIC_PHONE_NUMBER_FORMAT = 28;

    // Emergency telephone numbers are not allowed. Please enter a valid
    // domestic phone number to connect customers to your business.
    EMERGENCY_PHONE_NUMBER = 29;

    // A required field was not specified or is an empty string.
    EMPTY_FIELD = 30;

    // A feed attribute referenced in an ad customizer tag is not in the ad
    // customizer mapping for the feed.
    FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID = 31;

    // The ad customizer field mapping for the feed attribute does not match the
    // expected field type.
    FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH = 32;

    // The use of ad customizer tags in the ad text is disallowed. Details in
    // trigger.
    ILLEGAL_AD_CUSTOMIZER_TAG_USE = 33;

    // Tags of the form {PH_x}, where x is a number, are disallowed in ad text.
    ILLEGAL_TAG_USE = 34;

    // The dimensions of the ad are specified or derived in multiple ways and
    // are not consistent.
    INCONSISTENT_DIMENSIONS = 35;

    // The status cannot differ among template ads of the same union.
    INCONSISTENT_STATUS_IN_TEMPLATE_UNION = 36;

    // The length of the string is not valid.
    INCORRECT_LENGTH = 37;

    // The ad is ineligible for upgrade.
    INELIGIBLE_FOR_UPGRADE = 38;

    // User cannot create mobile ad for countries targeted in specified
    // campaign.
    INVALID_AD_ADDRESS_CAMPAIGN_TARGET = 39;

    // Invalid Ad type. A specific type of Ad is required.
    INVALID_AD_TYPE = 40;

    // Headline, description or phone cannot be present when creating mobile
    // image ad.
    INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE = 41;

    // Image cannot be present when creating mobile text ad.
    INVALID_ATTRIBUTES_FOR_MOBILE_TEXT = 42;

    // Invalid call to action text.
    INVALID_CALL_TO_ACTION_TEXT = 43;

    // Invalid character in URL.
    INVALID_CHARACTER_FOR_URL = 44;

    // Creative's country code is not valid.
    INVALID_COUNTRY_CODE = 45;

    // Invalid use of Dynamic Search Ads tags ({lpurl} etc.)
    INVALID_DSA_URL_TAG = 46;

    // Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.)
    INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 47;

    // An input error whose real reason was not properly mapped (should not
    // happen).
    INVALID_INPUT = 48;

    // An invalid markup language was entered.
    INVALID_MARKUP_LANGUAGE = 49;

    // An invalid mobile carrier was entered.
    INVALID_MOBILE_CARRIER = 50;

    // Specified mobile carriers target a country not targeted by the campaign.
    INVALID_MOBILE_CARRIER_TARGET = 51;

    // Wrong number of elements for given element type
    INVALID_NUMBER_OF_ELEMENTS = 52;

    // The format of the telephone number is incorrect. Please re-enter the
    // number using the correct format.
    INVALID_PHONE_NUMBER_FORMAT = 53;

    // The certified vendor format id is incorrect.
    INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID = 54;

    // The template ad data contains validation errors.
    INVALID_TEMPLATE_DATA = 55;

    // The template field doesn't have have the correct type.
    INVALID_TEMPLATE_ELEMENT_FIELD_TYPE = 56;

    // Invalid template id.
    INVALID_TEMPLATE_ID = 57;

    // After substituting replacement strings, the line is too wide.
    LINE_TOO_WIDE = 58;

    // The feed referenced must have ad customizer mapping to be used in a
    // customizer tag.
    MISSING_AD_CUSTOMIZER_MAPPING = 59;

    // Missing address component in template element address field.
    MISSING_ADDRESS_COMPONENT = 60;

    // An ad name must be entered.
    MISSING_ADVERTISEMENT_NAME = 61;

    // Business name must be entered.
    MISSING_BUSINESS_NAME = 62;

    // Description (line 2) must be entered.
    MISSING_DESCRIPTION1 = 63;

    // Description (line 3) must be entered.
    MISSING_DESCRIPTION2 = 64;

    // The destination url must contain at least one tag (e.g. {lpurl})
    MISSING_DESTINATION_URL_TAG = 65;

    // The tracking url template of ExpandedDynamicSearchAd must contain at
    // least one tag. (e.g. {lpurl})
    MISSING_LANDING_PAGE_URL_TAG = 66;

    // A valid dimension must be specified for this ad.
    MISSING_DIMENSION = 67;

    // A display URL must be entered.
    MISSING_DISPLAY_URL = 68;

    // Headline must be entered.
    MISSING_HEADLINE = 69;

    // A height must be entered.
    MISSING_HEIGHT = 70;

    // An image must be entered.
    MISSING_IMAGE = 71;

    // Marketing image or product videos are required.
    MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS = 72;

    // The markup language in which your site is written must be entered.
    MISSING_MARKUP_LANGUAGES = 73;

    // A mobile carrier must be entered.
    MISSING_MOBILE_CARRIER = 74;

    // Phone number must be entered.
    MISSING_PHONE = 75;

    // Missing required template fields
    MISSING_REQUIRED_TEMPLATE_FIELDS = 76;

    // Missing a required field value
    MISSING_TEMPLATE_FIELD_VALUE = 77;

    // The ad must have text.
    MISSING_TEXT = 78;

    // A visible URL must be entered.
    MISSING_VISIBLE_URL = 79;

    // A width must be entered.
    MISSING_WIDTH = 80;

    // Only 1 feed can be used as the source of ad customizer substitutions in a
    // single ad.
    MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED = 81;

    // TempAdUnionId must be use when adding template ads.
    MUST_USE_TEMP_AD_UNION_ID_ON_ADD = 82;

    // The string has too many characters.
    TOO_LONG = 83;

    // The string has too few characters.
    TOO_SHORT = 84;

    // Ad union dimensions cannot change for saved ads.
    UNION_DIMENSIONS_CANNOT_CHANGE = 85;

    // Address component is not {country, lat, lng}.
    UNKNOWN_ADDRESS_COMPONENT = 86;

    // Unknown unique field name
    UNKNOWN_FIELD_NAME = 87;

    // Unknown unique name (template element type specifier)
    UNKNOWN_UNIQUE_NAME = 88;

    // Unsupported ad dimension
    UNSUPPORTED_DIMENSIONS = 89;

    // URL starts with an invalid scheme.
    URL_INVALID_SCHEME = 90;

    // URL ends with an invalid top-level domain name.
    URL_INVALID_TOP_LEVEL_DOMAIN = 91;

    // URL contains illegal characters.
    URL_MALFORMED = 92;

    // URL must contain a host name.
    URL_NO_HOST = 93;

    // URL not equivalent during upgrade.
    URL_NOT_EQUIVALENT = 94;

    // URL host name too long to be stored as visible URL (applies to Ad
    // Exchange ads)
    URL_HOST_NAME_TOO_LONG = 95;

    // URL must start with a scheme.
    URL_NO_SCHEME = 96;

    // URL should end in a valid domain extension, such as .com or .net.
    URL_NO_TOP_LEVEL_DOMAIN = 97;

    // URL must not end with a path.
    URL_PATH_NOT_ALLOWED = 98;

    // URL must not specify a port.
    URL_PORT_NOT_ALLOWED = 99;

    // URL must not contain a query.
    URL_QUERY_NOT_ALLOWED = 100;

    // A url scheme is not allowed in front of tag in dest url (e.g.
    // http://{lpurl})
    URL_SCHEME_BEFORE_DSA_TAG = 101;

    // A url scheme is not allowed in front of tag in tracking url template
    // (e.g. http://{lpurl})
    URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 102;

    // The user does not have permissions to create a template ad for the given
    // template.
    USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE = 103;

    // Expandable setting is inconsistent/wrong. For example, an AdX ad is
    // invalid if it has a expandable vendor format but no expanding directions
    // specified, or expanding directions is specified, but the vendor format is
    // not expandable.
    INCONSISTENT_EXPANDABLE_SETTINGS = 104;

    // Format is invalid
    INVALID_FORMAT = 105;

    // The text of this field did not match a pattern of allowed values.
    INVALID_FIELD_TEXT = 106;

    // Template element is mising
    ELEMENT_NOT_PRESENT = 107;

    // Error occurred during image processing
    IMAGE_ERROR = 108;

    // The value is not within the valid range
    VALUE_NOT_IN_RANGE = 109;

    // Template element field is not present
    FIELD_NOT_PRESENT = 110;

    // Address is incomplete
    ADDRESS_NOT_COMPLETE = 111;

    // Invalid address
    ADDRESS_INVALID = 112;

    // Error retrieving specified video
    VIDEO_RETRIEVAL_ERROR = 113;

    // Error processing audio
    AUDIO_ERROR = 114;

    // Display URL is incorrect for YouTube PYV ads
    INVALID_YOUTUBE_DISPLAY_URL = 115;

    // Too many product Images in GmailAd
    TOO_MANY_PRODUCT_IMAGES = 116;

    // Too many product Videos in GmailAd
    TOO_MANY_PRODUCT_VIDEOS = 117;

    // The device preference is not compatible with the ad type
    INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE = 118;

    // Call tracking is not supported for specified country.
    CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 119;

    // Carrier specific short number is not allowed.
    CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 120;

    // Specified phone number type is disallowed.
    DISALLOWED_NUMBER_TYPE = 121;

    // Phone number not supported for country.
    PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 122;

    // Phone number not supported with call tracking enabled for country.
    PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 123;

    // Premium rate phone number is not allowed.
    PREMIUM_RATE_NUMBER_NOT_ALLOWED = 124;

    // Vanity phone number is not allowed.
    VANITY_PHONE_NUMBER_NOT_ALLOWED = 125;

    // Invalid call conversion type id.
    INVALID_CALL_CONVERSION_TYPE_ID = 126;

    // Cannot disable call conversion and set conversion type id.
    CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID = 127;

    // Cannot set path2 without path1.
    CANNOT_SET_PATH2_WITHOUT_PATH1 = 128;

    // Missing domain name in campaign setting when adding expanded dynamic
    // search ad.
    MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME = 129;

    // The associated ad is not compatible with restriction type.
    INCOMPATIBLE_WITH_RESTRICTION_TYPE = 130;
  }


}