Debian Codegraph @

docs/dyn/tagmanager_v1.accounts.containers.tags.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="tagmanager_v1.html">Tag Manager API</a> . <a href="tagmanager_v1.accounts.html">accounts</a> . <a href="tagmanager_v1.accounts.containers.html">containers</a> . <a href="tagmanager_v1.accounts.containers.tags.html">tags</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(accountId, containerId, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a GTM Tag.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(accountId, containerId, tagId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a GTM Tag.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(accountId, containerId, tagId, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a GTM Tag.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(accountId, containerId, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists all GTM Tags of a Container.</p>
92 <p class="toc_element">
93 <code><a href="#update">update(accountId, containerId, tagId, body=None, fingerprint=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Updates a GTM Tag.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(accountId, containerId, body=None, x__xgafv=None)</code>
103 <pre>Creates a GTM Tag.
104
105 Args:
106 accountId: string, The GTM Account ID. (required)
107 containerId: string, The GTM Container ID. (required)
108 body: object, The request body.
109 The object takes the form of:
110
111 { # Represents a Google Tag Manager Tag.
112 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
113 &quot;blockingTriggerId&quot;: [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.
114 &quot;A String&quot;,
115 ],
116 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
117 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
118 &quot;firingTriggerId&quot;: [ # 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.
119 &quot;A String&quot;,
120 ],
121 &quot;liveOnly&quot;: True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
122 &quot;name&quot;: &quot;A String&quot;, # Tag display name.
123 &quot;notes&quot;: &quot;A String&quot;, # User notes on how to apply this tag in the container.
124 &quot;parameter&quot;: [ # The tag&#x27;s parameters.
125 { # Represents a Google Tag Manager Parameter.
126 &quot;key&quot;: &quot;A String&quot;, # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
127 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
128 # Object with schema name: Parameter
129 ],
130 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
131 # Object with schema name: Parameter
132 ],
133 &quot;type&quot;: &quot;A String&quot;, # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as &#x27;true&#x27; or &#x27;false&#x27; - 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
134 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
135 },
136 ],
137 &quot;parentFolderId&quot;: &quot;A String&quot;, # Parent folder id.
138 &quot;paused&quot;: True or False, # True if the tag is paused.
139 &quot;priority&quot;: { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag&#x27;s priority can be a positive or negative value. The default value is 0.
140 &quot;key&quot;: &quot;A String&quot;, # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
141 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
142 # Object with schema name: Parameter
143 ],
144 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
145 # Object with schema name: Parameter
146 ],
147 &quot;type&quot;: &quot;A String&quot;, # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as &#x27;true&#x27; or &#x27;false&#x27; - 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
148 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
149 },
150 &quot;scheduleEndMs&quot;: &quot;A String&quot;, # The end timestamp in milliseconds to schedule a tag.
151 &quot;scheduleStartMs&quot;: &quot;A String&quot;, # The start timestamp in milliseconds to schedule a tag.
152 &quot;setupTag&quot;: [ # The list of setup tags. Currently we only allow one.
153 {
154 &quot;stopOnSetupFailure&quot;: True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.
155 &quot;tagName&quot;: &quot;A String&quot;, # The name of the setup tag.
156 },
157 ],
158 &quot;tagFiringOption&quot;: &quot;A String&quot;, # Option to fire this tag.
159 &quot;tagId&quot;: &quot;A String&quot;, # The Tag ID uniquely identifies the GTM Tag.
160 &quot;teardownTag&quot;: [ # The list of teardown tags. Currently we only allow one.
161 {
162 &quot;stopTeardownOnFailure&quot;: True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.
163 &quot;tagName&quot;: &quot;A String&quot;, # The name of the teardown tag.
164 },
165 ],
166 &quot;type&quot;: &quot;A String&quot;, # GTM Tag Type.
167 }
168
169 x__xgafv: string, V1 error format.
170 Allowed values
171 1 - v1 error format
172 2 - v2 error format
173
174 Returns:
175 An object of the form:
176
177 { # Represents a Google Tag Manager Tag.
178 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
179 &quot;blockingTriggerId&quot;: [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.
180 &quot;A String&quot;,
181 ],
182 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
183 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
184 &quot;firingTriggerId&quot;: [ # 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.
185 &quot;A String&quot;,
186 ],
187 &quot;liveOnly&quot;: True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
188 &quot;name&quot;: &quot;A String&quot;, # Tag display name.
189 &quot;notes&quot;: &quot;A String&quot;, # User notes on how to apply this tag in the container.
190 &quot;parameter&quot;: [ # The tag&#x27;s parameters.
191 { # Represents a Google Tag Manager Parameter.
192 &quot;key&quot;: &quot;A String&quot;, # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
193 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
194 # Object with schema name: Parameter
195 ],
196 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
197 # Object with schema name: Parameter
198 ],
199 &quot;type&quot;: &quot;A String&quot;, # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as &#x27;true&#x27; or &#x27;false&#x27; - 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
200 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
201 },
202 ],
203 &quot;parentFolderId&quot;: &quot;A String&quot;, # Parent folder id.
204 &quot;paused&quot;: True or False, # True if the tag is paused.
205 &quot;priority&quot;: { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag&#x27;s priority can be a positive or negative value. The default value is 0.
206 &quot;key&quot;: &quot;A String&quot;, # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
207 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
208 # Object with schema name: Parameter
209 ],
210 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
211 # Object with schema name: Parameter
212 ],
213 &quot;type&quot;: &quot;A String&quot;, # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as &#x27;true&#x27; or &#x27;false&#x27; - 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
214 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
215 },
216 &quot;scheduleEndMs&quot;: &quot;A String&quot;, # The end timestamp in milliseconds to schedule a tag.
217 &quot;scheduleStartMs&quot;: &quot;A String&quot;, # The start timestamp in milliseconds to schedule a tag.
218 &quot;setupTag&quot;: [ # The list of setup tags. Currently we only allow one.
219 {
220 &quot;stopOnSetupFailure&quot;: True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.
221 &quot;tagName&quot;: &quot;A String&quot;, # The name of the setup tag.
222 },
223 ],
224 &quot;tagFiringOption&quot;: &quot;A String&quot;, # Option to fire this tag.
225 &quot;tagId&quot;: &quot;A String&quot;, # The Tag ID uniquely identifies the GTM Tag.
226 &quot;teardownTag&quot;: [ # The list of teardown tags. Currently we only allow one.
227 {
228 &quot;stopTeardownOnFailure&quot;: True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.
229 &quot;tagName&quot;: &quot;A String&quot;, # The name of the teardown tag.
230 },
231 ],
232 &quot;type&quot;: &quot;A String&quot;, # GTM Tag Type.
233 }</pre>
234 </div>
235
236 <div class="method">
237 <code class="details" id="delete">delete(accountId, containerId, tagId, x__xgafv=None)</code>
238 <pre>Deletes a GTM Tag.
239
240 Args:
241 accountId: string, The GTM Account ID. (required)
242 containerId: string, The GTM Container ID. (required)
243 tagId: string, The GTM Tag ID. (required)
244 x__xgafv: string, V1 error format.
245 Allowed values
246 1 - v1 error format
247 2 - v2 error format
248 </pre>
249 </div>
250
251 <div class="method">
252 <code class="details" id="get">get(accountId, containerId, tagId, x__xgafv=None)</code>
253 <pre>Gets a GTM Tag.
254
255 Args:
256 accountId: string, The GTM Account ID. (required)
257 containerId: string, The GTM Container ID. (required)
258 tagId: string, The GTM Tag ID. (required)
259 x__xgafv: string, V1 error format.
260 Allowed values
261 1 - v1 error format
262 2 - v2 error format
263
264 Returns:
265 An object of the form:
266
267 { # Represents a Google Tag Manager Tag.
268 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
269 &quot;blockingTriggerId&quot;: [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.
270 &quot;A String&quot;,
271 ],
272 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
273 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
274 &quot;firingTriggerId&quot;: [ # 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.
275 &quot;A String&quot;,
276 ],
277 &quot;liveOnly&quot;: True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
278 &quot;name&quot;: &quot;A String&quot;, # Tag display name.
279 &quot;notes&quot;: &quot;A String&quot;, # User notes on how to apply this tag in the container.
280 &quot;parameter&quot;: [ # The tag&#x27;s parameters.
281 { # Represents a Google Tag Manager Parameter.
282 &quot;key&quot;: &quot;A String&quot;, # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
283 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
284 # Object with schema name: Parameter
285 ],
286 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
287 # Object with schema name: Parameter
288 ],
289 &quot;type&quot;: &quot;A String&quot;, # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as &#x27;true&#x27; or &#x27;false&#x27; - 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
290 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
291 },
292 ],
293 &quot;parentFolderId&quot;: &quot;A String&quot;, # Parent folder id.
294 &quot;paused&quot;: True or False, # True if the tag is paused.
295 &quot;priority&quot;: { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag&#x27;s priority can be a positive or negative value. The default value is 0.
296 &quot;key&quot;: &quot;A String&quot;, # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
297 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
298 # Object with schema name: Parameter
299 ],
300 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
301 # Object with schema name: Parameter
302 ],
303 &quot;type&quot;: &quot;A String&quot;, # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as &#x27;true&#x27; or &#x27;false&#x27; - 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
304 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
305 },
306 &quot;scheduleEndMs&quot;: &quot;A String&quot;, # The end timestamp in milliseconds to schedule a tag.
307 &quot;scheduleStartMs&quot;: &quot;A String&quot;, # The start timestamp in milliseconds to schedule a tag.
308 &quot;setupTag&quot;: [ # The list of setup tags. Currently we only allow one.
309 {
310 &quot;stopOnSetupFailure&quot;: True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.
311 &quot;tagName&quot;: &quot;A String&quot;, # The name of the setup tag.
312 },
313 ],
314 &quot;tagFiringOption&quot;: &quot;A String&quot;, # Option to fire this tag.
315 &quot;tagId&quot;: &quot;A String&quot;, # The Tag ID uniquely identifies the GTM Tag.
316 &quot;teardownTag&quot;: [ # The list of teardown tags. Currently we only allow one.
317 {
318 &quot;stopTeardownOnFailure&quot;: True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.
319 &quot;tagName&quot;: &quot;A String&quot;, # The name of the teardown tag.
320 },
321 ],
322 &quot;type&quot;: &quot;A String&quot;, # GTM Tag Type.
323 }</pre>
324 </div>
325
326 <div class="method">
327 <code class="details" id="list">list(accountId, containerId, x__xgafv=None)</code>
328 <pre>Lists all GTM Tags of a Container.
329
330 Args:
331 accountId: string, The GTM Account ID. (required)
332 containerId: string, The GTM Container ID. (required)
333 x__xgafv: string, V1 error format.
334 Allowed values
335 1 - v1 error format
336 2 - v2 error format
337
338 Returns:
339 An object of the form:
340
341 { # List Tags Response.
342 &quot;tags&quot;: [ # All GTM Tags of a GTM Container.
343 { # Represents a Google Tag Manager Tag.
344 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
345 &quot;blockingTriggerId&quot;: [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.
346 &quot;A String&quot;,
347 ],
348 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
349 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
350 &quot;firingTriggerId&quot;: [ # 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.
351 &quot;A String&quot;,
352 ],
353 &quot;liveOnly&quot;: True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
354 &quot;name&quot;: &quot;A String&quot;, # Tag display name.
355 &quot;notes&quot;: &quot;A String&quot;, # User notes on how to apply this tag in the container.
356 &quot;parameter&quot;: [ # The tag&#x27;s parameters.
357 { # Represents a Google Tag Manager Parameter.
358 &quot;key&quot;: &quot;A String&quot;, # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
359 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
360 # Object with schema name: Parameter
361 ],
362 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
363 # Object with schema name: Parameter
364 ],
365 &quot;type&quot;: &quot;A String&quot;, # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as &#x27;true&#x27; or &#x27;false&#x27; - 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
366 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
367 },
368 ],
369 &quot;parentFolderId&quot;: &quot;A String&quot;, # Parent folder id.
370 &quot;paused&quot;: True or False, # True if the tag is paused.
371 &quot;priority&quot;: { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag&#x27;s priority can be a positive or negative value. The default value is 0.
372 &quot;key&quot;: &quot;A String&quot;, # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
373 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
374 # Object with schema name: Parameter
375 ],
376 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
377 # Object with schema name: Parameter
378 ],
379 &quot;type&quot;: &quot;A String&quot;, # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as &#x27;true&#x27; or &#x27;false&#x27; - 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
380 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
381 },
382 &quot;scheduleEndMs&quot;: &quot;A String&quot;, # The end timestamp in milliseconds to schedule a tag.
383 &quot;scheduleStartMs&quot;: &quot;A String&quot;, # The start timestamp in milliseconds to schedule a tag.
384 &quot;setupTag&quot;: [ # The list of setup tags. Currently we only allow one.
385 {
386 &quot;stopOnSetupFailure&quot;: True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.
387 &quot;tagName&quot;: &quot;A String&quot;, # The name of the setup tag.
388 },
389 ],
390 &quot;tagFiringOption&quot;: &quot;A String&quot;, # Option to fire this tag.
391 &quot;tagId&quot;: &quot;A String&quot;, # The Tag ID uniquely identifies the GTM Tag.
392 &quot;teardownTag&quot;: [ # The list of teardown tags. Currently we only allow one.
393 {
394 &quot;stopTeardownOnFailure&quot;: True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.
395 &quot;tagName&quot;: &quot;A String&quot;, # The name of the teardown tag.
396 },
397 ],
398 &quot;type&quot;: &quot;A String&quot;, # GTM Tag Type.
399 },
400 ],
401 }</pre>
402 </div>
403
404 <div class="method">
405 <code class="details" id="update">update(accountId, containerId, tagId, body=None, fingerprint=None, x__xgafv=None)</code>
406 <pre>Updates a GTM Tag.
407
408 Args:
409 accountId: string, The GTM Account ID. (required)
410 containerId: string, The GTM Container ID. (required)
411 tagId: string, The GTM Tag ID. (required)
412 body: object, The request body.
413 The object takes the form of:
414
415 { # Represents a Google Tag Manager Tag.
416 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
417 &quot;blockingTriggerId&quot;: [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.
418 &quot;A String&quot;,
419 ],
420 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
421 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
422 &quot;firingTriggerId&quot;: [ # 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.
423 &quot;A String&quot;,
424 ],
425 &quot;liveOnly&quot;: True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
426 &quot;name&quot;: &quot;A String&quot;, # Tag display name.
427 &quot;notes&quot;: &quot;A String&quot;, # User notes on how to apply this tag in the container.
428 &quot;parameter&quot;: [ # The tag&#x27;s parameters.
429 { # Represents a Google Tag Manager Parameter.
430 &quot;key&quot;: &quot;A String&quot;, # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
431 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
432 # Object with schema name: Parameter
433 ],
434 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
435 # Object with schema name: Parameter
436 ],
437 &quot;type&quot;: &quot;A String&quot;, # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as &#x27;true&#x27; or &#x27;false&#x27; - 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
438 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
439 },
440 ],
441 &quot;parentFolderId&quot;: &quot;A String&quot;, # Parent folder id.
442 &quot;paused&quot;: True or False, # True if the tag is paused.
443 &quot;priority&quot;: { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag&#x27;s priority can be a positive or negative value. The default value is 0.
444 &quot;key&quot;: &quot;A String&quot;, # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
445 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
446 # Object with schema name: Parameter
447 ],
448 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
449 # Object with schema name: Parameter
450 ],
451 &quot;type&quot;: &quot;A String&quot;, # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as &#x27;true&#x27; or &#x27;false&#x27; - 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
452 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
453 },
454 &quot;scheduleEndMs&quot;: &quot;A String&quot;, # The end timestamp in milliseconds to schedule a tag.
455 &quot;scheduleStartMs&quot;: &quot;A String&quot;, # The start timestamp in milliseconds to schedule a tag.
456 &quot;setupTag&quot;: [ # The list of setup tags. Currently we only allow one.
457 {
458 &quot;stopOnSetupFailure&quot;: True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.
459 &quot;tagName&quot;: &quot;A String&quot;, # The name of the setup tag.
460 },
461 ],
462 &quot;tagFiringOption&quot;: &quot;A String&quot;, # Option to fire this tag.
463 &quot;tagId&quot;: &quot;A String&quot;, # The Tag ID uniquely identifies the GTM Tag.
464 &quot;teardownTag&quot;: [ # The list of teardown tags. Currently we only allow one.
465 {
466 &quot;stopTeardownOnFailure&quot;: True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.
467 &quot;tagName&quot;: &quot;A String&quot;, # The name of the teardown tag.
468 },
469 ],
470 &quot;type&quot;: &quot;A String&quot;, # GTM Tag Type.
471 }
472
473 fingerprint: string, When provided, this fingerprint must match the fingerprint of the tag in storage.
474 x__xgafv: string, V1 error format.
475 Allowed values
476 1 - v1 error format
477 2 - v2 error format
478
479 Returns:
480 An object of the form:
481
482 { # Represents a Google Tag Manager Tag.
483 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
484 &quot;blockingTriggerId&quot;: [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.
485 &quot;A String&quot;,
486 ],
487 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
488 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
489 &quot;firingTriggerId&quot;: [ # 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.
490 &quot;A String&quot;,
491 ],
492 &quot;liveOnly&quot;: True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
493 &quot;name&quot;: &quot;A String&quot;, # Tag display name.
494 &quot;notes&quot;: &quot;A String&quot;, # User notes on how to apply this tag in the container.
495 &quot;parameter&quot;: [ # The tag&#x27;s parameters.
496 { # Represents a Google Tag Manager Parameter.
497 &quot;key&quot;: &quot;A String&quot;, # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
498 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
499 # Object with schema name: Parameter
500 ],
501 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
502 # Object with schema name: Parameter
503 ],
504 &quot;type&quot;: &quot;A String&quot;, # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as &#x27;true&#x27; or &#x27;false&#x27; - 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
505 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
506 },
507 ],
508 &quot;parentFolderId&quot;: &quot;A String&quot;, # Parent folder id.
509 &quot;paused&quot;: True or False, # True if the tag is paused.
510 &quot;priority&quot;: { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag&#x27;s priority can be a positive or negative value. The default value is 0.
511 &quot;key&quot;: &quot;A String&quot;, # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
512 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
513 # Object with schema name: Parameter
514 ],
515 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
516 # Object with schema name: Parameter
517 ],
518 &quot;type&quot;: &quot;A String&quot;, # The parameter type. Valid values are: - boolean: The value represents a boolean, represented as &#x27;true&#x27; or &#x27;false&#x27; - 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
519 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
520 },
521 &quot;scheduleEndMs&quot;: &quot;A String&quot;, # The end timestamp in milliseconds to schedule a tag.
522 &quot;scheduleStartMs&quot;: &quot;A String&quot;, # The start timestamp in milliseconds to schedule a tag.
523 &quot;setupTag&quot;: [ # The list of setup tags. Currently we only allow one.
524 {
525 &quot;stopOnSetupFailure&quot;: True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.
526 &quot;tagName&quot;: &quot;A String&quot;, # The name of the setup tag.
527 },
528 ],
529 &quot;tagFiringOption&quot;: &quot;A String&quot;, # Option to fire this tag.
530 &quot;tagId&quot;: &quot;A String&quot;, # The Tag ID uniquely identifies the GTM Tag.
531 &quot;teardownTag&quot;: [ # The list of teardown tags. Currently we only allow one.
532 {
533 &quot;stopTeardownOnFailure&quot;: True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.
534 &quot;tagName&quot;: &quot;A String&quot;, # The name of the teardown tag.
535 },
536 ],
537 &quot;type&quot;: &quot;A String&quot;, # GTM Tag Type.
538 }</pre>
539 </div>
540
541 </body></html>