Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v0 / errors / image_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 = "ImageErrorProto";
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 image errors.
30
31 // Container for enum describing possible image errors.
32 message ImageErrorEnum {
33   // Enum describing possible image errors.
34   enum ImageError {
35     // Enum unspecified.
36     UNSPECIFIED = 0;
37
38     // The received error code is not known in this version.
39     UNKNOWN = 1;
40
41     // The image is not valid.
42     INVALID_IMAGE = 2;
43
44     // The image could not be stored.
45     STORAGE_ERROR = 3;
46
47     // There was a problem with the request.
48     BAD_REQUEST = 4;
49
50     // The image is not of legal dimensions.
51     UNEXPECTED_SIZE = 5;
52
53     // Animated image are not permitted.
54     ANIMATED_NOT_ALLOWED = 6;
55
56     // Animation is too long.
57     ANIMATION_TOO_LONG = 7;
58
59     // There was an error on the server.
60     SERVER_ERROR = 8;
61
62     // Image cannot be in CMYK color format.
63     CMYK_JPEG_NOT_ALLOWED = 9;
64
65     // Flash images are not permitted.
66     FLASH_NOT_ALLOWED = 10;
67
68     // Flash images must support clickTag.
69     FLASH_WITHOUT_CLICKTAG = 11;
70
71     // A flash error has occurred after fixing the click tag.
72     FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12;
73
74     // Unacceptable visual effects.
75     ANIMATED_VISUAL_EFFECT = 13;
76
77     // There was a problem with the flash image.
78     FLASH_ERROR = 14;
79
80     // Incorrect image layout.
81     LAYOUT_PROBLEM = 15;
82
83     // There was a problem reading the image file.
84     PROBLEM_READING_IMAGE_FILE = 16;
85
86     // There was an error storing the image.
87     ERROR_STORING_IMAGE = 17;
88
89     // The aspect ratio of the image is not allowed.
90     ASPECT_RATIO_NOT_ALLOWED = 18;
91
92     // Flash cannot have network objects.
93     FLASH_HAS_NETWORK_OBJECTS = 19;
94
95     // Flash cannot have network methods.
96     FLASH_HAS_NETWORK_METHODS = 20;
97
98     // Flash cannot have a Url.
99     FLASH_HAS_URL = 21;
100
101     // Flash cannot use mouse tracking.
102     FLASH_HAS_MOUSE_TRACKING = 22;
103
104     // Flash cannot have a random number.
105     FLASH_HAS_RANDOM_NUM = 23;
106
107     // Ad click target cannot be '_self'.
108     FLASH_SELF_TARGETS = 24;
109
110     // GetUrl method should only use '_blank'.
111     FLASH_BAD_GETURL_TARGET = 25;
112
113     // Flash version is not supported.
114     FLASH_VERSION_NOT_SUPPORTED = 26;
115
116     // Flash movies need to have hard coded click URL or clickTAG
117     FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27;
118
119     // Uploaded flash file is corrupted.
120     INVALID_FLASH_FILE = 28;
121
122     // Uploaded flash file can be parsed, but the click tag can not be fixed
123     // properly.
124     FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29;
125
126     // Flash movie accesses network resources
127     FLASH_ACCESSES_NETWORK_RESOURCES = 30;
128
129     // Flash movie attempts to call external javascript code
130     FLASH_EXTERNAL_JS_CALL = 31;
131
132     // Flash movie attempts to call flash system commands
133     FLASH_EXTERNAL_FS_CALL = 32;
134
135     // Image file is too large.
136     FILE_TOO_LARGE = 33;
137
138     // Image data is too large.
139     IMAGE_DATA_TOO_LARGE = 34;
140
141     // Error while processing the image.
142     IMAGE_PROCESSING_ERROR = 35;
143
144     // Image is too small.
145     IMAGE_TOO_SMALL = 36;
146
147     // Input was invalid.
148     INVALID_INPUT = 37;
149
150     // There was a problem reading the image file.
151     PROBLEM_READING_FILE = 38;
152   }
153 }