Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v0 / errors / url_field_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 = "UrlFieldErrorProto";
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 url field errors.
30
31 // Container for enum describing possible url field errors.
32 message UrlFieldErrorEnum {
33   // Enum describing possible url field errors.
34   enum UrlFieldError {
35     // Enum unspecified.
36     UNSPECIFIED = 0;
37
38     // The received error code is not known in this version.
39     UNKNOWN = 1;
40
41     // The tracking url template is invalid.
42     INVALID_TRACKING_URL_TEMPLATE = 2;
43
44     // The tracking url template contains invalid tag.
45     INVALID_TAG_IN_TRACKING_URL_TEMPLATE = 3;
46
47     // The tracking url template must contain at least one tag (e.g. {lpurl}),
48     // This applies only to tracking url template associated with website ads or
49     // product ads.
50     MISSING_TRACKING_URL_TEMPLATE_TAG = 4;
51
52     // The tracking url template must start with a valid protocol (or lpurl
53     // tag).
54     MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 5;
55
56     // The tracking url template starts with an invalid protocol.
57     INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 6;
58
59     // The tracking url template contains illegal characters.
60     MALFORMED_TRACKING_URL_TEMPLATE = 7;
61
62     // The tracking url template must contain a host name (or lpurl tag).
63     MISSING_HOST_IN_TRACKING_URL_TEMPLATE = 8;
64
65     // The tracking url template has an invalid or missing top level domain
66     // extension.
67     INVALID_TLD_IN_TRACKING_URL_TEMPLATE = 9;
68
69     // The tracking url template contains nested occurrences of the same
70     // conditional tag (i.e. {ifmobile:{ifmobile:x}}).
71     REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG = 10;
72
73     // The final url is invalid.
74     INVALID_FINAL_URL = 11;
75
76     // The final url contains invalid tag.
77     INVALID_TAG_IN_FINAL_URL = 12;
78
79     // The final url contains nested occurrences of the same conditional tag
80     // (i.e. {ifmobile:{ifmobile:x}}).
81     REDUNDANT_NESTED_FINAL_URL_TAG = 13;
82
83     // The final url must start with a valid protocol.
84     MISSING_PROTOCOL_IN_FINAL_URL = 14;
85
86     // The final url starts with an invalid protocol.
87     INVALID_PROTOCOL_IN_FINAL_URL = 15;
88
89     // The final url contains illegal characters.
90     MALFORMED_FINAL_URL = 16;
91
92     // The final url must contain a host name.
93     MISSING_HOST_IN_FINAL_URL = 17;
94
95     // The tracking url template has an invalid or missing top level domain
96     // extension.
97     INVALID_TLD_IN_FINAL_URL = 18;
98
99     // The final mobile url is invalid.
100     INVALID_FINAL_MOBILE_URL = 19;
101
102     // The final mobile url contains invalid tag.
103     INVALID_TAG_IN_FINAL_MOBILE_URL = 20;
104
105     // The final mobile url contains nested occurrences of the same conditional
106     // tag (i.e. {ifmobile:{ifmobile:x}}).
107     REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG = 21;
108
109     // The final mobile url must start with a valid protocol.
110     MISSING_PROTOCOL_IN_FINAL_MOBILE_URL = 22;
111
112     // The final mobile url starts with an invalid protocol.
113     INVALID_PROTOCOL_IN_FINAL_MOBILE_URL = 23;
114
115     // The final mobile url contains illegal characters.
116     MALFORMED_FINAL_MOBILE_URL = 24;
117
118     // The final mobile url must contain a host name.
119     MISSING_HOST_IN_FINAL_MOBILE_URL = 25;
120
121     // The tracking url template has an invalid or missing top level domain
122     // extension.
123     INVALID_TLD_IN_FINAL_MOBILE_URL = 26;
124
125     // The final app url is invalid.
126     INVALID_FINAL_APP_URL = 27;
127
128     // The final app url contains invalid tag.
129     INVALID_TAG_IN_FINAL_APP_URL = 28;
130
131     // The final app url contains nested occurrences of the same conditional tag
132     // (i.e. {ifmobile:{ifmobile:x}}).
133     REDUNDANT_NESTED_FINAL_APP_URL_TAG = 29;
134
135     // More than one app url found for the same OS type.
136     MULTIPLE_APP_URLS_FOR_OSTYPE = 30;
137
138     // The OS type given for an app url is not valid.
139     INVALID_OSTYPE = 31;
140
141     // The protocol given for an app url is not valid. (E.g. "android-app://")
142     INVALID_PROTOCOL_FOR_APP_URL = 32;
143
144     // The package id (app id) given for an app url is not valid.
145     INVALID_PACKAGE_ID_FOR_APP_URL = 33;
146
147     // The number of url custom parameters for an resource exceeds the maximum
148     // limit allowed.
149     URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT = 34;
150
151     // An invalid character appears in the parameter key.
152     INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY = 39;
153
154     // An invalid character appears in the parameter value.
155     INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE = 40;
156
157     // The url custom parameter value fails url tag validation.
158     INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE = 41;
159
160     // The custom parameter contains nested occurrences of the same conditional
161     // tag (i.e. {ifmobile:{ifmobile:x}}).
162     REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG = 42;
163
164     // The protocol (http:// or https://) is missing.
165     MISSING_PROTOCOL = 43;
166
167     // Unsupported protocol in URL. Only http and https are supported.
168     INVALID_PROTOCOL = 52;
169
170     // The url is invalid.
171     INVALID_URL = 44;
172
173     // Destination Url is deprecated.
174     DESTINATION_URL_DEPRECATED = 45;
175
176     // The url contains invalid tag.
177     INVALID_TAG_IN_URL = 46;
178
179     // The url must contain at least one tag (e.g. {lpurl}), This applies only
180     // to urls associated with website ads or product ads.
181     MISSING_URL_TAG = 47;
182
183     // Duplicate url id.
184     DUPLICATE_URL_ID = 48;
185
186     // Invalid url id.
187     INVALID_URL_ID = 49;
188
189     // The final url suffix cannot begin with '?' or '&' characters and must be
190     // a valid query string.
191     FINAL_URL_SUFFIX_MALFORMED = 50;
192
193     // The final url suffix cannot contain {lpurl} related or {ignore} tags.
194     INVALID_TAG_IN_FINAL_URL_SUFFIX = 51;
195
196     // The top level domain is invalid, e.g, not a public top level domain
197     // listed in publicsuffix.org.
198     INVALID_TOP_LEVEL_DOMAIN = 53;
199
200     // Malformed top level domain in URL.
201     MALFORMED_TOP_LEVEL_DOMAIN = 54;
202
203     // Malformed URL.
204     MALFORMED_URL = 55;
205
206     // No host found in URL.
207     MISSING_HOST = 56;
208   }
209 }