1{
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/display-video": {
6 "description": "Create, see, edit, and permanently delete your Display \u0026 Video 360 entities and reports"
7 },
8 "https://www.googleapis.com/auth/doubleclickbidmanager": {
9 "description": "View and manage your reports in DoubleClick Bid Manager"
10 }
11 }
12 }
13 },
14 "basePath": "",
15 "baseUrl": "https://displayvideo.googleapis.com/",
16 "batchPath": "batch",
17 "canonicalName": "Display Video",
18 "description": "Display \u0026 Video 360 API allows users to manage and create campaigns and reports.",
19 "discoveryVersion": "v1",
20 "documentationLink": "https://developers.google.com/display-video/",
21 "fullyEncodeReservedExpansion": true,
22 "icons": {
23 "x16": "http://www.google.com/images/icons/product/search-16.gif",
24 "x32": "http://www.google.com/images/icons/product/search-32.gif"
25 },
26 "id": "displayvideo:v1beta2",
27 "kind": "discovery#restDescription",
28 "mtlsRootUrl": "https://displayvideo.mtls.googleapis.com/",
29 "name": "displayvideo",
30 "ownerDomain": "google.com",
31 "ownerName": "Google",
32 "parameters": {
33 "$.xgafv": {
34 "description": "V1 error format.",
35 "enum": [
36 "1",
37 "2"
38 ],
39 "enumDescriptions": [
40 "v1 error format",
41 "v2 error format"
42 ],
43 "location": "query",
44 "type": "string"
45 },
46 "access_token": {
47 "description": "OAuth access token.",
48 "location": "query",
49 "type": "string"
50 },
51 "alt": {
52 "default": "json",
53 "description": "Data format for response.",
54 "enum": [
55 "json",
56 "media",
57 "proto"
58 ],
59 "enumDescriptions": [
60 "Responses with Content-Type of application/json",
61 "Media download with context-dependent Content-Type",
62 "Responses with Content-Type of application/x-protobuf"
63 ],
64 "location": "query",
65 "type": "string"
66 },
67 "callback": {
68 "description": "JSONP",
69 "location": "query",
70 "type": "string"
71 },
72 "fields": {
73 "description": "Selector specifying which fields to include in a partial response.",
74 "location": "query",
75 "type": "string"
76 },
77 "key": {
78 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
79 "location": "query",
80 "type": "string"
81 },
82 "oauth_token": {
83 "description": "OAuth 2.0 token for the current user.",
84 "location": "query",
85 "type": "string"
86 },
87 "prettyPrint": {
88 "default": "true",
89 "description": "Returns response with indentations and line breaks.",
90 "location": "query",
91 "type": "boolean"
92 },
93 "quotaUser": {
94 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
95 "location": "query",
96 "type": "string"
97 },
98 "uploadType": {
99 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
100 "location": "query",
101 "type": "string"
102 },
103 "upload_protocol": {
104 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
105 "location": "query",
106 "type": "string"
107 }
108 },
109 "protocol": "rest",
110 "resources": {
111 "media": {
112 "methods": {
113 "download": {
114 "description": "Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: Download requests will not be successful without including `alt=media` query string.",
115 "flatPath": "download/{downloadId}",
116 "httpMethod": "GET",
117 "id": "displayvideo.media.download",
118 "parameterOrder": [
119 "resourceName"
120 ],
121 "parameters": {
122 "resourceName": {
123 "description": "Name of the media that is being downloaded. See ReadRequest.resource_name.",
124 "location": "path",
125 "pattern": "^.*$",
126 "required": true,
127 "type": "string"
128 }
129 },
130 "path": "download/{+resourceName}",
131 "response": {
132 "$ref": "GoogleBytestreamMedia"
133 },
134 "scopes": [
135 "https://www.googleapis.com/auth/display-video",
136 "https://www.googleapis.com/auth/doubleclickbidmanager"
137 ],
138 "supportsMediaDownload": true
139 }
140 }
141 },
142 "sdfdownloadtasks": {
143 "resources": {
144 "operations": {
145 "methods": {
146 "get": {
147 "description": "Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.",
148 "flatPath": "v1beta2/sdfdownloadtasks/operations/{operationsId}",
149 "httpMethod": "GET",
150 "id": "displayvideo.sdfdownloadtasks.operations.get",
151 "parameterOrder": [
152 "name"
153 ],
154 "parameters": {
155 "name": {
156 "description": "The name of the operation resource.",
157 "location": "path",
158 "pattern": "^sdfdownloadtasks/operations/[^/]+$",
159 "required": true,
160 "type": "string"
161 }
162 },
163 "path": "v1beta2/{+name}",
164 "response": {
165 "$ref": "Operation"
166 },
167 "scopes": [
168 "https://www.googleapis.com/auth/display-video",
169 "https://www.googleapis.com/auth/doubleclickbidmanager"
170 ]
171 }
172 }
173 }
174 }
175 }
176 },
177 "revision": "20200901",
178 "rootUrl": "https://displayvideo.googleapis.com/",
179 "schemas": {
180 "GoogleBytestreamMedia": {
181 "description": "Media resource.",
182 "id": "GoogleBytestreamMedia",
183 "properties": {
184 "resourceName": {
185 "description": "Name of the media resource.",
186 "type": "string"
187 }
188 },
189 "type": "object"
190 },
191 "Operation": {
192 "description": "This resource represents a long-running operation that is the result of a network API call.",
193 "id": "Operation",
194 "properties": {
195 "done": {
196 "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
197 "type": "boolean"
198 },
199 "error": {
200 "$ref": "Status",
201 "description": "The error result of the operation in case of failure or cancellation."
202 },
203 "metadata": {
204 "additionalProperties": {
205 "description": "Properties of the object. Contains field @type with type URL.",
206 "type": "any"
207 },
208 "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
209 "type": "object"
210 },
211 "name": {
212 "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
213 "type": "string"
214 },
215 "response": {
216 "additionalProperties": {
217 "description": "Properties of the object. Contains field @type with type URL.",
218 "type": "any"
219 },
220 "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
221 "type": "object"
222 }
223 },
224 "type": "object"
225 },
226 "Status": {
227 "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
228 "id": "Status",
229 "properties": {
230 "code": {
231 "description": "The status code, which should be an enum value of google.rpc.Code.",
232 "format": "int32",
233 "type": "integer"
234 },
235 "details": {
236 "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
237 "items": {
238 "additionalProperties": {
239 "description": "Properties of the object. Contains field @type with type URL.",
240 "type": "any"
241 },
242 "type": "object"
243 },
244 "type": "array"
245 },
246 "message": {
247 "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
248 "type": "string"
249 }
250 },
251 "type": "object"
252 }
253 },
254 "servicePath": "",
255 "title": "Display \u0026 Video 360 API",
256 "version": "v1beta2",
257 "version_module": true
258}
View as plain text