@googleapis/tagmanager 5.4.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/build/v1.d.ts +84 -84
- package/build/v2.d.ts +239 -195
- package/build/v2.js +33 -0
- package/build/v2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +84 -84
- package/v2.ts +316 -195
package/v1.ts
CHANGED
|
@@ -137,11 +137,11 @@ export namespace tagmanager_v1 {
|
|
|
137
137
|
*/
|
|
138
138
|
fingerprint?: string | null;
|
|
139
139
|
/**
|
|
140
|
-
* Account display name.
|
|
140
|
+
* Account display name.
|
|
141
141
|
*/
|
|
142
142
|
name?: string | null;
|
|
143
143
|
/**
|
|
144
|
-
* Whether the account shares data anonymously with Google and others.
|
|
144
|
+
* Whether the account shares data anonymously with Google and others.
|
|
145
145
|
*/
|
|
146
146
|
shareData?: boolean | null;
|
|
147
147
|
}
|
|
@@ -150,7 +150,7 @@ export namespace tagmanager_v1 {
|
|
|
150
150
|
*/
|
|
151
151
|
export interface Schema$AccountAccess {
|
|
152
152
|
/**
|
|
153
|
-
* List of Account permissions. Valid account permissions are read and manage.
|
|
153
|
+
* List of Account permissions. Valid account permissions are read and manage.
|
|
154
154
|
*/
|
|
155
155
|
permission?: string[] | null;
|
|
156
156
|
}
|
|
@@ -159,11 +159,11 @@ export namespace tagmanager_v1 {
|
|
|
159
159
|
*/
|
|
160
160
|
export interface Schema$Condition {
|
|
161
161
|
/**
|
|
162
|
-
* A list of named parameters (key/value), depending on the condition's type. Notes: - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - At this time, the left operand (arg0) must be a reference to a variable. - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
|
|
162
|
+
* A list of named parameters (key/value), depending on the condition's type. Notes: - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - At this time, the left operand (arg0) must be a reference to a variable. - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
|
|
163
163
|
*/
|
|
164
164
|
parameter?: Schema$Parameter[];
|
|
165
165
|
/**
|
|
166
|
-
* The type of operator for this condition.
|
|
166
|
+
* The type of operator for this condition.
|
|
167
167
|
*/
|
|
168
168
|
type?: string | null;
|
|
169
169
|
}
|
|
@@ -180,11 +180,11 @@ export namespace tagmanager_v1 {
|
|
|
180
180
|
*/
|
|
181
181
|
containerId?: string | null;
|
|
182
182
|
/**
|
|
183
|
-
* Optional list of domain names associated with the Container.
|
|
183
|
+
* Optional list of domain names associated with the Container.
|
|
184
184
|
*/
|
|
185
185
|
domainName?: string[] | null;
|
|
186
186
|
/**
|
|
187
|
-
* List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
|
|
187
|
+
* List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
|
|
188
188
|
*/
|
|
189
189
|
enabledBuiltInVariable?: string[] | null;
|
|
190
190
|
/**
|
|
@@ -192,11 +192,11 @@ export namespace tagmanager_v1 {
|
|
|
192
192
|
*/
|
|
193
193
|
fingerprint?: string | null;
|
|
194
194
|
/**
|
|
195
|
-
* Container display name.
|
|
195
|
+
* Container display name.
|
|
196
196
|
*/
|
|
197
197
|
name?: string | null;
|
|
198
198
|
/**
|
|
199
|
-
* Container Notes.
|
|
199
|
+
* Container Notes.
|
|
200
200
|
*/
|
|
201
201
|
notes?: string | null;
|
|
202
202
|
/**
|
|
@@ -204,15 +204,15 @@ export namespace tagmanager_v1 {
|
|
|
204
204
|
*/
|
|
205
205
|
publicId?: string | null;
|
|
206
206
|
/**
|
|
207
|
-
* Container Country ID.
|
|
207
|
+
* Container Country ID.
|
|
208
208
|
*/
|
|
209
209
|
timeZoneCountryId?: string | null;
|
|
210
210
|
/**
|
|
211
|
-
* Container Time Zone ID.
|
|
211
|
+
* Container Time Zone ID.
|
|
212
212
|
*/
|
|
213
213
|
timeZoneId?: string | null;
|
|
214
214
|
/**
|
|
215
|
-
* List of Usage Contexts for the Container. Valid values include: web, android, ios.
|
|
215
|
+
* List of Usage Contexts for the Container. Valid values include: web, android, ios.
|
|
216
216
|
*/
|
|
217
217
|
usageContext?: string[] | null;
|
|
218
218
|
}
|
|
@@ -221,11 +221,11 @@ export namespace tagmanager_v1 {
|
|
|
221
221
|
*/
|
|
222
222
|
export interface Schema$ContainerAccess {
|
|
223
223
|
/**
|
|
224
|
-
* GTM Container ID.
|
|
224
|
+
* GTM Container ID.
|
|
225
225
|
*/
|
|
226
226
|
containerId?: string | null;
|
|
227
227
|
/**
|
|
228
|
-
* List of Container permissions. Valid container permissions are: read, edit, delete, publish.
|
|
228
|
+
* List of Container permissions. Valid container permissions are: read, edit, delete, publish.
|
|
229
229
|
*/
|
|
230
230
|
permission?: string[] | null;
|
|
231
231
|
}
|
|
@@ -266,11 +266,11 @@ export namespace tagmanager_v1 {
|
|
|
266
266
|
*/
|
|
267
267
|
macro?: Schema$Macro[];
|
|
268
268
|
/**
|
|
269
|
-
* Container version display name.
|
|
269
|
+
* Container version display name.
|
|
270
270
|
*/
|
|
271
271
|
name?: string | null;
|
|
272
272
|
/**
|
|
273
|
-
* User notes on how to apply this container version in the container.
|
|
273
|
+
* User notes on how to apply this container version in the container.
|
|
274
274
|
*/
|
|
275
275
|
notes?: string | null;
|
|
276
276
|
/**
|
|
@@ -387,11 +387,11 @@ export namespace tagmanager_v1 {
|
|
|
387
387
|
containerId?: string | null;
|
|
388
388
|
containerVersionId?: string | null;
|
|
389
389
|
/**
|
|
390
|
-
* The environment description. Can be set or changed only on USER type environments.
|
|
390
|
+
* The environment description. Can be set or changed only on USER type environments.
|
|
391
391
|
*/
|
|
392
392
|
description?: string | null;
|
|
393
393
|
/**
|
|
394
|
-
* Whether or not to enable debug by default on for the environment.
|
|
394
|
+
* Whether or not to enable debug by default on for the environment.
|
|
395
395
|
*/
|
|
396
396
|
enableDebug?: boolean | null;
|
|
397
397
|
/**
|
|
@@ -403,7 +403,7 @@ export namespace tagmanager_v1 {
|
|
|
403
403
|
*/
|
|
404
404
|
fingerprint?: string | null;
|
|
405
405
|
/**
|
|
406
|
-
* The environment display name. Can be set or changed only on USER type environments.
|
|
406
|
+
* The environment display name. Can be set or changed only on USER type environments.
|
|
407
407
|
*/
|
|
408
408
|
name?: string | null;
|
|
409
409
|
/**
|
|
@@ -411,7 +411,7 @@ export namespace tagmanager_v1 {
|
|
|
411
411
|
*/
|
|
412
412
|
type?: string | null;
|
|
413
413
|
/**
|
|
414
|
-
* Default preview page url for the environment.
|
|
414
|
+
* Default preview page url for the environment.
|
|
415
415
|
*/
|
|
416
416
|
url?: string | null;
|
|
417
417
|
}
|
|
@@ -436,7 +436,7 @@ export namespace tagmanager_v1 {
|
|
|
436
436
|
*/
|
|
437
437
|
folderId?: string | null;
|
|
438
438
|
/**
|
|
439
|
-
* Folder display name.
|
|
439
|
+
* Folder display name.
|
|
440
440
|
*/
|
|
441
441
|
name?: string | null;
|
|
442
442
|
}
|
|
@@ -555,11 +555,11 @@ export namespace tagmanager_v1 {
|
|
|
555
555
|
*/
|
|
556
556
|
containerId?: string | null;
|
|
557
557
|
/**
|
|
558
|
-
* For mobile containers only: A list of rule IDs 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.
|
|
558
|
+
* For mobile containers only: A list of rule IDs 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.
|
|
559
559
|
*/
|
|
560
560
|
disablingRuleId?: string[] | null;
|
|
561
561
|
/**
|
|
562
|
-
* For mobile containers only: A list of rule IDs 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 set.
|
|
562
|
+
* For mobile containers only: A list of rule IDs 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 set.
|
|
563
563
|
*/
|
|
564
564
|
enablingRuleId?: string[] | null;
|
|
565
565
|
/**
|
|
@@ -571,15 +571,15 @@ export namespace tagmanager_v1 {
|
|
|
571
571
|
*/
|
|
572
572
|
macroId?: string | null;
|
|
573
573
|
/**
|
|
574
|
-
* Macro display name.
|
|
574
|
+
* Macro display name.
|
|
575
575
|
*/
|
|
576
576
|
name?: string | null;
|
|
577
577
|
/**
|
|
578
|
-
* User notes on how to apply this macro in the container.
|
|
578
|
+
* User notes on how to apply this macro in the container.
|
|
579
579
|
*/
|
|
580
580
|
notes?: string | null;
|
|
581
581
|
/**
|
|
582
|
-
* The macro's parameters.
|
|
582
|
+
* The macro's parameters.
|
|
583
583
|
*/
|
|
584
584
|
parameter?: Schema$Parameter[];
|
|
585
585
|
/**
|
|
@@ -587,15 +587,15 @@ export namespace tagmanager_v1 {
|
|
|
587
587
|
*/
|
|
588
588
|
parentFolderId?: string | null;
|
|
589
589
|
/**
|
|
590
|
-
* The end timestamp in milliseconds to schedule a macro.
|
|
590
|
+
* The end timestamp in milliseconds to schedule a macro.
|
|
591
591
|
*/
|
|
592
592
|
scheduleEndMs?: string | null;
|
|
593
593
|
/**
|
|
594
|
-
* The start timestamp in milliseconds to schedule a macro.
|
|
594
|
+
* The start timestamp in milliseconds to schedule a macro.
|
|
595
595
|
*/
|
|
596
596
|
scheduleStartMs?: string | null;
|
|
597
597
|
/**
|
|
598
|
-
* GTM Macro Type.
|
|
598
|
+
* GTM Macro Type.
|
|
599
599
|
*/
|
|
600
600
|
type?: string | null;
|
|
601
601
|
}
|
|
@@ -604,23 +604,23 @@ export namespace tagmanager_v1 {
|
|
|
604
604
|
*/
|
|
605
605
|
export interface Schema$Parameter {
|
|
606
606
|
/**
|
|
607
|
-
* The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
|
|
607
|
+
* The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
|
|
608
608
|
*/
|
|
609
609
|
key?: string | null;
|
|
610
610
|
/**
|
|
611
|
-
* This list parameter's parameters (keys will be ignored).
|
|
611
|
+
* This list parameter's parameters (keys will be ignored).
|
|
612
612
|
*/
|
|
613
613
|
list?: Schema$Parameter[];
|
|
614
614
|
/**
|
|
615
|
-
* This map parameter's parameters (must have keys; keys must be unique).
|
|
615
|
+
* This map parameter's parameters (must have keys; keys must be unique).
|
|
616
616
|
*/
|
|
617
617
|
map?: Schema$Parameter[];
|
|
618
618
|
/**
|
|
619
|
-
* The parameter type. Valid values are: - boolean: The value represents a boolean, represented as 'true' or 'false' - integer: The value represents a 64-bit signed integer value, in base 10 - list: A list of parameters should be specified - map: A map of parameters should be specified - template: The value represents any text; this can include variable references (even variable references that might return non-string types) - trigger_reference: The value represents a trigger, represented as the trigger id - tag_reference: The value represents a tag, represented as the tag name
|
|
619
|
+
* The parameter type. Valid values are: - boolean: The value represents a boolean, represented as 'true' or 'false' - integer: The value represents a 64-bit signed integer value, in base 10 - list: A list of parameters should be specified - map: A map of parameters should be specified - template: The value represents any text; this can include variable references (even variable references that might return non-string types) - trigger_reference: The value represents a trigger, represented as the trigger id - tag_reference: The value represents a tag, represented as the tag name
|
|
620
620
|
*/
|
|
621
621
|
type?: string | null;
|
|
622
622
|
/**
|
|
623
|
-
* A parameter's value (may contain variable references
|
|
623
|
+
* A parameter's value (may contain variable references). as appropriate to the specified type.
|
|
624
624
|
*/
|
|
625
625
|
value?: string | null;
|
|
626
626
|
}
|
|
@@ -646,7 +646,7 @@ export namespace tagmanager_v1 {
|
|
|
646
646
|
*/
|
|
647
647
|
accountId?: string | null;
|
|
648
648
|
/**
|
|
649
|
-
* The list of conditions that make up this rule (implicit AND between them).
|
|
649
|
+
* The list of conditions that make up this rule (implicit AND between them).
|
|
650
650
|
*/
|
|
651
651
|
condition?: Schema$Condition[];
|
|
652
652
|
/**
|
|
@@ -658,11 +658,11 @@ export namespace tagmanager_v1 {
|
|
|
658
658
|
*/
|
|
659
659
|
fingerprint?: string | null;
|
|
660
660
|
/**
|
|
661
|
-
* Rule display name.
|
|
661
|
+
* Rule display name.
|
|
662
662
|
*/
|
|
663
663
|
name?: string | null;
|
|
664
664
|
/**
|
|
665
|
-
* User notes on how to apply this rule in the container.
|
|
665
|
+
* User notes on how to apply this rule in the container.
|
|
666
666
|
*/
|
|
667
667
|
notes?: string | null;
|
|
668
668
|
/**
|
|
@@ -689,11 +689,11 @@ export namespace tagmanager_v1 {
|
|
|
689
689
|
*/
|
|
690
690
|
accountId?: string | null;
|
|
691
691
|
/**
|
|
692
|
-
* Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire.
|
|
692
|
+
* Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire.
|
|
693
693
|
*/
|
|
694
694
|
blockingRuleId?: string[] | null;
|
|
695
695
|
/**
|
|
696
|
-
* Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.
|
|
696
|
+
* Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.
|
|
697
697
|
*/
|
|
698
698
|
blockingTriggerId?: string[] | null;
|
|
699
699
|
/**
|
|
@@ -705,27 +705,27 @@ export namespace tagmanager_v1 {
|
|
|
705
705
|
*/
|
|
706
706
|
fingerprint?: string | null;
|
|
707
707
|
/**
|
|
708
|
-
* 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.
|
|
708
|
+
* 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.
|
|
709
709
|
*/
|
|
710
710
|
firingRuleId?: string[] | null;
|
|
711
711
|
/**
|
|
712
|
-
* Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.
|
|
712
|
+
* Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.
|
|
713
713
|
*/
|
|
714
714
|
firingTriggerId?: string[] | null;
|
|
715
715
|
/**
|
|
716
|
-
* If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
|
|
716
|
+
* If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
|
|
717
717
|
*/
|
|
718
718
|
liveOnly?: boolean | null;
|
|
719
719
|
/**
|
|
720
|
-
* Tag display name.
|
|
720
|
+
* Tag display name.
|
|
721
721
|
*/
|
|
722
722
|
name?: string | null;
|
|
723
723
|
/**
|
|
724
|
-
* User notes on how to apply this tag in the container.
|
|
724
|
+
* User notes on how to apply this tag in the container.
|
|
725
725
|
*/
|
|
726
726
|
notes?: string | null;
|
|
727
727
|
/**
|
|
728
|
-
* The tag's parameters.
|
|
728
|
+
* The tag's parameters.
|
|
729
729
|
*/
|
|
730
730
|
parameter?: Schema$Parameter[];
|
|
731
731
|
/**
|
|
@@ -733,19 +733,19 @@ export namespace tagmanager_v1 {
|
|
|
733
733
|
*/
|
|
734
734
|
parentFolderId?: string | null;
|
|
735
735
|
/**
|
|
736
|
-
* True if the tag is paused.
|
|
736
|
+
* True if the tag is paused.
|
|
737
737
|
*/
|
|
738
738
|
paused?: boolean | null;
|
|
739
739
|
/**
|
|
740
|
-
* User defined numeric priority of the tag. Tags 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 value is 0.
|
|
740
|
+
* User defined numeric priority of the tag. Tags 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 value is 0.
|
|
741
741
|
*/
|
|
742
742
|
priority?: Schema$Parameter;
|
|
743
743
|
/**
|
|
744
|
-
* The end timestamp in milliseconds to schedule a tag.
|
|
744
|
+
* The end timestamp in milliseconds to schedule a tag.
|
|
745
745
|
*/
|
|
746
746
|
scheduleEndMs?: string | null;
|
|
747
747
|
/**
|
|
748
|
-
* The start timestamp in milliseconds to schedule a tag.
|
|
748
|
+
* The start timestamp in milliseconds to schedule a tag.
|
|
749
749
|
*/
|
|
750
750
|
scheduleStartMs?: string | null;
|
|
751
751
|
/**
|
|
@@ -765,7 +765,7 @@ export namespace tagmanager_v1 {
|
|
|
765
765
|
*/
|
|
766
766
|
teardownTag?: Schema$TeardownTag[];
|
|
767
767
|
/**
|
|
768
|
-
* GTM Tag Type.
|
|
768
|
+
* GTM Tag Type.
|
|
769
769
|
*/
|
|
770
770
|
type?: string | null;
|
|
771
771
|
}
|
|
@@ -788,11 +788,11 @@ export namespace tagmanager_v1 {
|
|
|
788
788
|
*/
|
|
789
789
|
accountId?: string | null;
|
|
790
790
|
/**
|
|
791
|
-
* Used in the case of auto event tracking.
|
|
791
|
+
* Used in the case of auto event tracking.
|
|
792
792
|
*/
|
|
793
793
|
autoEventFilter?: Schema$Condition[];
|
|
794
794
|
/**
|
|
795
|
-
* Whether or not we should only fire tags if the 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 triggers.
|
|
795
|
+
* Whether or not we should only fire tags if the 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 triggers.
|
|
796
796
|
*/
|
|
797
797
|
checkValidation?: Schema$Parameter;
|
|
798
798
|
/**
|
|
@@ -800,19 +800,19 @@ export namespace tagmanager_v1 {
|
|
|
800
800
|
*/
|
|
801
801
|
containerId?: string | null;
|
|
802
802
|
/**
|
|
803
|
-
* A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger.
|
|
803
|
+
* A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger.
|
|
804
804
|
*/
|
|
805
805
|
continuousTimeMinMilliseconds?: Schema$Parameter;
|
|
806
806
|
/**
|
|
807
|
-
* Used in the case of custom event, which is fired iff all Conditions are true.
|
|
807
|
+
* Used in the case of custom event, which is fired iff all Conditions are true.
|
|
808
808
|
*/
|
|
809
809
|
customEventFilter?: Schema$Condition[];
|
|
810
810
|
/**
|
|
811
|
-
* Name of the GTM event that is fired. Only valid for Timer triggers.
|
|
811
|
+
* Name of the GTM event that is fired. Only valid for Timer triggers.
|
|
812
812
|
*/
|
|
813
813
|
eventName?: Schema$Parameter;
|
|
814
814
|
/**
|
|
815
|
-
* The trigger will only fire iff all Conditions are true.
|
|
815
|
+
* The trigger will only fire iff all Conditions are true.
|
|
816
816
|
*/
|
|
817
817
|
filter?: Schema$Condition[];
|
|
818
818
|
/**
|
|
@@ -820,31 +820,31 @@ export namespace tagmanager_v1 {
|
|
|
820
820
|
*/
|
|
821
821
|
fingerprint?: string | null;
|
|
822
822
|
/**
|
|
823
|
-
* List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled horizontally. Only valid for AMP scroll triggers.
|
|
823
|
+
* List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled horizontally. Only valid for AMP scroll triggers.
|
|
824
824
|
*/
|
|
825
825
|
horizontalScrollPercentageList?: Schema$Parameter;
|
|
826
826
|
/**
|
|
827
|
-
* Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers.
|
|
827
|
+
* Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers.
|
|
828
828
|
*/
|
|
829
829
|
interval?: Schema$Parameter;
|
|
830
830
|
/**
|
|
831
|
-
* Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger.
|
|
831
|
+
* Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger.
|
|
832
832
|
*/
|
|
833
833
|
intervalSeconds?: Schema$Parameter;
|
|
834
834
|
/**
|
|
835
|
-
* Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers.
|
|
835
|
+
* Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers.
|
|
836
836
|
*/
|
|
837
837
|
limit?: Schema$Parameter;
|
|
838
838
|
/**
|
|
839
|
-
* Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger.
|
|
839
|
+
* Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger.
|
|
840
840
|
*/
|
|
841
841
|
maxTimerLengthSeconds?: Schema$Parameter;
|
|
842
842
|
/**
|
|
843
|
-
* Trigger display name.
|
|
843
|
+
* Trigger display name.
|
|
844
844
|
*/
|
|
845
845
|
name?: string | null;
|
|
846
846
|
/**
|
|
847
|
-
* Additional parameters.
|
|
847
|
+
* Additional parameters.
|
|
848
848
|
*/
|
|
849
849
|
parameter?: Schema$Parameter[];
|
|
850
850
|
/**
|
|
@@ -852,11 +852,11 @@ export namespace tagmanager_v1 {
|
|
|
852
852
|
*/
|
|
853
853
|
parentFolderId?: string | null;
|
|
854
854
|
/**
|
|
855
|
-
* A click trigger CSS selector (i.e. "a", "button" etc.). Only valid for AMP Click trigger.
|
|
855
|
+
* A click trigger CSS selector (i.e. "a", "button" etc.). Only valid for AMP Click trigger.
|
|
856
856
|
*/
|
|
857
857
|
selector?: Schema$Parameter;
|
|
858
858
|
/**
|
|
859
|
-
* A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger.
|
|
859
|
+
* A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger.
|
|
860
860
|
*/
|
|
861
861
|
totalTimeMinMilliseconds?: Schema$Parameter;
|
|
862
862
|
/**
|
|
@@ -864,35 +864,35 @@ export namespace tagmanager_v1 {
|
|
|
864
864
|
*/
|
|
865
865
|
triggerId?: string | null;
|
|
866
866
|
/**
|
|
867
|
-
* Defines the data layer event that causes this trigger.
|
|
867
|
+
* Defines the data layer event that causes this trigger.
|
|
868
868
|
*/
|
|
869
869
|
type?: string | null;
|
|
870
870
|
/**
|
|
871
|
-
* Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible 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 Submit, Link Click and Timer triggers.
|
|
871
|
+
* Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible 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 Submit, Link Click and Timer triggers.
|
|
872
872
|
*/
|
|
873
873
|
uniqueTriggerId?: Schema$Parameter;
|
|
874
874
|
/**
|
|
875
|
-
* List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled vertically. Only valid for AMP scroll triggers.
|
|
875
|
+
* List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled vertically. Only valid for AMP scroll triggers.
|
|
876
876
|
*/
|
|
877
877
|
verticalScrollPercentageList?: Schema$Parameter;
|
|
878
878
|
/**
|
|
879
|
-
* A visibility trigger CSS selector (i.e. "#id"). Only valid for AMP Visibility trigger.
|
|
879
|
+
* A visibility trigger CSS selector (i.e. "#id"). Only valid for AMP Visibility trigger.
|
|
880
880
|
*/
|
|
881
881
|
visibilitySelector?: Schema$Parameter;
|
|
882
882
|
/**
|
|
883
|
-
* A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger.
|
|
883
|
+
* A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger.
|
|
884
884
|
*/
|
|
885
885
|
visiblePercentageMax?: Schema$Parameter;
|
|
886
886
|
/**
|
|
887
|
-
* A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger.
|
|
887
|
+
* A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger.
|
|
888
888
|
*/
|
|
889
889
|
visiblePercentageMin?: Schema$Parameter;
|
|
890
890
|
/**
|
|
891
|
-
* Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers.
|
|
891
|
+
* Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers.
|
|
892
892
|
*/
|
|
893
893
|
waitForTags?: Schema$Parameter;
|
|
894
894
|
/**
|
|
895
|
-
* How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers.
|
|
895
|
+
* How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers.
|
|
896
896
|
*/
|
|
897
897
|
waitForTagsTimeout?: Schema$Parameter;
|
|
898
898
|
}
|
|
@@ -901,7 +901,7 @@ export namespace tagmanager_v1 {
|
|
|
901
901
|
*/
|
|
902
902
|
export interface Schema$UserAccess {
|
|
903
903
|
/**
|
|
904
|
-
* GTM Account access permissions.
|
|
904
|
+
* GTM Account access permissions.
|
|
905
905
|
*/
|
|
906
906
|
accountAccess?: Schema$AccountAccess;
|
|
907
907
|
/**
|
|
@@ -909,11 +909,11 @@ export namespace tagmanager_v1 {
|
|
|
909
909
|
*/
|
|
910
910
|
accountId?: string | null;
|
|
911
911
|
/**
|
|
912
|
-
* GTM Container access permissions.
|
|
912
|
+
* GTM Container access permissions.
|
|
913
913
|
*/
|
|
914
914
|
containerAccess?: Schema$ContainerAccess[];
|
|
915
915
|
/**
|
|
916
|
-
* User's email address.
|
|
916
|
+
* User's email address.
|
|
917
917
|
*/
|
|
918
918
|
emailAddress?: string | null;
|
|
919
919
|
/**
|
|
@@ -934,11 +934,11 @@ export namespace tagmanager_v1 {
|
|
|
934
934
|
*/
|
|
935
935
|
containerId?: string | null;
|
|
936
936
|
/**
|
|
937
|
-
* For mobile containers only: A list of trigger 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.
|
|
937
|
+
* For mobile containers only: A list of trigger 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.
|
|
938
938
|
*/
|
|
939
939
|
disablingTriggerId?: string[] | null;
|
|
940
940
|
/**
|
|
941
|
-
* For mobile containers only: A list of trigger 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.
|
|
941
|
+
* For mobile containers only: A list of trigger 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.
|
|
942
942
|
*/
|
|
943
943
|
enablingTriggerId?: string[] | null;
|
|
944
944
|
/**
|
|
@@ -946,15 +946,15 @@ export namespace tagmanager_v1 {
|
|
|
946
946
|
*/
|
|
947
947
|
fingerprint?: string | null;
|
|
948
948
|
/**
|
|
949
|
-
* Variable display name.
|
|
949
|
+
* Variable display name.
|
|
950
950
|
*/
|
|
951
951
|
name?: string | null;
|
|
952
952
|
/**
|
|
953
|
-
* User notes on how to apply this variable in the container.
|
|
953
|
+
* User notes on how to apply this variable in the container.
|
|
954
954
|
*/
|
|
955
955
|
notes?: string | null;
|
|
956
956
|
/**
|
|
957
|
-
* The variable's parameters.
|
|
957
|
+
* The variable's parameters.
|
|
958
958
|
*/
|
|
959
959
|
parameter?: Schema$Parameter[];
|
|
960
960
|
/**
|
|
@@ -962,15 +962,15 @@ export namespace tagmanager_v1 {
|
|
|
962
962
|
*/
|
|
963
963
|
parentFolderId?: string | null;
|
|
964
964
|
/**
|
|
965
|
-
* The end timestamp in milliseconds to schedule a variable.
|
|
965
|
+
* The end timestamp in milliseconds to schedule a variable.
|
|
966
966
|
*/
|
|
967
967
|
scheduleEndMs?: string | null;
|
|
968
968
|
/**
|
|
969
|
-
* The start timestamp in milliseconds to schedule a variable.
|
|
969
|
+
* The start timestamp in milliseconds to schedule a variable.
|
|
970
970
|
*/
|
|
971
971
|
scheduleStartMs?: string | null;
|
|
972
972
|
/**
|
|
973
|
-
* GTM Variable Type.
|
|
973
|
+
* GTM Variable Type.
|
|
974
974
|
*/
|
|
975
975
|
type?: string | null;
|
|
976
976
|
/**
|