Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / errors / media_file_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 = "MediaFileErrorProto";
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 media file errors.
31
32 // Container for enum describing possible media file errors.
33 message MediaFileErrorEnum {
34   // Enum describing possible media file errors.
35   enum MediaFileError {
36     // Enum unspecified.
37     UNSPECIFIED = 0;
38
39     // The received error code is not known in this version.
40     UNKNOWN = 1;
41
42     // Cannot create a standard icon type.
43     CANNOT_CREATE_STANDARD_ICON = 2;
44
45     // May only select Standard Icons alone.
46     CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES = 3;
47
48     // Image contains both a media file ID and data.
49     CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA = 4;
50
51     // A media file with given type and reference ID already exists.
52     DUPLICATE_MEDIA = 5;
53
54     // A required field was not specified or is an empty string.
55     EMPTY_FIELD = 6;
56
57     // A media file may only be modified once per call.
58     RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 7;
59
60     // Field is not supported for the media sub type.
61     FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = 8;
62
63     // The media file ID is invalid.
64     INVALID_MEDIA_FILE_ID = 9;
65
66     // The media subtype is invalid.
67     INVALID_MEDIA_SUB_TYPE = 10;
68
69     // The media file type is invalid.
70     INVALID_MEDIA_FILE_TYPE = 11;
71
72     // The mimetype is invalid.
73     INVALID_MIME_TYPE = 12;
74
75     // The media reference ID is invalid.
76     INVALID_REFERENCE_ID = 13;
77
78     // The YouTube video ID is invalid.
79     INVALID_YOU_TUBE_ID = 14;
80
81     // Media file has failed transcoding
82     MEDIA_FILE_FAILED_TRANSCODING = 15;
83
84     // Media file has not been transcoded.
85     MEDIA_NOT_TRANSCODED = 16;
86
87     // The media type does not match the actual media file's type.
88     MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE = 17;
89
90     // None of the fields have been specified.
91     NO_FIELDS_SPECIFIED = 18;
92
93     // One of reference ID or media file ID must be specified.
94     NULL_REFERENCE_ID_AND_MEDIA_ID = 19;
95
96     // The string has too many characters.
97     TOO_LONG = 20;
98
99     // The specified type is not supported.
100     UNSUPPORTED_TYPE = 21;
101
102     // YouTube is unavailable for requesting video data.
103     YOU_TUBE_SERVICE_UNAVAILABLE = 22;
104
105     // The YouTube video has a non positive duration.
106     YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23;
107
108     // The YouTube video ID is syntactically valid but the video was not found.
109     YOU_TUBE_VIDEO_NOT_FOUND = 24;
110   }
111
112
113 }