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

Side by Side Diff: discovery/googleapis/tagmanager__v1.json

Issue 698403003: Api roll 5: 2014-11-05 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 1 month 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/tagmanager.delete.containers": {
6 "description": "Delete your Google Tag Manager containers"
7 },
8 "https://www.googleapis.com/auth/tagmanager.edit.containers": {
9 "description": "Manage your Google Tag Manager containers"
10 },
11 "https://www.googleapis.com/auth/tagmanager.edit.containerversio ns": {
12 "description": "Manage your Google Tag Manager container ver sions"
13 },
14 "https://www.googleapis.com/auth/tagmanager.manage.accounts": {
15 "description": "Manage your Google Tag Manager accounts"
16 },
17 "https://www.googleapis.com/auth/tagmanager.manage.users": {
18 "description": "Manage user permissions of your Google Tag M anager data"
19 },
20 "https://www.googleapis.com/auth/tagmanager.publish": {
21 "description": "Publish your Google Tag Manager containers"
22 },
23 "https://www.googleapis.com/auth/tagmanager.readonly": {
24 "description": "View your Google Tag Manager containers"
25 }
26 }
27 }
28 },
29 "basePath": "/tagmanager/v1/",
30 "baseUrl": "https://www.googleapis.com/tagmanager/v1/",
31 "batchPath": "batch",
32 "canonicalName": "Tag Manager",
33 "description": "API for accessing Tag Manager accounts and containers.",
34 "discoveryVersion": "v1",
35 "documentationLink": "https://developers.google.com/tag-manager/api/v1/",
36 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/pVfb1ajMeYIw5IrU4jq20F5dMAg\"",
37 "icons": {
38 "x16": "http://www.google.com/images/icons/product/search-16.gif",
39 "x32": "http://www.google.com/images/icons/product/search-32.gif"
40 },
41 "id": "tagmanager:v1",
42 "kind": "discovery#restDescription",
43 "name": "tagmanager",
44 "ownerDomain": "google.com",
45 "ownerName": "Google",
46 "parameters": {
47 "alt": {
48 "default": "json",
49 "description": "Data format for the response.",
50 "enum": [
51 "json"
52 ],
53 "enumDescriptions": [
54 "Responses with Content-Type of application/json"
55 ],
56 "location": "query",
57 "type": "string"
58 },
59 "fields": {
60 "description": "Selector specifying which fields to include in a par tial response.",
61 "location": "query",
62 "type": "string"
63 },
64 "key": {
65 "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.",
66 "location": "query",
67 "type": "string"
68 },
69 "oauth_token": {
70 "description": "OAuth 2.0 token for the current user.",
71 "location": "query",
72 "type": "string"
73 },
74 "prettyPrint": {
75 "default": "true",
76 "description": "Returns response with indentations and line breaks." ,
77 "location": "query",
78 "type": "boolean"
79 },
80 "quotaUser": {
81 "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.",
82 "location": "query",
83 "type": "string"
84 },
85 "userIp": {
86 "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
87 "location": "query",
88 "type": "string"
89 }
90 },
91 "protocol": "rest",
92 "resources": {
93 "accounts": {
94 "methods": {
95 "get": {
96 "description": "Gets a GTM Account.",
97 "httpMethod": "GET",
98 "id": "tagmanager.accounts.get",
99 "parameterOrder": [
100 "accountId"
101 ],
102 "parameters": {
103 "accountId": {
104 "description": "The GTM Account ID.",
105 "location": "path",
106 "required": true,
107 "type": "string"
108 }
109 },
110 "path": "accounts/{accountId}",
111 "response": {
112 "$ref": "Account"
113 },
114 "scopes": [
115 "https://www.googleapis.com/auth/tagmanager.edit.contain ers",
116 "https://www.googleapis.com/auth/tagmanager.manage.accou nts",
117 "https://www.googleapis.com/auth/tagmanager.readonly"
118 ]
119 },
120 "list": {
121 "description": "Lists all GTM Accounts that a user has acces s to.",
122 "httpMethod": "GET",
123 "id": "tagmanager.accounts.list",
124 "path": "accounts",
125 "response": {
126 "$ref": "ListAccountsResponse"
127 },
128 "scopes": [
129 "https://www.googleapis.com/auth/tagmanager.edit.contain ers",
130 "https://www.googleapis.com/auth/tagmanager.manage.accou nts",
131 "https://www.googleapis.com/auth/tagmanager.readonly"
132 ]
133 },
134 "update": {
135 "description": "Updates a GTM Account.",
136 "httpMethod": "PUT",
137 "id": "tagmanager.accounts.update",
138 "parameterOrder": [
139 "accountId"
140 ],
141 "parameters": {
142 "accountId": {
143 "description": "The GTM Account ID.",
144 "location": "path",
145 "required": true,
146 "type": "string"
147 },
148 "fingerprint": {
149 "description": "When provided, this fingerprint must match the fingerprint of the account in storage.",
150 "location": "query",
151 "type": "string"
152 }
153 },
154 "path": "accounts/{accountId}",
155 "request": {
156 "$ref": "Account"
157 },
158 "response": {
159 "$ref": "Account"
160 },
161 "scopes": [
162 "https://www.googleapis.com/auth/tagmanager.manage.accou nts"
163 ]
164 }
165 },
166 "resources": {
167 "containers": {
168 "methods": {
169 "create": {
170 "description": "Creates a Container.",
171 "httpMethod": "POST",
172 "id": "tagmanager.accounts.containers.create",
173 "parameterOrder": [
174 "accountId"
175 ],
176 "parameters": {
177 "accountId": {
178 "description": "The GTM Account ID.",
179 "location": "path",
180 "required": true,
181 "type": "string"
182 }
183 },
184 "path": "accounts/{accountId}/containers",
185 "request": {
186 "$ref": "Container"
187 },
188 "response": {
189 "$ref": "Container"
190 },
191 "scopes": [
192 "https://www.googleapis.com/auth/tagmanager.edit .containers"
193 ]
194 },
195 "delete": {
196 "description": "Deletes a Container.",
197 "httpMethod": "DELETE",
198 "id": "tagmanager.accounts.containers.delete",
199 "parameterOrder": [
200 "accountId",
201 "containerId"
202 ],
203 "parameters": {
204 "accountId": {
205 "description": "The GTM Account ID.",
206 "location": "path",
207 "required": true,
208 "type": "string"
209 },
210 "containerId": {
211 "description": "The GTM Container ID.",
212 "location": "path",
213 "required": true,
214 "type": "string"
215 }
216 },
217 "path": "accounts/{accountId}/containers/{containerI d}",
218 "scopes": [
219 "https://www.googleapis.com/auth/tagmanager.dele te.containers"
220 ]
221 },
222 "get": {
223 "description": "Gets a Container.",
224 "httpMethod": "GET",
225 "id": "tagmanager.accounts.containers.get",
226 "parameterOrder": [
227 "accountId",
228 "containerId"
229 ],
230 "parameters": {
231 "accountId": {
232 "description": "The GTM Account ID.",
233 "location": "path",
234 "required": true,
235 "type": "string"
236 },
237 "containerId": {
238 "description": "The GTM Container ID.",
239 "location": "path",
240 "required": true,
241 "type": "string"
242 }
243 },
244 "path": "accounts/{accountId}/containers/{containerI d}",
245 "response": {
246 "$ref": "Container"
247 },
248 "scopes": [
249 "https://www.googleapis.com/auth/tagmanager.edit .containers",
250 "https://www.googleapis.com/auth/tagmanager.read only"
251 ]
252 },
253 "list": {
254 "description": "Lists all Containers that belongs to a GTM Account.",
255 "httpMethod": "GET",
256 "id": "tagmanager.accounts.containers.list",
257 "parameterOrder": [
258 "accountId"
259 ],
260 "parameters": {
261 "accountId": {
262 "description": "The GTM Account ID.",
263 "location": "path",
264 "required": true,
265 "type": "string"
266 }
267 },
268 "path": "accounts/{accountId}/containers",
269 "response": {
270 "$ref": "ListContainersResponse"
271 },
272 "scopes": [
273 "https://www.googleapis.com/auth/tagmanager.edit .containers",
274 "https://www.googleapis.com/auth/tagmanager.read only"
275 ]
276 },
277 "update": {
278 "description": "Updates a Container.",
279 "httpMethod": "PUT",
280 "id": "tagmanager.accounts.containers.update",
281 "parameterOrder": [
282 "accountId",
283 "containerId"
284 ],
285 "parameters": {
286 "accountId": {
287 "description": "The GTM Account ID.",
288 "location": "path",
289 "required": true,
290 "type": "string"
291 },
292 "containerId": {
293 "description": "The GTM Container ID.",
294 "location": "path",
295 "required": true,
296 "type": "string"
297 },
298 "fingerprint": {
299 "description": "When provided, this fingerpr int must match the fingerprint of the container in storage.",
300 "location": "query",
301 "type": "string"
302 }
303 },
304 "path": "accounts/{accountId}/containers/{containerI d}",
305 "request": {
306 "$ref": "Container"
307 },
308 "response": {
309 "$ref": "Container"
310 },
311 "scopes": [
312 "https://www.googleapis.com/auth/tagmanager.edit .containers"
313 ]
314 }
315 },
316 "resources": {
317 "macros": {
318 "methods": {
319 "create": {
320 "description": "Creates a GTM Macro.",
321 "httpMethod": "POST",
322 "id": "tagmanager.accounts.containers.macros .create",
323 "parameterOrder": [
324 "accountId",
325 "containerId"
326 ],
327 "parameters": {
328 "accountId": {
329 "description": "The GTM Account ID." ,
330 "location": "path",
331 "required": true,
332 "type": "string"
333 },
334 "containerId": {
335 "description": "The GTM Container ID .",
336 "location": "path",
337 "required": true,
338 "type": "string"
339 }
340 },
341 "path": "accounts/{accountId}/containers/{co ntainerId}/macros",
342 "request": {
343 "$ref": "Macro"
344 },
345 "response": {
346 "$ref": "Macro"
347 },
348 "scopes": [
349 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
350 ]
351 },
352 "delete": {
353 "description": "Deletes a GTM Macro.",
354 "httpMethod": "DELETE",
355 "id": "tagmanager.accounts.containers.macros .delete",
356 "parameterOrder": [
357 "accountId",
358 "containerId",
359 "macroId"
360 ],
361 "parameters": {
362 "accountId": {
363 "description": "The GTM Account ID." ,
364 "location": "path",
365 "required": true,
366 "type": "string"
367 },
368 "containerId": {
369 "description": "The GTM Container ID .",
370 "location": "path",
371 "required": true,
372 "type": "string"
373 },
374 "macroId": {
375 "description": "The GTM Macro ID.",
376 "location": "path",
377 "required": true,
378 "type": "string"
379 }
380 },
381 "path": "accounts/{accountId}/containers/{co ntainerId}/macros/{macroId}",
382 "scopes": [
383 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
384 ]
385 },
386 "get": {
387 "description": "Gets a GTM Macro.",
388 "httpMethod": "GET",
389 "id": "tagmanager.accounts.containers.macros .get",
390 "parameterOrder": [
391 "accountId",
392 "containerId",
393 "macroId"
394 ],
395 "parameters": {
396 "accountId": {
397 "description": "The GTM Account ID." ,
398 "location": "path",
399 "required": true,
400 "type": "string"
401 },
402 "containerId": {
403 "description": "The GTM Container ID .",
404 "location": "path",
405 "required": true,
406 "type": "string"
407 },
408 "macroId": {
409 "description": "The GTM Macro ID.",
410 "location": "path",
411 "required": true,
412 "type": "string"
413 }
414 },
415 "path": "accounts/{accountId}/containers/{co ntainerId}/macros/{macroId}",
416 "response": {
417 "$ref": "Macro"
418 },
419 "scopes": [
420 "https://www.googleapis.com/auth/tagmana ger.edit.containers",
421 "https://www.googleapis.com/auth/tagmana ger.readonly"
422 ]
423 },
424 "list": {
425 "description": "Lists all GTM Macros of a Co ntainer.",
426 "httpMethod": "GET",
427 "id": "tagmanager.accounts.containers.macros .list",
428 "parameterOrder": [
429 "accountId",
430 "containerId"
431 ],
432 "parameters": {
433 "accountId": {
434 "description": "The GTM Account ID." ,
435 "location": "path",
436 "required": true,
437 "type": "string"
438 },
439 "containerId": {
440 "description": "The GTM Container ID .",
441 "location": "path",
442 "required": true,
443 "type": "string"
444 }
445 },
446 "path": "accounts/{accountId}/containers/{co ntainerId}/macros",
447 "response": {
448 "$ref": "ListMacrosResponse"
449 },
450 "scopes": [
451 "https://www.googleapis.com/auth/tagmana ger.edit.containers",
452 "https://www.googleapis.com/auth/tagmana ger.readonly"
453 ]
454 },
455 "update": {
456 "description": "Updates a GTM Macro.",
457 "httpMethod": "PUT",
458 "id": "tagmanager.accounts.containers.macros .update",
459 "parameterOrder": [
460 "accountId",
461 "containerId",
462 "macroId"
463 ],
464 "parameters": {
465 "accountId": {
466 "description": "The GTM Account ID." ,
467 "location": "path",
468 "required": true,
469 "type": "string"
470 },
471 "containerId": {
472 "description": "The GTM Container ID .",
473 "location": "path",
474 "required": true,
475 "type": "string"
476 },
477 "fingerprint": {
478 "description": "When provided, this fingerprint must match the fingerprint of the macro in storage.",
479 "location": "query",
480 "type": "string"
481 },
482 "macroId": {
483 "description": "The GTM Macro ID.",
484 "location": "path",
485 "required": true,
486 "type": "string"
487 }
488 },
489 "path": "accounts/{accountId}/containers/{co ntainerId}/macros/{macroId}",
490 "request": {
491 "$ref": "Macro"
492 },
493 "response": {
494 "$ref": "Macro"
495 },
496 "scopes": [
497 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
498 ]
499 }
500 }
501 },
502 "rules": {
503 "methods": {
504 "create": {
505 "description": "Creates a GTM Rule.",
506 "httpMethod": "POST",
507 "id": "tagmanager.accounts.containers.rules. create",
508 "parameterOrder": [
509 "accountId",
510 "containerId"
511 ],
512 "parameters": {
513 "accountId": {
514 "description": "The GTM Account ID." ,
515 "location": "path",
516 "required": true,
517 "type": "string"
518 },
519 "containerId": {
520 "description": "The GTM Container ID .",
521 "location": "path",
522 "required": true,
523 "type": "string"
524 }
525 },
526 "path": "accounts/{accountId}/containers/{co ntainerId}/rules",
527 "request": {
528 "$ref": "Rule"
529 },
530 "response": {
531 "$ref": "Rule"
532 },
533 "scopes": [
534 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
535 ]
536 },
537 "delete": {
538 "description": "Deletes a GTM Rule.",
539 "httpMethod": "DELETE",
540 "id": "tagmanager.accounts.containers.rules. delete",
541 "parameterOrder": [
542 "accountId",
543 "containerId",
544 "ruleId"
545 ],
546 "parameters": {
547 "accountId": {
548 "description": "The GTM Account ID." ,
549 "location": "path",
550 "required": true,
551 "type": "string"
552 },
553 "containerId": {
554 "description": "The GTM Container ID .",
555 "location": "path",
556 "required": true,
557 "type": "string"
558 },
559 "ruleId": {
560 "description": "The GTM Rule ID.",
561 "location": "path",
562 "required": true,
563 "type": "string"
564 }
565 },
566 "path": "accounts/{accountId}/containers/{co ntainerId}/rules/{ruleId}",
567 "scopes": [
568 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
569 ]
570 },
571 "get": {
572 "description": "Gets a GTM Rule.",
573 "httpMethod": "GET",
574 "id": "tagmanager.accounts.containers.rules. get",
575 "parameterOrder": [
576 "accountId",
577 "containerId",
578 "ruleId"
579 ],
580 "parameters": {
581 "accountId": {
582 "description": "The GTM Account ID." ,
583 "location": "path",
584 "required": true,
585 "type": "string"
586 },
587 "containerId": {
588 "description": "The GTM Container ID .",
589 "location": "path",
590 "required": true,
591 "type": "string"
592 },
593 "ruleId": {
594 "description": "The GTM Rule ID.",
595 "location": "path",
596 "required": true,
597 "type": "string"
598 }
599 },
600 "path": "accounts/{accountId}/containers/{co ntainerId}/rules/{ruleId}",
601 "response": {
602 "$ref": "Rule"
603 },
604 "scopes": [
605 "https://www.googleapis.com/auth/tagmana ger.edit.containers",
606 "https://www.googleapis.com/auth/tagmana ger.readonly"
607 ]
608 },
609 "list": {
610 "description": "Lists all GTM Rules of a Con tainer.",
611 "httpMethod": "GET",
612 "id": "tagmanager.accounts.containers.rules. list",
613 "parameterOrder": [
614 "accountId",
615 "containerId"
616 ],
617 "parameters": {
618 "accountId": {
619 "description": "The GTM Account ID." ,
620 "location": "path",
621 "required": true,
622 "type": "string"
623 },
624 "containerId": {
625 "description": "The GTM Container ID .",
626 "location": "path",
627 "required": true,
628 "type": "string"
629 }
630 },
631 "path": "accounts/{accountId}/containers/{co ntainerId}/rules",
632 "response": {
633 "$ref": "ListRulesResponse"
634 },
635 "scopes": [
636 "https://www.googleapis.com/auth/tagmana ger.edit.containers",
637 "https://www.googleapis.com/auth/tagmana ger.readonly"
638 ]
639 },
640 "update": {
641 "description": "Updates a GTM Rule.",
642 "httpMethod": "PUT",
643 "id": "tagmanager.accounts.containers.rules. update",
644 "parameterOrder": [
645 "accountId",
646 "containerId",
647 "ruleId"
648 ],
649 "parameters": {
650 "accountId": {
651 "description": "The GTM Account ID." ,
652 "location": "path",
653 "required": true,
654 "type": "string"
655 },
656 "containerId": {
657 "description": "The GTM Container ID .",
658 "location": "path",
659 "required": true,
660 "type": "string"
661 },
662 "fingerprint": {
663 "description": "When provided, this fingerprint must match the fingerprint of the rule in storage.",
664 "location": "query",
665 "type": "string"
666 },
667 "ruleId": {
668 "description": "The GTM Rule ID.",
669 "location": "path",
670 "required": true,
671 "type": "string"
672 }
673 },
674 "path": "accounts/{accountId}/containers/{co ntainerId}/rules/{ruleId}",
675 "request": {
676 "$ref": "Rule"
677 },
678 "response": {
679 "$ref": "Rule"
680 },
681 "scopes": [
682 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
683 ]
684 }
685 }
686 },
687 "tags": {
688 "methods": {
689 "create": {
690 "description": "Creates a GTM Tag.",
691 "httpMethod": "POST",
692 "id": "tagmanager.accounts.containers.tags.c reate",
693 "parameterOrder": [
694 "accountId",
695 "containerId"
696 ],
697 "parameters": {
698 "accountId": {
699 "description": "The GTM Account ID." ,
700 "location": "path",
701 "required": true,
702 "type": "string"
703 },
704 "containerId": {
705 "description": "The GTM Container ID .",
706 "location": "path",
707 "required": true,
708 "type": "string"
709 }
710 },
711 "path": "accounts/{accountId}/containers/{co ntainerId}/tags",
712 "request": {
713 "$ref": "Tag"
714 },
715 "response": {
716 "$ref": "Tag"
717 },
718 "scopes": [
719 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
720 ]
721 },
722 "delete": {
723 "description": "Deletes a GTM Tag.",
724 "httpMethod": "DELETE",
725 "id": "tagmanager.accounts.containers.tags.d elete",
726 "parameterOrder": [
727 "accountId",
728 "containerId",
729 "tagId"
730 ],
731 "parameters": {
732 "accountId": {
733 "description": "The GTM Account ID." ,
734 "location": "path",
735 "required": true,
736 "type": "string"
737 },
738 "containerId": {
739 "description": "The GTM Container ID .",
740 "location": "path",
741 "required": true,
742 "type": "string"
743 },
744 "tagId": {
745 "description": "The GTM Tag ID.",
746 "location": "path",
747 "required": true,
748 "type": "string"
749 }
750 },
751 "path": "accounts/{accountId}/containers/{co ntainerId}/tags/{tagId}",
752 "scopes": [
753 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
754 ]
755 },
756 "get": {
757 "description": "Gets a GTM Tag.",
758 "httpMethod": "GET",
759 "id": "tagmanager.accounts.containers.tags.g et",
760 "parameterOrder": [
761 "accountId",
762 "containerId",
763 "tagId"
764 ],
765 "parameters": {
766 "accountId": {
767 "description": "The GTM Account ID." ,
768 "location": "path",
769 "required": true,
770 "type": "string"
771 },
772 "containerId": {
773 "description": "The GTM Container ID .",
774 "location": "path",
775 "required": true,
776 "type": "string"
777 },
778 "tagId": {
779 "description": "The GTM Tag ID.",
780 "location": "path",
781 "required": true,
782 "type": "string"
783 }
784 },
785 "path": "accounts/{accountId}/containers/{co ntainerId}/tags/{tagId}",
786 "response": {
787 "$ref": "Tag"
788 },
789 "scopes": [
790 "https://www.googleapis.com/auth/tagmana ger.edit.containers",
791 "https://www.googleapis.com/auth/tagmana ger.readonly"
792 ]
793 },
794 "list": {
795 "description": "Lists all GTM Tags of a Cont ainer.",
796 "httpMethod": "GET",
797 "id": "tagmanager.accounts.containers.tags.l ist",
798 "parameterOrder": [
799 "accountId",
800 "containerId"
801 ],
802 "parameters": {
803 "accountId": {
804 "description": "The GTM Account ID." ,
805 "location": "path",
806 "required": true,
807 "type": "string"
808 },
809 "containerId": {
810 "description": "The GTM Container ID .",
811 "location": "path",
812 "required": true,
813 "type": "string"
814 }
815 },
816 "path": "accounts/{accountId}/containers/{co ntainerId}/tags",
817 "response": {
818 "$ref": "ListTagsResponse"
819 },
820 "scopes": [
821 "https://www.googleapis.com/auth/tagmana ger.edit.containers",
822 "https://www.googleapis.com/auth/tagmana ger.readonly"
823 ]
824 },
825 "update": {
826 "description": "Updates a GTM Tag.",
827 "httpMethod": "PUT",
828 "id": "tagmanager.accounts.containers.tags.u pdate",
829 "parameterOrder": [
830 "accountId",
831 "containerId",
832 "tagId"
833 ],
834 "parameters": {
835 "accountId": {
836 "description": "The GTM Account ID." ,
837 "location": "path",
838 "required": true,
839 "type": "string"
840 },
841 "containerId": {
842 "description": "The GTM Container ID .",
843 "location": "path",
844 "required": true,
845 "type": "string"
846 },
847 "fingerprint": {
848 "description": "When provided, this fingerprint must match the fingerprint of the tag in storage.",
849 "location": "query",
850 "type": "string"
851 },
852 "tagId": {
853 "description": "The GTM Tag ID.",
854 "location": "path",
855 "required": true,
856 "type": "string"
857 }
858 },
859 "path": "accounts/{accountId}/containers/{co ntainerId}/tags/{tagId}",
860 "request": {
861 "$ref": "Tag"
862 },
863 "response": {
864 "$ref": "Tag"
865 },
866 "scopes": [
867 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
868 ]
869 }
870 }
871 },
872 "triggers": {
873 "methods": {
874 "create": {
875 "description": "Creates a GTM Trigger.",
876 "httpMethod": "POST",
877 "id": "tagmanager.accounts.containers.trigge rs.create",
878 "parameterOrder": [
879 "accountId",
880 "containerId"
881 ],
882 "parameters": {
883 "accountId": {
884 "description": "The GTM Account ID." ,
885 "location": "path",
886 "required": true,
887 "type": "string"
888 },
889 "containerId": {
890 "description": "The GTM Container ID .",
891 "location": "path",
892 "required": true,
893 "type": "string"
894 }
895 },
896 "path": "accounts/{accountId}/containers/{co ntainerId}/triggers",
897 "request": {
898 "$ref": "Trigger"
899 },
900 "response": {
901 "$ref": "Trigger"
902 },
903 "scopes": [
904 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
905 ]
906 },
907 "delete": {
908 "description": "Deletes a GTM Trigger.",
909 "httpMethod": "DELETE",
910 "id": "tagmanager.accounts.containers.trigge rs.delete",
911 "parameterOrder": [
912 "accountId",
913 "containerId",
914 "triggerId"
915 ],
916 "parameters": {
917 "accountId": {
918 "description": "The GTM Account ID." ,
919 "location": "path",
920 "required": true,
921 "type": "string"
922 },
923 "containerId": {
924 "description": "The GTM Container ID .",
925 "location": "path",
926 "required": true,
927 "type": "string"
928 },
929 "triggerId": {
930 "description": "The GTM Trigger ID." ,
931 "location": "path",
932 "required": true,
933 "type": "string"
934 }
935 },
936 "path": "accounts/{accountId}/containers/{co ntainerId}/triggers/{triggerId}",
937 "scopes": [
938 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
939 ]
940 },
941 "get": {
942 "description": "Gets a GTM Trigger.",
943 "httpMethod": "GET",
944 "id": "tagmanager.accounts.containers.trigge rs.get",
945 "parameterOrder": [
946 "accountId",
947 "containerId",
948 "triggerId"
949 ],
950 "parameters": {
951 "accountId": {
952 "description": "The GTM Account ID." ,
953 "location": "path",
954 "required": true,
955 "type": "string"
956 },
957 "containerId": {
958 "description": "The GTM Container ID .",
959 "location": "path",
960 "required": true,
961 "type": "string"
962 },
963 "triggerId": {
964 "description": "The GTM Trigger ID." ,
965 "location": "path",
966 "required": true,
967 "type": "string"
968 }
969 },
970 "path": "accounts/{accountId}/containers/{co ntainerId}/triggers/{triggerId}",
971 "response": {
972 "$ref": "Trigger"
973 },
974 "scopes": [
975 "https://www.googleapis.com/auth/tagmana ger.edit.containers",
976 "https://www.googleapis.com/auth/tagmana ger.readonly"
977 ]
978 },
979 "list": {
980 "description": "Lists all GTM Triggers of a Container.",
981 "httpMethod": "GET",
982 "id": "tagmanager.accounts.containers.trigge rs.list",
983 "parameterOrder": [
984 "accountId",
985 "containerId"
986 ],
987 "parameters": {
988 "accountId": {
989 "description": "The GTM Account ID." ,
990 "location": "path",
991 "required": true,
992 "type": "string"
993 },
994 "containerId": {
995 "description": "The GTM Container ID .",
996 "location": "path",
997 "required": true,
998 "type": "string"
999 }
1000 },
1001 "path": "accounts/{accountId}/containers/{co ntainerId}/triggers",
1002 "response": {
1003 "$ref": "ListTriggersResponse"
1004 },
1005 "scopes": [
1006 "https://www.googleapis.com/auth/tagmana ger.edit.containers",
1007 "https://www.googleapis.com/auth/tagmana ger.readonly"
1008 ]
1009 },
1010 "update": {
1011 "description": "Updates a GTM Trigger.",
1012 "httpMethod": "PUT",
1013 "id": "tagmanager.accounts.containers.trigge rs.update",
1014 "parameterOrder": [
1015 "accountId",
1016 "containerId",
1017 "triggerId"
1018 ],
1019 "parameters": {
1020 "accountId": {
1021 "description": "The GTM Account ID." ,
1022 "location": "path",
1023 "required": true,
1024 "type": "string"
1025 },
1026 "containerId": {
1027 "description": "The GTM Container ID .",
1028 "location": "path",
1029 "required": true,
1030 "type": "string"
1031 },
1032 "fingerprint": {
1033 "description": "When provided, this fingerprint must match the fingerprint of the trigger in storage.",
1034 "location": "query",
1035 "type": "string"
1036 },
1037 "triggerId": {
1038 "description": "The GTM Trigger ID." ,
1039 "location": "path",
1040 "required": true,
1041 "type": "string"
1042 }
1043 },
1044 "path": "accounts/{accountId}/containers/{co ntainerId}/triggers/{triggerId}",
1045 "request": {
1046 "$ref": "Trigger"
1047 },
1048 "response": {
1049 "$ref": "Trigger"
1050 },
1051 "scopes": [
1052 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
1053 ]
1054 }
1055 }
1056 },
1057 "variables": {
1058 "methods": {
1059 "create": {
1060 "description": "Creates a GTM Variable.",
1061 "httpMethod": "POST",
1062 "id": "tagmanager.accounts.containers.variab les.create",
1063 "parameterOrder": [
1064 "accountId",
1065 "containerId"
1066 ],
1067 "parameters": {
1068 "accountId": {
1069 "description": "The GTM Account ID." ,
1070 "location": "path",
1071 "required": true,
1072 "type": "string"
1073 },
1074 "containerId": {
1075 "description": "The GTM Container ID .",
1076 "location": "path",
1077 "required": true,
1078 "type": "string"
1079 }
1080 },
1081 "path": "accounts/{accountId}/containers/{co ntainerId}/variables",
1082 "request": {
1083 "$ref": "Variable"
1084 },
1085 "response": {
1086 "$ref": "Variable"
1087 },
1088 "scopes": [
1089 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
1090 ]
1091 },
1092 "delete": {
1093 "description": "Deletes a GTM Variable.",
1094 "httpMethod": "DELETE",
1095 "id": "tagmanager.accounts.containers.variab les.delete",
1096 "parameterOrder": [
1097 "accountId",
1098 "containerId",
1099 "variableId"
1100 ],
1101 "parameters": {
1102 "accountId": {
1103 "description": "The GTM Account ID." ,
1104 "location": "path",
1105 "required": true,
1106 "type": "string"
1107 },
1108 "containerId": {
1109 "description": "The GTM Container ID .",
1110 "location": "path",
1111 "required": true,
1112 "type": "string"
1113 },
1114 "variableId": {
1115 "description": "The GTM Variable ID. ",
1116 "location": "path",
1117 "required": true,
1118 "type": "string"
1119 }
1120 },
1121 "path": "accounts/{accountId}/containers/{co ntainerId}/variables/{variableId}",
1122 "scopes": [
1123 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
1124 ]
1125 },
1126 "get": {
1127 "description": "Gets a GTM Variable.",
1128 "httpMethod": "GET",
1129 "id": "tagmanager.accounts.containers.variab les.get",
1130 "parameterOrder": [
1131 "accountId",
1132 "containerId",
1133 "variableId"
1134 ],
1135 "parameters": {
1136 "accountId": {
1137 "description": "The GTM Account ID." ,
1138 "location": "path",
1139 "required": true,
1140 "type": "string"
1141 },
1142 "containerId": {
1143 "description": "The GTM Container ID .",
1144 "location": "path",
1145 "required": true,
1146 "type": "string"
1147 },
1148 "variableId": {
1149 "description": "The GTM Variable ID. ",
1150 "location": "path",
1151 "required": true,
1152 "type": "string"
1153 }
1154 },
1155 "path": "accounts/{accountId}/containers/{co ntainerId}/variables/{variableId}",
1156 "response": {
1157 "$ref": "Variable"
1158 },
1159 "scopes": [
1160 "https://www.googleapis.com/auth/tagmana ger.edit.containers",
1161 "https://www.googleapis.com/auth/tagmana ger.readonly"
1162 ]
1163 },
1164 "list": {
1165 "description": "Lists all GTM Variables of a Container.",
1166 "httpMethod": "GET",
1167 "id": "tagmanager.accounts.containers.variab les.list",
1168 "parameterOrder": [
1169 "accountId",
1170 "containerId"
1171 ],
1172 "parameters": {
1173 "accountId": {
1174 "description": "The GTM Account ID." ,
1175 "location": "path",
1176 "required": true,
1177 "type": "string"
1178 },
1179 "containerId": {
1180 "description": "The GTM Container ID .",
1181 "location": "path",
1182 "required": true,
1183 "type": "string"
1184 }
1185 },
1186 "path": "accounts/{accountId}/containers/{co ntainerId}/variables",
1187 "response": {
1188 "$ref": "ListVariablesResponse"
1189 },
1190 "scopes": [
1191 "https://www.googleapis.com/auth/tagmana ger.edit.containers",
1192 "https://www.googleapis.com/auth/tagmana ger.readonly"
1193 ]
1194 },
1195 "update": {
1196 "description": "Updates a GTM Variable.",
1197 "httpMethod": "PUT",
1198 "id": "tagmanager.accounts.containers.variab les.update",
1199 "parameterOrder": [
1200 "accountId",
1201 "containerId",
1202 "variableId"
1203 ],
1204 "parameters": {
1205 "accountId": {
1206 "description": "The GTM Account ID." ,
1207 "location": "path",
1208 "required": true,
1209 "type": "string"
1210 },
1211 "containerId": {
1212 "description": "The GTM Container ID .",
1213 "location": "path",
1214 "required": true,
1215 "type": "string"
1216 },
1217 "fingerprint": {
1218 "description": "When provided, this fingerprint must match the fingerprint of the variable in storage.",
1219 "location": "query",
1220 "type": "string"
1221 },
1222 "variableId": {
1223 "description": "The GTM Variable ID. ",
1224 "location": "path",
1225 "required": true,
1226 "type": "string"
1227 }
1228 },
1229 "path": "accounts/{accountId}/containers/{co ntainerId}/variables/{variableId}",
1230 "request": {
1231 "$ref": "Variable"
1232 },
1233 "response": {
1234 "$ref": "Variable"
1235 },
1236 "scopes": [
1237 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
1238 ]
1239 }
1240 }
1241 },
1242 "versions": {
1243 "methods": {
1244 "create": {
1245 "description": "Creates a Container Version. ",
1246 "httpMethod": "POST",
1247 "id": "tagmanager.accounts.containers.versio ns.create",
1248 "parameterOrder": [
1249 "accountId",
1250 "containerId"
1251 ],
1252 "parameters": {
1253 "accountId": {
1254 "description": "The GTM Account ID." ,
1255 "location": "path",
1256 "required": true,
1257 "type": "string"
1258 },
1259 "containerId": {
1260 "description": "The GTM Container ID .",
1261 "location": "path",
1262 "required": true,
1263 "type": "string"
1264 }
1265 },
1266 "path": "accounts/{accountId}/containers/{co ntainerId}/versions",
1267 "request": {
1268 "$ref": "CreateContainerVersionRequestVe rsionOptions"
1269 },
1270 "response": {
1271 "$ref": "CreateContainerVersionResponse"
1272 },
1273 "scopes": [
1274 "https://www.googleapis.com/auth/tagmana ger.edit.containerversions"
1275 ]
1276 },
1277 "delete": {
1278 "description": "Deletes a Container Version. ",
1279 "httpMethod": "DELETE",
1280 "id": "tagmanager.accounts.containers.versio ns.delete",
1281 "parameterOrder": [
1282 "accountId",
1283 "containerId",
1284 "containerVersionId"
1285 ],
1286 "parameters": {
1287 "accountId": {
1288 "description": "The GTM Account ID." ,
1289 "location": "path",
1290 "required": true,
1291 "type": "string"
1292 },
1293 "containerId": {
1294 "description": "The GTM Container ID .",
1295 "location": "path",
1296 "required": true,
1297 "type": "string"
1298 },
1299 "containerVersionId": {
1300 "description": "The GTM Container Ve rsion ID.",
1301 "location": "path",
1302 "required": true,
1303 "type": "string"
1304 }
1305 },
1306 "path": "accounts/{accountId}/containers/{co ntainerId}/versions/{containerVersionId}",
1307 "scopes": [
1308 "https://www.googleapis.com/auth/tagmana ger.edit.containerversions"
1309 ]
1310 },
1311 "get": {
1312 "description": "Gets a Container Version.",
1313 "httpMethod": "GET",
1314 "id": "tagmanager.accounts.containers.versio ns.get",
1315 "parameterOrder": [
1316 "accountId",
1317 "containerId",
1318 "containerVersionId"
1319 ],
1320 "parameters": {
1321 "accountId": {
1322 "description": "The GTM Account ID." ,
1323 "location": "path",
1324 "required": true,
1325 "type": "string"
1326 },
1327 "containerId": {
1328 "description": "The GTM Container ID .",
1329 "location": "path",
1330 "required": true,
1331 "type": "string"
1332 },
1333 "containerVersionId": {
1334 "description": "The GTM Container Ve rsion ID. Specify published to retrieve the currently published version.",
1335 "location": "path",
1336 "required": true,
1337 "type": "string"
1338 }
1339 },
1340 "path": "accounts/{accountId}/containers/{co ntainerId}/versions/{containerVersionId}",
1341 "response": {
1342 "$ref": "ContainerVersion"
1343 },
1344 "scopes": [
1345 "https://www.googleapis.com/auth/tagmana ger.edit.containers",
1346 "https://www.googleapis.com/auth/tagmana ger.edit.containerversions",
1347 "https://www.googleapis.com/auth/tagmana ger.readonly"
1348 ]
1349 },
1350 "list": {
1351 "description": "Lists all Container Versions of a GTM Container.",
1352 "httpMethod": "GET",
1353 "id": "tagmanager.accounts.containers.versio ns.list",
1354 "parameterOrder": [
1355 "accountId",
1356 "containerId"
1357 ],
1358 "parameters": {
1359 "accountId": {
1360 "description": "The GTM Account ID." ,
1361 "location": "path",
1362 "required": true,
1363 "type": "string"
1364 },
1365 "containerId": {
1366 "description": "The GTM Container ID .",
1367 "location": "path",
1368 "required": true,
1369 "type": "string"
1370 },
1371 "headers": {
1372 "default": "false",
1373 "description": "Retrieve headers onl y when true.",
1374 "location": "query",
1375 "type": "boolean"
1376 }
1377 },
1378 "path": "accounts/{accountId}/containers/{co ntainerId}/versions",
1379 "response": {
1380 "$ref": "ListContainerVersionsResponse"
1381 },
1382 "scopes": [
1383 "https://www.googleapis.com/auth/tagmana ger.edit.containers",
1384 "https://www.googleapis.com/auth/tagmana ger.edit.containerversions",
1385 "https://www.googleapis.com/auth/tagmana ger.readonly"
1386 ]
1387 },
1388 "publish": {
1389 "description": "Publishes a Container Versio n.",
1390 "httpMethod": "POST",
1391 "id": "tagmanager.accounts.containers.versio ns.publish",
1392 "parameterOrder": [
1393 "accountId",
1394 "containerId",
1395 "containerVersionId"
1396 ],
1397 "parameters": {
1398 "accountId": {
1399 "description": "The GTM Account ID." ,
1400 "location": "path",
1401 "required": true,
1402 "type": "string"
1403 },
1404 "containerId": {
1405 "description": "The GTM Container ID .",
1406 "location": "path",
1407 "required": true,
1408 "type": "string"
1409 },
1410 "containerVersionId": {
1411 "description": "The GTM Container Ve rsion ID.",
1412 "location": "path",
1413 "required": true,
1414 "type": "string"
1415 },
1416 "fingerprint": {
1417 "description": "When provided, this fingerprint must match the fingerprint of the container version in storage.",
1418 "location": "query",
1419 "type": "string"
1420 }
1421 },
1422 "path": "accounts/{accountId}/containers/{co ntainerId}/versions/{containerVersionId}/publish",
1423 "response": {
1424 "$ref": "PublishContainerVersionResponse "
1425 },
1426 "scopes": [
1427 "https://www.googleapis.com/auth/tagmana ger.publish"
1428 ]
1429 },
1430 "restore": {
1431 "description": "Restores a Container Version . This will overwrite the container's current configuration (including its macro s, rules and tags). The operation will not have any effect on the version that i s being served (i.e. the published version).",
1432 "httpMethod": "POST",
1433 "id": "tagmanager.accounts.containers.versio ns.restore",
1434 "parameterOrder": [
1435 "accountId",
1436 "containerId",
1437 "containerVersionId"
1438 ],
1439 "parameters": {
1440 "accountId": {
1441 "description": "The GTM Account ID." ,
1442 "location": "path",
1443 "required": true,
1444 "type": "string"
1445 },
1446 "containerId": {
1447 "description": "The GTM Container ID .",
1448 "location": "path",
1449 "required": true,
1450 "type": "string"
1451 },
1452 "containerVersionId": {
1453 "description": "The GTM Container Ve rsion ID.",
1454 "location": "path",
1455 "required": true,
1456 "type": "string"
1457 }
1458 },
1459 "path": "accounts/{accountId}/containers/{co ntainerId}/versions/{containerVersionId}/restore",
1460 "response": {
1461 "$ref": "ContainerVersion"
1462 },
1463 "scopes": [
1464 "https://www.googleapis.com/auth/tagmana ger.edit.containers"
1465 ]
1466 },
1467 "undelete": {
1468 "description": "Undeletes a Container Versio n.",
1469 "httpMethod": "POST",
1470 "id": "tagmanager.accounts.containers.versio ns.undelete",
1471 "parameterOrder": [
1472 "accountId",
1473 "containerId",
1474 "containerVersionId"
1475 ],
1476 "parameters": {
1477 "accountId": {
1478 "description": "The GTM Account ID." ,
1479 "location": "path",
1480 "required": true,
1481 "type": "string"
1482 },
1483 "containerId": {
1484 "description": "The GTM Container ID .",
1485 "location": "path",
1486 "required": true,
1487 "type": "string"
1488 },
1489 "containerVersionId": {
1490 "description": "The GTM Container Ve rsion ID.",
1491 "location": "path",
1492 "required": true,
1493 "type": "string"
1494 }
1495 },
1496 "path": "accounts/{accountId}/containers/{co ntainerId}/versions/{containerVersionId}/undelete",
1497 "response": {
1498 "$ref": "ContainerVersion"
1499 },
1500 "scopes": [
1501 "https://www.googleapis.com/auth/tagmana ger.edit.containerversions"
1502 ]
1503 },
1504 "update": {
1505 "description": "Updates a Container Version. ",
1506 "httpMethod": "PUT",
1507 "id": "tagmanager.accounts.containers.versio ns.update",
1508 "parameterOrder": [
1509 "accountId",
1510 "containerId",
1511 "containerVersionId"
1512 ],
1513 "parameters": {
1514 "accountId": {
1515 "description": "The GTM Account ID." ,
1516 "location": "path",
1517 "required": true,
1518 "type": "string"
1519 },
1520 "containerId": {
1521 "description": "The GTM Container ID .",
1522 "location": "path",
1523 "required": true,
1524 "type": "string"
1525 },
1526 "containerVersionId": {
1527 "description": "The GTM Container Ve rsion ID.",
1528 "location": "path",
1529 "required": true,
1530 "type": "string"
1531 },
1532 "fingerprint": {
1533 "description": "When provided, this fingerprint must match the fingerprint of the container version in storage.",
1534 "location": "query",
1535 "type": "string"
1536 }
1537 },
1538 "path": "accounts/{accountId}/containers/{co ntainerId}/versions/{containerVersionId}",
1539 "request": {
1540 "$ref": "ContainerVersion"
1541 },
1542 "response": {
1543 "$ref": "ContainerVersion"
1544 },
1545 "scopes": [
1546 "https://www.googleapis.com/auth/tagmana ger.edit.containerversions"
1547 ]
1548 }
1549 }
1550 }
1551 }
1552 },
1553 "permissions": {
1554 "methods": {
1555 "create": {
1556 "description": "Creates a user's Account & Container Permissions.",
1557 "httpMethod": "POST",
1558 "id": "tagmanager.accounts.permissions.create",
1559 "parameterOrder": [
1560 "accountId"
1561 ],
1562 "parameters": {
1563 "accountId": {
1564 "description": "The GTM Account ID.",
1565 "location": "path",
1566 "required": true,
1567 "type": "string"
1568 }
1569 },
1570 "path": "accounts/{accountId}/permissions",
1571 "request": {
1572 "$ref": "UserAccess"
1573 },
1574 "response": {
1575 "$ref": "UserAccess"
1576 },
1577 "scopes": [
1578 "https://www.googleapis.com/auth/tagmanager.mana ge.users"
1579 ]
1580 },
1581 "delete": {
1582 "description": "Removes a user from the account, rev oking access to it and all of its containers.",
1583 "httpMethod": "DELETE",
1584 "id": "tagmanager.accounts.permissions.delete",
1585 "parameterOrder": [
1586 "accountId",
1587 "permissionId"
1588 ],
1589 "parameters": {
1590 "accountId": {
1591 "description": "The GTM Account ID.",
1592 "location": "path",
1593 "required": true,
1594 "type": "string"
1595 },
1596 "permissionId": {
1597 "description": "The GTM User ID.",
1598 "location": "path",
1599 "required": true,
1600 "type": "string"
1601 }
1602 },
1603 "path": "accounts/{accountId}/permissions/{permissio nId}",
1604 "scopes": [
1605 "https://www.googleapis.com/auth/tagmanager.mana ge.users"
1606 ]
1607 },
1608 "get": {
1609 "description": "Gets a user's Account & Container Pe rmissions.",
1610 "httpMethod": "GET",
1611 "id": "tagmanager.accounts.permissions.get",
1612 "parameterOrder": [
1613 "accountId",
1614 "permissionId"
1615 ],
1616 "parameters": {
1617 "accountId": {
1618 "description": "The GTM Account ID.",
1619 "location": "path",
1620 "required": true,
1621 "type": "string"
1622 },
1623 "permissionId": {
1624 "description": "The GTM User ID.",
1625 "location": "path",
1626 "required": true,
1627 "type": "string"
1628 }
1629 },
1630 "path": "accounts/{accountId}/permissions/{permissio nId}",
1631 "response": {
1632 "$ref": "UserAccess"
1633 },
1634 "scopes": [
1635 "https://www.googleapis.com/auth/tagmanager.mana ge.users"
1636 ]
1637 },
1638 "list": {
1639 "description": "List all users that have access to t he account along with Account and Container Permissions granted to each of them. ",
1640 "httpMethod": "GET",
1641 "id": "tagmanager.accounts.permissions.list",
1642 "parameterOrder": [
1643 "accountId"
1644 ],
1645 "parameters": {
1646 "accountId": {
1647 "description": "The GTM Account ID. @require d tagmanager.accounts.permissions.list",
1648 "location": "path",
1649 "required": true,
1650 "type": "string"
1651 }
1652 },
1653 "path": "accounts/{accountId}/permissions",
1654 "response": {
1655 "$ref": "ListAccountUsersResponse"
1656 },
1657 "scopes": [
1658 "https://www.googleapis.com/auth/tagmanager.mana ge.users"
1659 ]
1660 },
1661 "update": {
1662 "description": "Updates a user's Account & Container Permissions.",
1663 "httpMethod": "PUT",
1664 "id": "tagmanager.accounts.permissions.update",
1665 "parameterOrder": [
1666 "accountId",
1667 "permissionId"
1668 ],
1669 "parameters": {
1670 "accountId": {
1671 "description": "The GTM Account ID.",
1672 "location": "path",
1673 "required": true,
1674 "type": "string"
1675 },
1676 "permissionId": {
1677 "description": "The GTM User ID.",
1678 "location": "path",
1679 "required": true,
1680 "type": "string"
1681 }
1682 },
1683 "path": "accounts/{accountId}/permissions/{permissio nId}",
1684 "request": {
1685 "$ref": "UserAccess"
1686 },
1687 "response": {
1688 "$ref": "UserAccess"
1689 },
1690 "scopes": [
1691 "https://www.googleapis.com/auth/tagmanager.mana ge.users"
1692 ]
1693 }
1694 }
1695 }
1696 }
1697 }
1698 },
1699 "revision": "20141024",
1700 "rootUrl": "https://www.googleapis.com/",
1701 "schemas": {
1702 "Account": {
1703 "description": "Represents a Google Tag Manager Account.",
1704 "id": "Account",
1705 "properties": {
1706 "accountId": {
1707 "description": "The Account ID uniquely identifies the GTM A ccount.",
1708 "type": "string"
1709 },
1710 "fingerprint": {
1711 "description": "The fingerprint of the GTM Account as comput ed at storage time. This value is recomputed whenever the account is modified.",
1712 "type": "string"
1713 },
1714 "name": {
1715 "description": "Account display name.",
1716 "type": "string"
1717 },
1718 "shareData": {
1719 "description": "Whether the account shares data anonymously with Google and others.",
1720 "type": "boolean"
1721 }
1722 },
1723 "type": "object"
1724 },
1725 "AccountAccess": {
1726 "description": "Defines the Google Tag Manager Account access permis sions.",
1727 "id": "AccountAccess",
1728 "properties": {
1729 "permission": {
1730 "annotations": {
1731 "required": [
1732 "tagmanager.accounts.permissions.create"
1733 ]
1734 },
1735 "description": "List of Account permissions. Valid account p ermissions are read and manage.",
1736 "items": {
1737 "enum": [
1738 "delete",
1739 "edit",
1740 "manage",
1741 "publish",
1742 "read"
1743 ],
1744 "enumDescriptions": [
1745 "",
1746 "",
1747 "",
1748 "",
1749 ""
1750 ],
1751 "type": "string"
1752 },
1753 "type": "array"
1754 }
1755 },
1756 "type": "object"
1757 },
1758 "Condition": {
1759 "description": "Represents a predicate.",
1760 "id": "Condition",
1761 "properties": {
1762 "parameter": {
1763 "annotations": {
1764 "required": [
1765 "tagmanager.accounts.containers.rules.create",
1766 "tagmanager.accounts.containers.rules.update"
1767 ]
1768 },
1769 "description": "A list of named parameters (key/value), depe nding on the condition's type. Notes: \n- For binary operators, include paramete rs named arg0 and arg1 for specifying the left and right operands, respectively. \n- At this time, the left operand (arg0) must be a reference to a macro. \n- F or case-insensitive Regex matching, include a boolean parameter named ignore_cas e that is set to true. If not specified or set to any other value, the matching will be case sensitive. \n- To negate an operator, include a boolean parameter n amed negate boolean parameter that is set to true.",
1770 "items": {
1771 "$ref": "Parameter"
1772 },
1773 "type": "array"
1774 },
1775 "type": {
1776 "annotations": {
1777 "required": [
1778 "tagmanager.accounts.containers.rules.create",
1779 "tagmanager.accounts.containers.rules.update"
1780 ]
1781 },
1782 "description": "The type of operator for this condition.",
1783 "enum": [
1784 "contains",
1785 "endsWith",
1786 "equals",
1787 "greater",
1788 "greaterOrEquals",
1789 "less",
1790 "lessOrEquals",
1791 "matchRegex",
1792 "startsWith"
1793 ],
1794 "enumDescriptions": [
1795 "",
1796 "",
1797 "",
1798 "",
1799 "",
1800 "",
1801 "",
1802 "",
1803 ""
1804 ],
1805 "type": "string"
1806 }
1807 },
1808 "type": "object"
1809 },
1810 "Container": {
1811 "description": "Represents a Google Tag Manager Container.",
1812 "id": "Container",
1813 "properties": {
1814 "accountId": {
1815 "description": "GTM Account ID.",
1816 "type": "string"
1817 },
1818 "containerId": {
1819 "description": "The Container ID uniquely identifies the GTM Container.",
1820 "type": "string"
1821 },
1822 "domainName": {
1823 "description": "Optional list of domain names associated wit h the Container.",
1824 "items": {
1825 "type": "string"
1826 },
1827 "type": "array"
1828 },
1829 "fingerprint": {
1830 "description": "The fingerprint of the GTM Container as comp uted at storage time. This value is recomputed whenever the account is modified. ",
1831 "type": "string"
1832 },
1833 "name": {
1834 "annotations": {
1835 "required": [
1836 "tagmanager.accounts.containers.create"
1837 ]
1838 },
1839 "description": "Container display name.",
1840 "type": "string"
1841 },
1842 "notes": {
1843 "description": "Container Notes.",
1844 "type": "string"
1845 },
1846 "publicId": {
1847 "description": "Container Public ID.",
1848 "type": "string"
1849 },
1850 "timeZoneCountryId": {
1851 "annotations": {
1852 "required": [
1853 "tagmanager.accounts.containers.create"
1854 ]
1855 },
1856 "description": "Container Country ID.",
1857 "type": "string"
1858 },
1859 "timeZoneId": {
1860 "annotations": {
1861 "required": [
1862 "tagmanager.accounts.containers.create"
1863 ]
1864 },
1865 "description": "Container Time Zone ID.",
1866 "type": "string"
1867 },
1868 "usageContext": {
1869 "annotations": {
1870 "required": [
1871 "tagmanager.accounts.containers.create"
1872 ]
1873 },
1874 "description": "List of Usage Contexts for the Container. Va lid values include: web, android, ios.",
1875 "items": {
1876 "enum": [
1877 "android",
1878 "ios",
1879 "web"
1880 ],
1881 "enumDescriptions": [
1882 "",
1883 "",
1884 ""
1885 ],
1886 "type": "string"
1887 },
1888 "type": "array"
1889 }
1890 },
1891 "type": "object"
1892 },
1893 "ContainerAccess": {
1894 "description": "Defines the Google Tag Manager Container access perm issions.",
1895 "id": "ContainerAccess",
1896 "properties": {
1897 "containerId": {
1898 "description": "GTM Container ID.",
1899 "type": "string"
1900 },
1901 "permission": {
1902 "description": "List of Container permissions. Valid contain er permissions are: read, edit, delete, publish.",
1903 "items": {
1904 "enum": [
1905 "delete",
1906 "edit",
1907 "manage",
1908 "publish",
1909 "read"
1910 ],
1911 "enumDescriptions": [
1912 "",
1913 "",
1914 "",
1915 "",
1916 ""
1917 ],
1918 "type": "string"
1919 },
1920 "type": "array"
1921 }
1922 },
1923 "type": "object"
1924 },
1925 "ContainerVersion": {
1926 "description": "Represents a Google Tag Manager Container Version.",
1927 "id": "ContainerVersion",
1928 "properties": {
1929 "accountId": {
1930 "description": "GTM Account ID.",
1931 "type": "string"
1932 },
1933 "container": {
1934 "$ref": "Container",
1935 "description": "The container that this version was taken fr om."
1936 },
1937 "containerId": {
1938 "description": "GTM Container ID.",
1939 "type": "string"
1940 },
1941 "containerVersionId": {
1942 "description": "The Container Version ID uniquely identifies the GTM Container Version.",
1943 "type": "string"
1944 },
1945 "deleted": {
1946 "description": "A value of true indicates this container ver sion has been deleted.",
1947 "type": "boolean"
1948 },
1949 "fingerprint": {
1950 "description": "The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container ve rsion is modified.",
1951 "type": "string"
1952 },
1953 "macro": {
1954 "description": "The macros in the container that this versio n was taken from.",
1955 "items": {
1956 "$ref": "Macro"
1957 },
1958 "type": "array"
1959 },
1960 "name": {
1961 "description": "Container version display name.",
1962 "type": "string"
1963 },
1964 "notes": {
1965 "description": "User notes on how to apply this container ve rsion in the container.",
1966 "type": "string"
1967 },
1968 "rule": {
1969 "description": "The rules in the container that this version was taken from.",
1970 "items": {
1971 "$ref": "Rule"
1972 },
1973 "type": "array"
1974 },
1975 "tag": {
1976 "description": "The tags in the container that this version was taken from.",
1977 "items": {
1978 "$ref": "Tag"
1979 },
1980 "type": "array"
1981 },
1982 "trigger": {
1983 "description": "The triggers in the container that this vers ion was taken from.",
1984 "items": {
1985 "$ref": "Trigger"
1986 },
1987 "type": "array"
1988 },
1989 "variable": {
1990 "description": "The variables in the container that this ver sion was taken from.",
1991 "items": {
1992 "$ref": "Variable"
1993 },
1994 "type": "array"
1995 }
1996 },
1997 "type": "object"
1998 },
1999 "ContainerVersionHeader": {
2000 "description": "Represents a Google Tag Manager Container Version He ader.",
2001 "id": "ContainerVersionHeader",
2002 "properties": {
2003 "accountId": {
2004 "description": "GTM Account ID.",
2005 "type": "string"
2006 },
2007 "containerId": {
2008 "description": "GTM Container ID.",
2009 "type": "string"
2010 },
2011 "containerVersionId": {
2012 "description": "The Container Version ID uniquely identifies the GTM Container Version.",
2013 "type": "string"
2014 },
2015 "deleted": {
2016 "description": "A value of true indicates this container ver sion has been deleted.",
2017 "type": "boolean"
2018 },
2019 "name": {
2020 "description": "Container version display name.",
2021 "type": "string"
2022 },
2023 "numMacros": {
2024 "description": "Number of macros in the container version.",
2025 "type": "string"
2026 },
2027 "numRules": {
2028 "description": "Number of rules in the container version.",
2029 "type": "string"
2030 },
2031 "numTags": {
2032 "description": "Number of tags in the container version.",
2033 "type": "string"
2034 },
2035 "numTriggers": {
2036 "description": "Number of triggers in the container version. ",
2037 "type": "string"
2038 },
2039 "numVariables": {
2040 "description": "Number of variables in the container version .",
2041 "type": "string"
2042 }
2043 },
2044 "type": "object"
2045 },
2046 "CreateContainerVersionRequestVersionOptions": {
2047 "description": "Options for new container versions.",
2048 "id": "CreateContainerVersionRequestVersionOptions",
2049 "properties": {
2050 "name": {
2051 "description": "The name of the container version to be crea ted.",
2052 "type": "string"
2053 },
2054 "notes": {
2055 "description": "The notes of the container version to be cre ated.",
2056 "type": "string"
2057 },
2058 "quickPreview": {
2059 "description": "The creation of this version may be for quic k preview and shouldn't be saved.",
2060 "type": "boolean"
2061 }
2062 },
2063 "type": "object"
2064 },
2065 "CreateContainerVersionResponse": {
2066 "description": "Create container versions response.",
2067 "id": "CreateContainerVersionResponse",
2068 "properties": {
2069 "compilerError": {
2070 "description": "Compiler errors or not.",
2071 "type": "boolean"
2072 },
2073 "containerVersion": {
2074 "$ref": "ContainerVersion",
2075 "description": "The container version created."
2076 }
2077 },
2078 "type": "object"
2079 },
2080 "ListAccountUsersResponse": {
2081 "description": "List AccountUsers Response.",
2082 "id": "ListAccountUsersResponse",
2083 "properties": {
2084 "userAccess": {
2085 "description": "All GTM AccountUsers of a GTM Account.",
2086 "items": {
2087 "$ref": "UserAccess"
2088 },
2089 "type": "array"
2090 }
2091 },
2092 "type": "object"
2093 },
2094 "ListAccountsResponse": {
2095 "description": "List Accounts Response.",
2096 "id": "ListAccountsResponse",
2097 "properties": {
2098 "accounts": {
2099 "description": "List of GTM Accounts that a user has access to.",
2100 "items": {
2101 "$ref": "Account"
2102 },
2103 "type": "array"
2104 }
2105 },
2106 "type": "object"
2107 },
2108 "ListContainerVersionsResponse": {
2109 "description": "List container versions response.",
2110 "id": "ListContainerVersionsResponse",
2111 "properties": {
2112 "containerVersion": {
2113 "description": "All versions of a GTM Container.",
2114 "items": {
2115 "$ref": "ContainerVersion"
2116 },
2117 "type": "array"
2118 },
2119 "containerVersionHeader": {
2120 "description": "All container version headers of a GTM Conta iner.",
2121 "items": {
2122 "$ref": "ContainerVersionHeader"
2123 },
2124 "type": "array"
2125 }
2126 },
2127 "type": "object"
2128 },
2129 "ListContainersResponse": {
2130 "description": "List Containers Response.",
2131 "id": "ListContainersResponse",
2132 "properties": {
2133 "containers": {
2134 "description": "All Containers of a GTM Account.",
2135 "items": {
2136 "$ref": "Container"
2137 },
2138 "type": "array"
2139 }
2140 },
2141 "type": "object"
2142 },
2143 "ListMacrosResponse": {
2144 "description": "List Macros Response.",
2145 "id": "ListMacrosResponse",
2146 "properties": {
2147 "macros": {
2148 "description": "All GTM Macros of a GTM Container.",
2149 "items": {
2150 "$ref": "Macro"
2151 },
2152 "type": "array"
2153 }
2154 },
2155 "type": "object"
2156 },
2157 "ListRulesResponse": {
2158 "description": "List Rules Response.",
2159 "id": "ListRulesResponse",
2160 "properties": {
2161 "rules": {
2162 "description": "All GTM Rules of a GTM Container.",
2163 "items": {
2164 "$ref": "Rule"
2165 },
2166 "type": "array"
2167 }
2168 },
2169 "type": "object"
2170 },
2171 "ListTagsResponse": {
2172 "description": "List Tags Response.",
2173 "id": "ListTagsResponse",
2174 "properties": {
2175 "tags": {
2176 "description": "All GTM Tags of a GTM Container.",
2177 "items": {
2178 "$ref": "Tag"
2179 },
2180 "type": "array"
2181 }
2182 },
2183 "type": "object"
2184 },
2185 "ListTriggersResponse": {
2186 "description": "List triggers response.",
2187 "id": "ListTriggersResponse",
2188 "properties": {
2189 "triggers": {
2190 "description": "All GTM Triggers of a GTM Container.",
2191 "items": {
2192 "$ref": "Trigger"
2193 },
2194 "type": "array"
2195 }
2196 },
2197 "type": "object"
2198 },
2199 "ListVariablesResponse": {
2200 "description": "List Variables Response.",
2201 "id": "ListVariablesResponse",
2202 "properties": {
2203 "variables": {
2204 "description": "All GTM Variables of a GTM Container.",
2205 "items": {
2206 "$ref": "Variable"
2207 },
2208 "type": "array"
2209 }
2210 },
2211 "type": "object"
2212 },
2213 "Macro": {
2214 "description": "Represents a Google Tag Manager Macro.",
2215 "id": "Macro",
2216 "properties": {
2217 "accountId": {
2218 "description": "GTM Account ID.",
2219 "type": "string"
2220 },
2221 "containerId": {
2222 "description": "GTM Container ID.",
2223 "type": "string"
2224 },
2225 "disablingRuleId": {
2226 "description": "For mobile containers only: A list of rule I Ds for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.",
2227 "items": {
2228 "type": "string"
2229 },
2230 "type": "array"
2231 },
2232 "enablingRuleId": {
2233 "description": "For mobile containers only: A list of rule I Ds for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered s et.",
2234 "items": {
2235 "type": "string"
2236 },
2237 "type": "array"
2238 },
2239 "fingerprint": {
2240 "description": "The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.",
2241 "type": "string"
2242 },
2243 "macroId": {
2244 "description": "The Macro ID uniquely identifies the GTM Mac ro.",
2245 "type": "string"
2246 },
2247 "name": {
2248 "annotations": {
2249 "required": [
2250 "tagmanager.accounts.containers.macros.create"
2251 ]
2252 },
2253 "description": "Macro display name.",
2254 "type": "string"
2255 },
2256 "notes": {
2257 "description": "User notes on how to apply this macro in the container.",
2258 "type": "string"
2259 },
2260 "parameter": {
2261 "description": "The macro's parameters.",
2262 "items": {
2263 "$ref": "Parameter"
2264 },
2265 "type": "array"
2266 },
2267 "scheduleEndMs": {
2268 "description": "The end timestamp in milliseconds to schedul e a macro.",
2269 "format": "int64",
2270 "type": "string"
2271 },
2272 "scheduleStartMs": {
2273 "description": "The start timestamp in milliseconds to sched ule a macro.",
2274 "format": "int64",
2275 "type": "string"
2276 },
2277 "type": {
2278 "annotations": {
2279 "required": [
2280 "tagmanager.accounts.containers.macros.create",
2281 "tagmanager.accounts.containers.macros.update"
2282 ]
2283 },
2284 "description": "GTM Macro Type.",
2285 "type": "string"
2286 }
2287 },
2288 "type": "object"
2289 },
2290 "Parameter": {
2291 "description": "Represents a Google Tag Manager Parameter.",
2292 "id": "Parameter",
2293 "properties": {
2294 "key": {
2295 "description": "The named key that uniquely identifies a par ameter. Required for top-level parameters, as well as map values. Ignored for li st values.",
2296 "type": "string"
2297 },
2298 "list": {
2299 "description": "This list parameter's parameters (keys will be ignored).",
2300 "items": {
2301 "$ref": "Parameter"
2302 },
2303 "type": "array"
2304 },
2305 "map": {
2306 "description": "This map parameter's parameters (must have k eys; keys must be unique).",
2307 "items": {
2308 "$ref": "Parameter"
2309 },
2310 "type": "array"
2311 },
2312 "type": {
2313 "annotations": {
2314 "required": [
2315 "tagmanager.accounts.containers.macros.create",
2316 "tagmanager.accounts.containers.macros.update",
2317 "tagmanager.accounts.containers.rules.create",
2318 "tagmanager.accounts.containers.rules.update",
2319 "tagmanager.accounts.containers.tags.create",
2320 "tagmanager.accounts.containers.tags.update"
2321 ]
2322 },
2323 "description": "The parameter type. Valid values are: \n- bo olean: The value represents a boolean, represented as 'true' or 'false' \n- inte ger: The value represents a 64-bit signed integer value, in base 10 \n- list: A list of parameters should be specified \n- map: A map of parameters should be sp ecified \n- template: The value represents any text; this can include macro refe rences (even macro references that might return non-string types)",
2324 "enum": [
2325 "boolean",
2326 "integer",
2327 "list",
2328 "map",
2329 "template"
2330 ],
2331 "enumDescriptions": [
2332 "",
2333 "",
2334 "",
2335 "",
2336 ""
2337 ],
2338 "type": "string"
2339 },
2340 "value": {
2341 "description": "A parameter's value (may contain macro refer ences such as \"{{myMacro}}\") as appropriate to the specified type.",
2342 "type": "string"
2343 }
2344 },
2345 "type": "object"
2346 },
2347 "PublishContainerVersionResponse": {
2348 "description": "Publish container version response.",
2349 "id": "PublishContainerVersionResponse",
2350 "properties": {
2351 "compilerError": {
2352 "description": "Compiler errors or not.",
2353 "type": "boolean"
2354 },
2355 "containerVersion": {
2356 "$ref": "ContainerVersion",
2357 "description": "The container version created."
2358 }
2359 },
2360 "type": "object"
2361 },
2362 "Rule": {
2363 "description": "Represents a Google Tag Manager Rule.",
2364 "id": "Rule",
2365 "properties": {
2366 "accountId": {
2367 "description": "GTM Account ID.",
2368 "type": "string"
2369 },
2370 "condition": {
2371 "description": "The list of conditions that make up this rul e (implicit AND between them).",
2372 "items": {
2373 "$ref": "Condition"
2374 },
2375 "type": "array"
2376 },
2377 "containerId": {
2378 "description": "GTM Container ID.",
2379 "type": "string"
2380 },
2381 "fingerprint": {
2382 "description": "The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified.",
2383 "type": "string"
2384 },
2385 "name": {
2386 "annotations": {
2387 "required": [
2388 "tagmanager.accounts.containers.rules.create"
2389 ]
2390 },
2391 "description": "Rule display name.",
2392 "type": "string"
2393 },
2394 "notes": {
2395 "description": "User notes on how to apply this rule in the container.",
2396 "type": "string"
2397 },
2398 "ruleId": {
2399 "description": "The Rule ID uniquely identifies the GTM Rule .",
2400 "type": "string"
2401 }
2402 },
2403 "type": "object"
2404 },
2405 "Tag": {
2406 "description": "Represents a Google Tag Manager Tag.",
2407 "id": "Tag",
2408 "properties": {
2409 "accountId": {
2410 "description": "GTM Account ID.",
2411 "type": "string"
2412 },
2413 "blockingRuleId": {
2414 "description": "Blocking rule IDs. If any of the listed rule s evaluate to true, the tag will not fire.",
2415 "items": {
2416 "type": "string"
2417 },
2418 "type": "array"
2419 },
2420 "blockingTriggerId": {
2421 "description": "Blocking trigger IDs. If any of the listed t riggers evaluate to true, the tag will not fire.",
2422 "items": {
2423 "type": "string"
2424 },
2425 "type": "array"
2426 },
2427 "containerId": {
2428 "description": "GTM Container ID.",
2429 "type": "string"
2430 },
2431 "dependencies": {
2432 "$ref": "Parameter",
2433 "description": "An optional list of tag names that this tag depends on to fire. Execution of this tag will be prevented until the tags with the given names complete their execution."
2434 },
2435 "fingerprint": {
2436 "description": "The fingerprint of the GTM Tag as computed a t storage time. This value is recomputed whenever the tag is modified.",
2437 "type": "string"
2438 },
2439 "firingRuleId": {
2440 "description": "Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false.",
2441 "items": {
2442 "type": "string"
2443 },
2444 "type": "array"
2445 },
2446 "firingTriggerId": {
2447 "description": "Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any speci fied) are false.",
2448 "items": {
2449 "type": "string"
2450 },
2451 "type": "array"
2452 },
2453 "liveOnly": {
2454 "description": "If set to true, this tag will only fire in t he live environment (e.g. not in preview or debug mode).",
2455 "type": "boolean"
2456 },
2457 "name": {
2458 "annotations": {
2459 "required": [
2460 "tagmanager.accounts.containers.tags.create"
2461 ]
2462 },
2463 "description": "Tag display name.",
2464 "type": "string"
2465 },
2466 "notes": {
2467 "description": "User notes on how to apply this tag in the c ontainer.",
2468 "type": "string"
2469 },
2470 "parameter": {
2471 "description": "The tag's parameters.",
2472 "items": {
2473 "$ref": "Parameter"
2474 },
2475 "type": "array"
2476 },
2477 "priority": {
2478 "$ref": "Parameter",
2479 "description": "User defined numeric priority of the tag. Ta gs are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default v alue is 0."
2480 },
2481 "scheduleEndMs": {
2482 "description": "The end timestamp in milliseconds to schedul e a tag.",
2483 "format": "int64",
2484 "type": "string"
2485 },
2486 "scheduleStartMs": {
2487 "description": "The start timestamp in milliseconds to sched ule a tag.",
2488 "format": "int64",
2489 "type": "string"
2490 },
2491 "tagId": {
2492 "description": "The Tag ID uniquely identifies the GTM Tag." ,
2493 "type": "string"
2494 },
2495 "type": {
2496 "annotations": {
2497 "required": [
2498 "tagmanager.accounts.containers.tags.create"
2499 ]
2500 },
2501 "description": "GTM Tag Type.",
2502 "type": "string"
2503 }
2504 },
2505 "type": "object"
2506 },
2507 "Trigger": {
2508 "description": "Represents a Google Tag Manager Trigger",
2509 "id": "Trigger",
2510 "properties": {
2511 "accountId": {
2512 "description": "GTM Account ID.",
2513 "type": "string"
2514 },
2515 "autoEventFilter": {
2516 "description": "Used in the case of auto event tracking.",
2517 "items": {
2518 "$ref": "Condition"
2519 },
2520 "type": "array"
2521 },
2522 "checkValidation": {
2523 "$ref": "Parameter",
2524 "description": "Whether or not we should only fire tags if t he form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click trig gers."
2525 },
2526 "containerId": {
2527 "description": "GTM Container ID.",
2528 "type": "string"
2529 },
2530 "customEventFilter": {
2531 "description": "Used in the case of custom event, which is f ired iff all Conditions are true.",
2532 "items": {
2533 "$ref": "Condition"
2534 },
2535 "type": "array"
2536 },
2537 "enableAllVideos": {
2538 "$ref": "Parameter",
2539 "description": "Reloads the videos in the page that don't al ready have the YT API enabled. If false, only capture events from videos that al ready have the API enabled. Only valid for YouTube triggers."
2540 },
2541 "eventName": {
2542 "$ref": "Parameter",
2543 "description": "Name of the GTM event that is fired. Only va lid for Timer triggers."
2544 },
2545 "filter": {
2546 "description": "The trigger will only fire iff all Condition s are true.",
2547 "items": {
2548 "$ref": "Condition"
2549 },
2550 "type": "array"
2551 },
2552 "fingerprint": {
2553 "description": "The fingerprint of the GTM Trigger as comput ed at storage time. This value is recomputed whenever the trigger is modified.",
2554 "type": "string"
2555 },
2556 "interval": {
2557 "$ref": "Parameter",
2558 "description": "Time between triggering recurring Timer Even ts (in milliseconds). Only valid for Timer triggers."
2559 },
2560 "limit": {
2561 "$ref": "Parameter",
2562 "description": "Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events unti l the user leaves the page. Only valid for Timer triggers."
2563 },
2564 "name": {
2565 "annotations": {
2566 "required": [
2567 "tagmanager.accounts.containers.triggers.create"
2568 ]
2569 },
2570 "description": "Trigger display name.",
2571 "type": "string"
2572 },
2573 "triggerId": {
2574 "description": "The Trigger ID uniquely identifies the GTM T rigger.",
2575 "type": "string"
2576 },
2577 "type": {
2578 "annotations": {
2579 "required": [
2580 "tagmanager.accounts.containers.triggers.create"
2581 ]
2582 },
2583 "description": "Defines the data layer event that causes thi s trigger.",
2584 "enum": [
2585 "ajaxSubmission",
2586 "always",
2587 "click",
2588 "customEvent",
2589 "domReady",
2590 "formSubmission",
2591 "historyChange",
2592 "jsError",
2593 "linkClick",
2594 "pageview",
2595 "timer",
2596 "windowLoaded",
2597 "youTube"
2598 ],
2599 "enumDescriptions": [
2600 "",
2601 "",
2602 "",
2603 "",
2604 "",
2605 "",
2606 "",
2607 "",
2608 "",
2609 "",
2610 "",
2611 "",
2612 ""
2613 ],
2614 "type": "string"
2615 },
2616 "uniqueTriggerId": {
2617 "$ref": "Parameter",
2618 "description": "Globally unique id of the trigger that auto- generates this Form Submit or Link Click listeners if any. Used to make incompat ible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submission and Link Click triggers."
2619 },
2620 "videoPercentageList": {
2621 "$ref": "Parameter",
2622 "description": "List of integer percentage values. The trigg er will fire as each percentage is reached in any instrumented videos. Only vali d for YouTube triggers."
2623 },
2624 "waitForTags": {
2625 "$ref": "Parameter",
2626 "description": "Whether or not we should delay the form subm issions or link opening until all of the tags have fired (by preventing the defa ult action and later simulating the default action). Only valid for Form Submiss ion and Link Click triggers."
2627 },
2628 "waitForTagsTimeout": {
2629 "$ref": "Parameter",
2630 "description": "How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submi ssion and Link Click triggers."
2631 }
2632 },
2633 "type": "object"
2634 },
2635 "UserAccess": {
2636 "description": "Represents a user's permissions to an account and it s container.",
2637 "id": "UserAccess",
2638 "properties": {
2639 "accountAccess": {
2640 "$ref": "AccountAccess",
2641 "annotations": {
2642 "required": [
2643 "tagmanager.accounts.permissions.create"
2644 ]
2645 },
2646 "description": "GTM Account access permissions."
2647 },
2648 "accountId": {
2649 "description": "GTM Account ID.",
2650 "type": "string"
2651 },
2652 "containerAccess": {
2653 "description": "GTM Container access permissions.",
2654 "items": {
2655 "$ref": "ContainerAccess"
2656 },
2657 "type": "array"
2658 },
2659 "emailAddress": {
2660 "annotations": {
2661 "required": [
2662 "tagmanager.accounts.permissions.create"
2663 ]
2664 },
2665 "description": "User's email address.",
2666 "type": "string"
2667 },
2668 "permissionId": {
2669 "description": "Account Permission ID.",
2670 "type": "string"
2671 }
2672 },
2673 "type": "object"
2674 },
2675 "Variable": {
2676 "description": "Represents a Google Tag Manager Variable.",
2677 "id": "Variable",
2678 "properties": {
2679 "accountId": {
2680 "description": "GTM Account ID.",
2681 "type": "string"
2682 },
2683 "containerId": {
2684 "description": "GTM Container ID.",
2685 "type": "string"
2686 },
2687 "disablingTriggerId": {
2688 "description": "For mobile containers only: A list of trigge r IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set.",
2689 "items": {
2690 "type": "string"
2691 },
2692 "type": "array"
2693 },
2694 "enablingTriggerId": {
2695 "description": "For mobile containers only: A list of trigge r IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set.",
2696 "items": {
2697 "type": "string"
2698 },
2699 "type": "array"
2700 },
2701 "fingerprint": {
2702 "description": "The fingerprint of the GTM Variable as compu ted at storage time. This value is recomputed whenever the variable is modified. ",
2703 "type": "string"
2704 },
2705 "name": {
2706 "annotations": {
2707 "required": [
2708 "tagmanager.accounts.containers.variables.create"
2709 ]
2710 },
2711 "description": "Variable display name.",
2712 "type": "string"
2713 },
2714 "notes": {
2715 "description": "User notes on how to apply this variable in the container.",
2716 "type": "string"
2717 },
2718 "parameter": {
2719 "description": "The variable's parameters.",
2720 "items": {
2721 "$ref": "Parameter"
2722 },
2723 "type": "array"
2724 },
2725 "scheduleEndMs": {
2726 "description": "The end timestamp in milliseconds to schedul e a variable.",
2727 "format": "int64",
2728 "type": "string"
2729 },
2730 "scheduleStartMs": {
2731 "description": "The start timestamp in milliseconds to sched ule a variable.",
2732 "format": "int64",
2733 "type": "string"
2734 },
2735 "type": {
2736 "annotations": {
2737 "required": [
2738 "tagmanager.accounts.containers.variables.create",
2739 "tagmanager.accounts.containers.variables.update"
2740 ]
2741 },
2742 "description": "GTM Variable Type.",
2743 "type": "string"
2744 },
2745 "variableId": {
2746 "description": "The Variable ID uniquely identifies the GTM Variable.",
2747 "type": "string"
2748 }
2749 },
2750 "type": "object"
2751 }
2752 },
2753 "servicePath": "tagmanager/v1/",
2754 "title": "Tag Manager API",
2755 "version": "v1"
2756 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698