Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: discovery/googleapis/adexchangeseller__v1.1.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/adexchange.seller": {
6 "description": "View and manage your Ad Exchange data"
7 },
8 "https://www.googleapis.com/auth/adexchange.seller.readonly": {
9 "description": "View your Ad Exchange data"
10 }
11 }
12 }
13 },
14 "basePath": "/adexchangeseller/v1.1/",
15 "baseUrl": "https://www.googleapis.com/adexchangeseller/v1.1/",
16 "batchPath": "batch",
17 "canonicalName": "Ad Exchange Seller",
18 "description": "Gives Ad Exchange seller users access to their inventory and the ability to generate reports",
19 "discoveryVersion": "v1",
20 "documentationLink": "https://developers.google.com/ad-exchange/seller-rest/ ",
21 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/-Sh2IMIsIqhQ3klzcQfPkMhvc2c\"",
22 "icons": {
23 "x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
24 "x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
25 },
26 "id": "adexchangeseller:v1.1",
27 "kind": "discovery#restDescription",
28 "name": "adexchangeseller",
29 "ownerDomain": "google.com",
30 "ownerName": "Google",
31 "parameters": {
32 "alt": {
33 "default": "json",
34 "description": "Data format for the response.",
35 "enum": [
36 "csv",
37 "json"
38 ],
39 "enumDescriptions": [
40 "Responses with Content-Type of text/csv",
41 "Responses with Content-Type of application/json"
42 ],
43 "location": "query",
44 "type": "string"
45 },
46 "fields": {
47 "description": "Selector specifying which fields to include in a par tial response.",
48 "location": "query",
49 "type": "string"
50 },
51 "key": {
52 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
53 "location": "query",
54 "type": "string"
55 },
56 "oauth_token": {
57 "description": "OAuth 2.0 token for the current user.",
58 "location": "query",
59 "type": "string"
60 },
61 "prettyPrint": {
62 "default": "true",
63 "description": "Returns response with indentations and line breaks." ,
64 "location": "query",
65 "type": "boolean"
66 },
67 "quotaUser": {
68 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters. Overrides userIp if both are provided.",
69 "location": "query",
70 "type": "string"
71 },
72 "userIp": {
73 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
74 "location": "query",
75 "type": "string"
76 }
77 },
78 "protocol": "rest",
79 "resources": {
80 "accounts": {
81 "methods": {
82 "get": {
83 "description": "Get information about the selected Ad Exchan ge account.",
84 "httpMethod": "GET",
85 "id": "adexchangeseller.accounts.get",
86 "parameterOrder": [
87 "accountId"
88 ],
89 "parameters": {
90 "accountId": {
91 "description": "Account to get information about. Ti p: 'myaccount' is a valid ID.",
92 "location": "path",
93 "required": true,
94 "type": "string"
95 }
96 },
97 "path": "accounts/{accountId}",
98 "response": {
99 "$ref": "Account"
100 },
101 "scopes": [
102 "https://www.googleapis.com/auth/adexchange.seller",
103 "https://www.googleapis.com/auth/adexchange.seller.reado nly"
104 ]
105 }
106 }
107 },
108 "adclients": {
109 "methods": {
110 "list": {
111 "description": "List all ad clients in this Ad Exchange acco unt.",
112 "httpMethod": "GET",
113 "id": "adexchangeseller.adclients.list",
114 "parameters": {
115 "maxResults": {
116 "description": "The maximum number of ad clients to include in the response, used for paging.",
117 "format": "uint32",
118 "location": "query",
119 "maximum": "10000",
120 "minimum": "0",
121 "type": "integer"
122 },
123 "pageToken": {
124 "description": "A continuation token, used to page t hrough ad clients. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
125 "location": "query",
126 "type": "string"
127 }
128 },
129 "path": "adclients",
130 "response": {
131 "$ref": "AdClients"
132 },
133 "scopes": [
134 "https://www.googleapis.com/auth/adexchange.seller",
135 "https://www.googleapis.com/auth/adexchange.seller.reado nly"
136 ]
137 }
138 }
139 },
140 "adunits": {
141 "methods": {
142 "get": {
143 "description": "Gets the specified ad unit in the specified ad client.",
144 "httpMethod": "GET",
145 "id": "adexchangeseller.adunits.get",
146 "parameterOrder": [
147 "adClientId",
148 "adUnitId"
149 ],
150 "parameters": {
151 "adClientId": {
152 "description": "Ad client for which to get the ad un it.",
153 "location": "path",
154 "required": true,
155 "type": "string"
156 },
157 "adUnitId": {
158 "description": "Ad unit to retrieve.",
159 "location": "path",
160 "required": true,
161 "type": "string"
162 }
163 },
164 "path": "adclients/{adClientId}/adunits/{adUnitId}",
165 "response": {
166 "$ref": "AdUnit"
167 },
168 "scopes": [
169 "https://www.googleapis.com/auth/adexchange.seller",
170 "https://www.googleapis.com/auth/adexchange.seller.reado nly"
171 ]
172 },
173 "list": {
174 "description": "List all ad units in the specified ad client for this Ad Exchange account.",
175 "httpMethod": "GET",
176 "id": "adexchangeseller.adunits.list",
177 "parameterOrder": [
178 "adClientId"
179 ],
180 "parameters": {
181 "adClientId": {
182 "description": "Ad client for which to list ad units .",
183 "location": "path",
184 "required": true,
185 "type": "string"
186 },
187 "includeInactive": {
188 "description": "Whether to include inactive ad units . Default: true.",
189 "location": "query",
190 "type": "boolean"
191 },
192 "maxResults": {
193 "description": "The maximum number of ad units to in clude in the response, used for paging.",
194 "format": "uint32",
195 "location": "query",
196 "maximum": "10000",
197 "minimum": "0",
198 "type": "integer"
199 },
200 "pageToken": {
201 "description": "A continuation token, used to page t hrough ad units. To retrieve the next page, set this parameter to the value of \ "nextPageToken\" from the previous response.",
202 "location": "query",
203 "type": "string"
204 }
205 },
206 "path": "adclients/{adClientId}/adunits",
207 "response": {
208 "$ref": "AdUnits"
209 },
210 "scopes": [
211 "https://www.googleapis.com/auth/adexchange.seller",
212 "https://www.googleapis.com/auth/adexchange.seller.reado nly"
213 ]
214 }
215 },
216 "resources": {
217 "customchannels": {
218 "methods": {
219 "list": {
220 "description": "List all custom channels which the s pecified ad unit belongs to.",
221 "httpMethod": "GET",
222 "id": "adexchangeseller.adunits.customchannels.list" ,
223 "parameterOrder": [
224 "adClientId",
225 "adUnitId"
226 ],
227 "parameters": {
228 "adClientId": {
229 "description": "Ad client which contains the ad unit.",
230 "location": "path",
231 "required": true,
232 "type": "string"
233 },
234 "adUnitId": {
235 "description": "Ad unit for which to list cu stom channels.",
236 "location": "path",
237 "required": true,
238 "type": "string"
239 },
240 "maxResults": {
241 "description": "The maximum number of custom channels to include in the response, used for paging.",
242 "format": "uint32",
243 "location": "query",
244 "maximum": "10000",
245 "minimum": "0",
246 "type": "integer"
247 },
248 "pageToken": {
249 "description": "A continuation token, used t o page through custom channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
250 "location": "query",
251 "type": "string"
252 }
253 },
254 "path": "adclients/{adClientId}/adunits/{adUnitId}/c ustomchannels",
255 "response": {
256 "$ref": "CustomChannels"
257 },
258 "scopes": [
259 "https://www.googleapis.com/auth/adexchange.sell er",
260 "https://www.googleapis.com/auth/adexchange.sell er.readonly"
261 ]
262 }
263 }
264 }
265 }
266 },
267 "alerts": {
268 "methods": {
269 "list": {
270 "description": "List the alerts for this Ad Exchange account .",
271 "httpMethod": "GET",
272 "id": "adexchangeseller.alerts.list",
273 "parameters": {
274 "locale": {
275 "description": "The locale to use for translating al ert messages. The account locale will be used if this is not supplied. The AdSen se default (English) will be used if the supplied locale is invalid or unsupport ed.",
276 "location": "query",
277 "type": "string"
278 }
279 },
280 "path": "alerts",
281 "response": {
282 "$ref": "Alerts"
283 },
284 "scopes": [
285 "https://www.googleapis.com/auth/adexchange.seller",
286 "https://www.googleapis.com/auth/adexchange.seller.reado nly"
287 ]
288 }
289 }
290 },
291 "customchannels": {
292 "methods": {
293 "get": {
294 "description": "Get the specified custom channel from the sp ecified ad client.",
295 "httpMethod": "GET",
296 "id": "adexchangeseller.customchannels.get",
297 "parameterOrder": [
298 "adClientId",
299 "customChannelId"
300 ],
301 "parameters": {
302 "adClientId": {
303 "description": "Ad client which contains the custom channel.",
304 "location": "path",
305 "required": true,
306 "type": "string"
307 },
308 "customChannelId": {
309 "description": "Custom channel to retrieve.",
310 "location": "path",
311 "required": true,
312 "type": "string"
313 }
314 },
315 "path": "adclients/{adClientId}/customchannels/{customChanne lId}",
316 "response": {
317 "$ref": "CustomChannel"
318 },
319 "scopes": [
320 "https://www.googleapis.com/auth/adexchange.seller",
321 "https://www.googleapis.com/auth/adexchange.seller.reado nly"
322 ]
323 },
324 "list": {
325 "description": "List all custom channels in the specified ad client for this Ad Exchange account.",
326 "httpMethod": "GET",
327 "id": "adexchangeseller.customchannels.list",
328 "parameterOrder": [
329 "adClientId"
330 ],
331 "parameters": {
332 "adClientId": {
333 "description": "Ad client for which to list custom c hannels.",
334 "location": "path",
335 "required": true,
336 "type": "string"
337 },
338 "maxResults": {
339 "description": "The maximum number of custom channel s to include in the response, used for paging.",
340 "format": "uint32",
341 "location": "query",
342 "maximum": "10000",
343 "minimum": "0",
344 "type": "integer"
345 },
346 "pageToken": {
347 "description": "A continuation token, used to page t hrough custom channels. To retrieve the next page, set this parameter to the val ue of \"nextPageToken\" from the previous response.",
348 "location": "query",
349 "type": "string"
350 }
351 },
352 "path": "adclients/{adClientId}/customchannels",
353 "response": {
354 "$ref": "CustomChannels"
355 },
356 "scopes": [
357 "https://www.googleapis.com/auth/adexchange.seller",
358 "https://www.googleapis.com/auth/adexchange.seller.reado nly"
359 ]
360 }
361 },
362 "resources": {
363 "adunits": {
364 "methods": {
365 "list": {
366 "description": "List all ad units in the specified c ustom channel.",
367 "httpMethod": "GET",
368 "id": "adexchangeseller.customchannels.adunits.list" ,
369 "parameterOrder": [
370 "adClientId",
371 "customChannelId"
372 ],
373 "parameters": {
374 "adClientId": {
375 "description": "Ad client which contains the custom channel.",
376 "location": "path",
377 "required": true,
378 "type": "string"
379 },
380 "customChannelId": {
381 "description": "Custom channel for which to list ad units.",
382 "location": "path",
383 "required": true,
384 "type": "string"
385 },
386 "includeInactive": {
387 "description": "Whether to include inactive ad units. Default: true.",
388 "location": "query",
389 "type": "boolean"
390 },
391 "maxResults": {
392 "description": "The maximum number of ad uni ts to include in the response, used for paging.",
393 "format": "uint32",
394 "location": "query",
395 "maximum": "10000",
396 "minimum": "0",
397 "type": "integer"
398 },
399 "pageToken": {
400 "description": "A continuation token, used t o page through ad units. To retrieve the next page, set this parameter to the va lue of \"nextPageToken\" from the previous response.",
401 "location": "query",
402 "type": "string"
403 }
404 },
405 "path": "adclients/{adClientId}/customchannels/{cust omChannelId}/adunits",
406 "response": {
407 "$ref": "AdUnits"
408 },
409 "scopes": [
410 "https://www.googleapis.com/auth/adexchange.sell er",
411 "https://www.googleapis.com/auth/adexchange.sell er.readonly"
412 ]
413 }
414 }
415 }
416 }
417 },
418 "metadata": {
419 "resources": {
420 "dimensions": {
421 "methods": {
422 "list": {
423 "description": "List the metadata for the dimensions available to this AdExchange account.",
424 "httpMethod": "GET",
425 "id": "adexchangeseller.metadata.dimensions.list",
426 "path": "metadata/dimensions",
427 "response": {
428 "$ref": "Metadata"
429 },
430 "scopes": [
431 "https://www.googleapis.com/auth/adexchange.sell er",
432 "https://www.googleapis.com/auth/adexchange.sell er.readonly"
433 ]
434 }
435 }
436 },
437 "metrics": {
438 "methods": {
439 "list": {
440 "description": "List the metadata for the metrics av ailable to this AdExchange account.",
441 "httpMethod": "GET",
442 "id": "adexchangeseller.metadata.metrics.list",
443 "path": "metadata/metrics",
444 "response": {
445 "$ref": "Metadata"
446 },
447 "scopes": [
448 "https://www.googleapis.com/auth/adexchange.sell er",
449 "https://www.googleapis.com/auth/adexchange.sell er.readonly"
450 ]
451 }
452 }
453 }
454 }
455 },
456 "preferreddeals": {
457 "methods": {
458 "get": {
459 "description": "Get information about the selected Ad Exchan ge Preferred Deal.",
460 "httpMethod": "GET",
461 "id": "adexchangeseller.preferreddeals.get",
462 "parameterOrder": [
463 "dealId"
464 ],
465 "parameters": {
466 "dealId": {
467 "description": "Preferred deal to get information ab out.",
468 "location": "path",
469 "required": true,
470 "type": "string"
471 }
472 },
473 "path": "preferreddeals/{dealId}",
474 "response": {
475 "$ref": "PreferredDeal"
476 },
477 "scopes": [
478 "https://www.googleapis.com/auth/adexchange.seller",
479 "https://www.googleapis.com/auth/adexchange.seller.reado nly"
480 ]
481 },
482 "list": {
483 "description": "List the preferred deals for this Ad Exchang e account.",
484 "httpMethod": "GET",
485 "id": "adexchangeseller.preferreddeals.list",
486 "path": "preferreddeals",
487 "response": {
488 "$ref": "PreferredDeals"
489 },
490 "scopes": [
491 "https://www.googleapis.com/auth/adexchange.seller",
492 "https://www.googleapis.com/auth/adexchange.seller.reado nly"
493 ]
494 }
495 }
496 },
497 "reports": {
498 "methods": {
499 "generate": {
500 "description": "Generate an Ad Exchange report based on the report request sent in the query parameters. Returns the result as JSON; to retr ieve output in CSV format specify \"alt=csv\" as a query parameter.",
501 "httpMethod": "GET",
502 "id": "adexchangeseller.reports.generate",
503 "parameterOrder": [
504 "startDate",
505 "endDate"
506 ],
507 "parameters": {
508 "dimension": {
509 "description": "Dimensions to base the report on.",
510 "location": "query",
511 "pattern": "[a-zA-Z_]+",
512 "repeated": true,
513 "type": "string"
514 },
515 "endDate": {
516 "description": "End of the date range to report on i n \"YYYY-MM-DD\" format, inclusive.",
517 "location": "query",
518 "pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth |startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)",
519 "required": true,
520 "type": "string"
521 },
522 "filter": {
523 "description": "Filters to be run on the report.",
524 "location": "query",
525 "pattern": "[a-zA-Z_]+(==|=@).+",
526 "repeated": true,
527 "type": "string"
528 },
529 "locale": {
530 "description": "Optional locale to use for translati ng report output to a local language. Defaults to \"en_US\" if not specified.",
531 "location": "query",
532 "pattern": "[a-zA-Z_]+",
533 "type": "string"
534 },
535 "maxResults": {
536 "description": "The maximum number of rows of report data to return.",
537 "format": "uint32",
538 "location": "query",
539 "maximum": "50000",
540 "minimum": "0",
541 "type": "integer"
542 },
543 "metric": {
544 "description": "Numeric columns to include in the re port.",
545 "location": "query",
546 "pattern": "[a-zA-Z_]+",
547 "repeated": true,
548 "type": "string"
549 },
550 "sort": {
551 "description": "The name of a dimension or metric to sort the resulting report on, optionally prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted asc ending.",
552 "location": "query",
553 "pattern": "(\\+|-)?[a-zA-Z_]+",
554 "repeated": true,
555 "type": "string"
556 },
557 "startDate": {
558 "description": "Start of the date range to report on in \"YYYY-MM-DD\" format, inclusive.",
559 "location": "query",
560 "pattern": "\\d{4}-\\d{2}-\\d{2}|(today|startOfMonth |startOfYear)(([\\-\\+]\\d+[dwmy]){0,3}?)",
561 "required": true,
562 "type": "string"
563 },
564 "startIndex": {
565 "description": "Index of the first row of report dat a to return.",
566 "format": "uint32",
567 "location": "query",
568 "maximum": "5000",
569 "minimum": "0",
570 "type": "integer"
571 }
572 },
573 "path": "reports",
574 "response": {
575 "$ref": "Report"
576 },
577 "scopes": [
578 "https://www.googleapis.com/auth/adexchange.seller",
579 "https://www.googleapis.com/auth/adexchange.seller.reado nly"
580 ],
581 "supportsMediaDownload": true
582 }
583 },
584 "resources": {
585 "saved": {
586 "methods": {
587 "generate": {
588 "description": "Generate an Ad Exchange report based on the saved report ID sent in the query parameters.",
589 "httpMethod": "GET",
590 "id": "adexchangeseller.reports.saved.generate",
591 "parameterOrder": [
592 "savedReportId"
593 ],
594 "parameters": {
595 "locale": {
596 "description": "Optional locale to use for t ranslating report output to a local language. Defaults to \"en_US\" if not speci fied.",
597 "location": "query",
598 "pattern": "[a-zA-Z_]+",
599 "type": "string"
600 },
601 "maxResults": {
602 "description": "The maximum number of rows o f report data to return.",
603 "format": "int32",
604 "location": "query",
605 "maximum": "50000",
606 "minimum": "0",
607 "type": "integer"
608 },
609 "savedReportId": {
610 "description": "The saved report to retrieve .",
611 "location": "path",
612 "required": true,
613 "type": "string"
614 },
615 "startIndex": {
616 "description": "Index of the first row of re port data to return.",
617 "format": "int32",
618 "location": "query",
619 "maximum": "5000",
620 "minimum": "0",
621 "type": "integer"
622 }
623 },
624 "path": "reports/{savedReportId}",
625 "response": {
626 "$ref": "Report"
627 },
628 "scopes": [
629 "https://www.googleapis.com/auth/adexchange.sell er",
630 "https://www.googleapis.com/auth/adexchange.sell er.readonly"
631 ]
632 },
633 "list": {
634 "description": "List all saved reports in this Ad Ex change account.",
635 "httpMethod": "GET",
636 "id": "adexchangeseller.reports.saved.list",
637 "parameters": {
638 "maxResults": {
639 "description": "The maximum number of saved reports to include in the response, used for paging.",
640 "format": "int32",
641 "location": "query",
642 "maximum": "100",
643 "minimum": "0",
644 "type": "integer"
645 },
646 "pageToken": {
647 "description": "A continuation token, used t o page through saved reports. To retrieve the next page, set this parameter to t he value of \"nextPageToken\" from the previous response.",
648 "location": "query",
649 "type": "string"
650 }
651 },
652 "path": "reports/saved",
653 "response": {
654 "$ref": "SavedReports"
655 },
656 "scopes": [
657 "https://www.googleapis.com/auth/adexchange.sell er",
658 "https://www.googleapis.com/auth/adexchange.sell er.readonly"
659 ]
660 }
661 }
662 }
663 }
664 },
665 "urlchannels": {
666 "methods": {
667 "list": {
668 "description": "List all URL channels in the specified ad cl ient for this Ad Exchange account.",
669 "httpMethod": "GET",
670 "id": "adexchangeseller.urlchannels.list",
671 "parameterOrder": [
672 "adClientId"
673 ],
674 "parameters": {
675 "adClientId": {
676 "description": "Ad client for which to list URL chan nels.",
677 "location": "path",
678 "required": true,
679 "type": "string"
680 },
681 "maxResults": {
682 "description": "The maximum number of URL channels t o include in the response, used for paging.",
683 "format": "uint32",
684 "location": "query",
685 "maximum": "10000",
686 "minimum": "0",
687 "type": "integer"
688 },
689 "pageToken": {
690 "description": "A continuation token, used to page t hrough URL channels. To retrieve the next page, set this parameter to the value of \"nextPageToken\" from the previous response.",
691 "location": "query",
692 "type": "string"
693 }
694 },
695 "path": "adclients/{adClientId}/urlchannels",
696 "response": {
697 "$ref": "UrlChannels"
698 },
699 "scopes": [
700 "https://www.googleapis.com/auth/adexchange.seller",
701 "https://www.googleapis.com/auth/adexchange.seller.reado nly"
702 ]
703 }
704 }
705 }
706 },
707 "revision": "20140908",
708 "rootUrl": "https://www.googleapis.com/",
709 "schemas": {
710 "Account": {
711 "id": "Account",
712 "properties": {
713 "id": {
714 "description": "Unique identifier of this account.",
715 "type": "string"
716 },
717 "kind": {
718 "default": "adexchangeseller#account",
719 "description": "Kind of resource this is, in this case adexc hangeseller#account.",
720 "type": "string"
721 },
722 "name": {
723 "description": "Name of this account.",
724 "type": "string"
725 }
726 },
727 "type": "object"
728 },
729 "AdClient": {
730 "id": "AdClient",
731 "properties": {
732 "arcOptIn": {
733 "description": "Whether this ad client is opted in to ARC.",
734 "type": "boolean"
735 },
736 "id": {
737 "description": "Unique identifier of this ad client.",
738 "type": "string"
739 },
740 "kind": {
741 "default": "adexchangeseller#adClient",
742 "description": "Kind of resource this is, in this case adexc hangeseller#adClient.",
743 "type": "string"
744 },
745 "productCode": {
746 "description": "This ad client's product code, which corresp onds to the PRODUCT_CODE report dimension.",
747 "type": "string"
748 },
749 "supportsReporting": {
750 "description": "Whether this ad client supports being report ed on.",
751 "type": "boolean"
752 }
753 },
754 "type": "object"
755 },
756 "AdClients": {
757 "id": "AdClients",
758 "properties": {
759 "etag": {
760 "description": "ETag of this response for caching purposes." ,
761 "type": "string"
762 },
763 "items": {
764 "description": "The ad clients returned in this list respons e.",
765 "items": {
766 "$ref": "AdClient"
767 },
768 "type": "array"
769 },
770 "kind": {
771 "default": "adexchangeseller#adClients",
772 "description": "Kind of list this is, in this case adexchang eseller#adClients.",
773 "type": "string"
774 },
775 "nextPageToken": {
776 "description": "Continuation token used to page through ad c lients. To retrieve the next page of results, set the next request's \"pageToken \" value to this.",
777 "type": "string"
778 }
779 },
780 "type": "object"
781 },
782 "AdUnit": {
783 "id": "AdUnit",
784 "properties": {
785 "code": {
786 "description": "Identity code of this ad unit, not necessari ly unique across ad clients.",
787 "type": "string"
788 },
789 "id": {
790 "description": "Unique identifier of this ad unit. This shou ld be considered an opaque identifier; it is not safe to rely on it being in any particular format.",
791 "type": "string"
792 },
793 "kind": {
794 "default": "adexchangeseller#adUnit",
795 "description": "Kind of resource this is, in this case adexc hangeseller#adUnit.",
796 "type": "string"
797 },
798 "name": {
799 "description": "Name of this ad unit.",
800 "type": "string"
801 },
802 "status": {
803 "description": "Status of this ad unit. Possible values are: \nNEW: Indicates that the ad unit was created within the last seven days and doe s not yet have any activity associated with it.\n\nACTIVE: Indicates that there has been activity on this ad unit in the last seven days.\n\nINACTIVE: Indicates that there has been no activity on this ad unit in the last seven days.",
804 "type": "string"
805 }
806 },
807 "type": "object"
808 },
809 "AdUnits": {
810 "id": "AdUnits",
811 "properties": {
812 "etag": {
813 "description": "ETag of this response for caching purposes." ,
814 "type": "string"
815 },
816 "items": {
817 "description": "The ad units returned in this list response. ",
818 "items": {
819 "$ref": "AdUnit"
820 },
821 "type": "array"
822 },
823 "kind": {
824 "default": "adexchangeseller#adUnits",
825 "description": "Kind of list this is, in this case adexchang eseller#adUnits.",
826 "type": "string"
827 },
828 "nextPageToken": {
829 "description": "Continuation token used to page through ad u nits. To retrieve the next page of results, set the next request's \"pageToken\" value to this.",
830 "type": "string"
831 }
832 },
833 "type": "object"
834 },
835 "Alert": {
836 "id": "Alert",
837 "properties": {
838 "id": {
839 "description": "Unique identifier of this alert. This should be considered an opaque identifier; it is not safe to rely on it being in any p articular format.",
840 "type": "string"
841 },
842 "kind": {
843 "default": "adexchangeseller#alert",
844 "description": "Kind of resource this is, in this case adexc hangeseller#alert.",
845 "type": "string"
846 },
847 "message": {
848 "description": "The localized alert message.",
849 "type": "string"
850 },
851 "severity": {
852 "description": "Severity of this alert. Possible values: INF O, WARNING, SEVERE.",
853 "type": "string"
854 },
855 "type": {
856 "description": "Type of this alert. Possible values: SELF_HO LD, MIGRATED_TO_BILLING3, ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORP ORATE_ENTITY, GRAYLISTED_PUBLISHER, API_HOLD.",
857 "type": "string"
858 }
859 },
860 "type": "object"
861 },
862 "Alerts": {
863 "id": "Alerts",
864 "properties": {
865 "items": {
866 "description": "The alerts returned in this list response.",
867 "items": {
868 "$ref": "Alert"
869 },
870 "type": "array"
871 },
872 "kind": {
873 "default": "adexchangeseller#alerts",
874 "description": "Kind of list this is, in this case adexchang eseller#alerts.",
875 "type": "string"
876 }
877 },
878 "type": "object"
879 },
880 "CustomChannel": {
881 "id": "CustomChannel",
882 "properties": {
883 "code": {
884 "description": "Code of this custom channel, not necessarily unique across ad clients.",
885 "type": "string"
886 },
887 "id": {
888 "description": "Unique identifier of this custom channel. Th is should be considered an opaque identifier; it is not safe to rely on it being in any particular format.",
889 "type": "string"
890 },
891 "kind": {
892 "default": "adexchangeseller#customChannel",
893 "description": "Kind of resource this is, in this case adexc hangeseller#customChannel.",
894 "type": "string"
895 },
896 "name": {
897 "description": "Name of this custom channel.",
898 "type": "string"
899 },
900 "targetingInfo": {
901 "description": "The targeting information of this custom cha nnel, if activated.",
902 "properties": {
903 "adsAppearOn": {
904 "description": "The name used to describe this chann el externally.",
905 "type": "string"
906 },
907 "description": {
908 "description": "The external description of the chan nel.",
909 "type": "string"
910 },
911 "location": {
912 "description": "The locations in which ads appear. ( Only valid for content and mobile content ads). Acceptable values for content ad s are: TOP_LEFT, TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT , BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable value s for mobile content ads are: TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS.",
913 "type": "string"
914 },
915 "siteLanguage": {
916 "description": "The language of the sites ads will b e displayed on.",
917 "type": "string"
918 }
919 },
920 "type": "object"
921 }
922 },
923 "type": "object"
924 },
925 "CustomChannels": {
926 "id": "CustomChannels",
927 "properties": {
928 "etag": {
929 "description": "ETag of this response for caching purposes." ,
930 "type": "string"
931 },
932 "items": {
933 "description": "The custom channels returned in this list re sponse.",
934 "items": {
935 "$ref": "CustomChannel"
936 },
937 "type": "array"
938 },
939 "kind": {
940 "default": "adexchangeseller#customChannels",
941 "description": "Kind of list this is, in this case adexchang eseller#customChannels.",
942 "type": "string"
943 },
944 "nextPageToken": {
945 "description": "Continuation token used to page through cust om channels. To retrieve the next page of results, set the next request's \"page Token\" value to this.",
946 "type": "string"
947 }
948 },
949 "type": "object"
950 },
951 "Metadata": {
952 "id": "Metadata",
953 "properties": {
954 "items": {
955 "items": {
956 "$ref": "ReportingMetadataEntry"
957 },
958 "type": "array"
959 },
960 "kind": {
961 "default": "adexchangeseller#metadata",
962 "description": "Kind of list this is, in this case adexchang eseller#metadata.",
963 "type": "string"
964 }
965 },
966 "type": "object"
967 },
968 "PreferredDeal": {
969 "id": "PreferredDeal",
970 "properties": {
971 "advertiserName": {
972 "description": "The name of the advertiser this deal is for. ",
973 "type": "string"
974 },
975 "buyerNetworkName": {
976 "description": "The name of the buyer network this deal is f or.",
977 "type": "string"
978 },
979 "currencyCode": {
980 "description": "The currency code that applies to the fixed_ cpm value. If not set then assumed to be USD.",
981 "type": "string"
982 },
983 "endTime": {
984 "description": "Time when this deal stops being active in se conds since the epoch (GMT). If not set then this deal is valid until manually d isabled by the publisher.",
985 "format": "uint64",
986 "type": "string"
987 },
988 "fixedCpm": {
989 "description": "The fixed price for this preferred deal. In cpm micros of currency according to currencyCode. If set, then this preferred de al is eligible for the fixed price tier of buying (highest priority, pay exactly the configured fixed price).",
990 "format": "int64",
991 "type": "string"
992 },
993 "id": {
994 "description": "Unique identifier of this preferred deal.",
995 "format": "int64",
996 "type": "string"
997 },
998 "kind": {
999 "default": "adexchangeseller#preferredDeal",
1000 "description": "Kind of resource this is, in this case adexc hangeseller#preferredDeal.",
1001 "type": "string"
1002 },
1003 "startTime": {
1004 "description": "Time when this deal becomes active in second s since the epoch (GMT). If not set then this deal is active immediately upon cr eation.",
1005 "format": "uint64",
1006 "type": "string"
1007 }
1008 },
1009 "type": "object"
1010 },
1011 "PreferredDeals": {
1012 "id": "PreferredDeals",
1013 "properties": {
1014 "items": {
1015 "description": "The preferred deals returned in this list re sponse.",
1016 "items": {
1017 "$ref": "PreferredDeal"
1018 },
1019 "type": "array"
1020 },
1021 "kind": {
1022 "default": "adexchangeseller#preferredDeals",
1023 "description": "Kind of list this is, in this case adexchang eseller#preferredDeals.",
1024 "type": "string"
1025 }
1026 },
1027 "type": "object"
1028 },
1029 "Report": {
1030 "id": "Report",
1031 "properties": {
1032 "averages": {
1033 "description": "The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.",
1034 "items": {
1035 "type": "string"
1036 },
1037 "type": "array"
1038 },
1039 "headers": {
1040 "description": "The header information of the columns reques ted in the report. This is a list of headers; one for each dimension in the requ est, followed by one for each metric in the request.",
1041 "items": {
1042 "properties": {
1043 "currency": {
1044 "description": "The currency of this column. Onl y present if the header type is METRIC_CURRENCY.",
1045 "type": "string"
1046 },
1047 "name": {
1048 "description": "The name of the header.",
1049 "type": "string"
1050 },
1051 "type": {
1052 "description": "The type of the header; one of D IMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY.",
1053 "type": "string"
1054 }
1055 },
1056 "type": "object"
1057 },
1058 "type": "array"
1059 },
1060 "kind": {
1061 "default": "adexchangeseller#report",
1062 "description": "Kind this is, in this case adexchangeseller# report.",
1063 "type": "string"
1064 },
1065 "rows": {
1066 "description": "The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The dimension cells contain strings, and the metric cells contain numbers.",
1067 "items": {
1068 "items": {
1069 "type": "string"
1070 },
1071 "type": "array"
1072 },
1073 "type": "array"
1074 },
1075 "totalMatchedRows": {
1076 "description": "The total number of rows matched by the repo rt request. Fewer rows may be returned in the response due to being limited by t he row count requested or the report row limit.",
1077 "format": "int64",
1078 "type": "string"
1079 },
1080 "totals": {
1081 "description": "The totals of the report. This is the same l ength as any other row in the report; cells corresponding to dimension columns a re empty.",
1082 "items": {
1083 "type": "string"
1084 },
1085 "type": "array"
1086 },
1087 "warnings": {
1088 "description": "Any warnings associated with generation of t he report.",
1089 "items": {
1090 "type": "string"
1091 },
1092 "type": "array"
1093 }
1094 },
1095 "type": "object"
1096 },
1097 "ReportingMetadataEntry": {
1098 "id": "ReportingMetadataEntry",
1099 "properties": {
1100 "compatibleDimensions": {
1101 "description": "For metrics this is a list of dimension IDs which the metric is compatible with, for dimensions it is a list of compatibilit y groups the dimension belongs to.",
1102 "items": {
1103 "type": "string"
1104 },
1105 "type": "array"
1106 },
1107 "compatibleMetrics": {
1108 "description": "The names of the metrics the dimension or me tric this reporting metadata entry describes is compatible with.",
1109 "items": {
1110 "type": "string"
1111 },
1112 "type": "array"
1113 },
1114 "id": {
1115 "description": "Unique identifier of this reporting metadata entry, corresponding to the name of the appropriate dimension or metric.",
1116 "type": "string"
1117 },
1118 "kind": {
1119 "default": "adexchangeseller#reportingMetadataEntry",
1120 "description": "Kind of resource this is, in this case adexc hangeseller#reportingMetadataEntry.",
1121 "type": "string"
1122 },
1123 "requiredDimensions": {
1124 "description": "The names of the dimensions which the dimens ion or metric this reporting metadata entry describes requires to also be presen t in order for the report to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted.",
1125 "items": {
1126 "type": "string"
1127 },
1128 "type": "array"
1129 },
1130 "requiredMetrics": {
1131 "description": "The names of the metrics which the dimension or metric this reporting metadata entry describes requires to also be present i n order for the report to be valid. Omitting these will not cause an error or wa rning, but may result in data which cannot be correctly interpreted.",
1132 "items": {
1133 "type": "string"
1134 },
1135 "type": "array"
1136 },
1137 "supportedProducts": {
1138 "description": "The codes of the projects supported by the d imension or metric this reporting metadata entry describes.",
1139 "items": {
1140 "type": "string"
1141 },
1142 "type": "array"
1143 }
1144 },
1145 "type": "object"
1146 },
1147 "SavedReport": {
1148 "id": "SavedReport",
1149 "properties": {
1150 "id": {
1151 "description": "Unique identifier of this saved report.",
1152 "type": "string"
1153 },
1154 "kind": {
1155 "default": "adexchangeseller#savedReport",
1156 "description": "Kind of resource this is, in this case adexc hangeseller#savedReport.",
1157 "type": "string"
1158 },
1159 "name": {
1160 "description": "This saved report's name.",
1161 "type": "string"
1162 }
1163 },
1164 "type": "object"
1165 },
1166 "SavedReports": {
1167 "id": "SavedReports",
1168 "properties": {
1169 "etag": {
1170 "description": "ETag of this response for caching purposes." ,
1171 "type": "string"
1172 },
1173 "items": {
1174 "description": "The saved reports returned in this list resp onse.",
1175 "items": {
1176 "$ref": "SavedReport"
1177 },
1178 "type": "array"
1179 },
1180 "kind": {
1181 "default": "adexchangeseller#savedReports",
1182 "description": "Kind of list this is, in this case adexchang eseller#savedReports.",
1183 "type": "string"
1184 },
1185 "nextPageToken": {
1186 "description": "Continuation token used to page through save d reports. To retrieve the next page of results, set the next request's \"pageTo ken\" value to this.",
1187 "type": "string"
1188 }
1189 },
1190 "type": "object"
1191 },
1192 "UrlChannel": {
1193 "id": "UrlChannel",
1194 "properties": {
1195 "id": {
1196 "description": "Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.",
1197 "type": "string"
1198 },
1199 "kind": {
1200 "default": "adexchangeseller#urlChannel",
1201 "description": "Kind of resource this is, in this case adexc hangeseller#urlChannel.",
1202 "type": "string"
1203 },
1204 "urlPattern": {
1205 "description": "URL Pattern of this URL channel. Does not in clude \"http://\" or \"https://\". Example: www.example.com/home",
1206 "type": "string"
1207 }
1208 },
1209 "type": "object"
1210 },
1211 "UrlChannels": {
1212 "id": "UrlChannels",
1213 "properties": {
1214 "etag": {
1215 "description": "ETag of this response for caching purposes." ,
1216 "type": "string"
1217 },
1218 "items": {
1219 "description": "The URL channels returned in this list respo nse.",
1220 "items": {
1221 "$ref": "UrlChannel"
1222 },
1223 "type": "array"
1224 },
1225 "kind": {
1226 "default": "adexchangeseller#urlChannels",
1227 "description": "Kind of list this is, in this case adexchang eseller#urlChannels.",
1228 "type": "string"
1229 },
1230 "nextPageToken": {
1231 "description": "Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's \"pageTok en\" value to this.",
1232 "type": "string"
1233 }
1234 },
1235 "type": "object"
1236 }
1237 },
1238 "servicePath": "adexchangeseller/v1.1/",
1239 "title": "Ad Exchange Seller API",
1240 "version": "v1.1"
1241 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698