Debian Codegraph @

docs/dyn/tagmanager_v1.accounts.containers.variables.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.variables.html">variables</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 Variable.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(accountId, containerId, variableId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a GTM Variable.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(accountId, containerId, variableId, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a GTM Variable.</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 Variables of a Container.</p>
92 <p class="toc_element">
93 <code><a href="#update">update(accountId, containerId, variableId, body=None, fingerprint=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Updates a GTM Variable.</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 Variable.
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 Variable.
112 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
113 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
114 &quot;disablingTriggerId&quot;: [ # 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.
115 &quot;A String&quot;,
116 ],
117 &quot;enablingTriggerId&quot;: [ # 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.
118 &quot;A String&quot;,
119 ],
120 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.
121 &quot;name&quot;: &quot;A String&quot;, # Variable display name.
122 &quot;notes&quot;: &quot;A String&quot;, # User notes on how to apply this variable in the container.
123 &quot;parameter&quot;: [ # The variable&#x27;s parameters.
124 { # Represents a Google Tag Manager Parameter.
125 &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.
126 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
127 # Object with schema name: Parameter
128 ],
129 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
130 # Object with schema name: Parameter
131 ],
132 &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
133 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
134 },
135 ],
136 &quot;parentFolderId&quot;: &quot;A String&quot;, # Parent folder id.
137 &quot;scheduleEndMs&quot;: &quot;A String&quot;, # The end timestamp in milliseconds to schedule a variable.
138 &quot;scheduleStartMs&quot;: &quot;A String&quot;, # The start timestamp in milliseconds to schedule a variable.
139 &quot;type&quot;: &quot;A String&quot;, # GTM Variable Type.
140 &quot;variableId&quot;: &quot;A String&quot;, # The Variable ID uniquely identifies the GTM Variable.
141 }
142
143 x__xgafv: string, V1 error format.
144 Allowed values
145 1 - v1 error format
146 2 - v2 error format
147
148 Returns:
149 An object of the form:
150
151 { # Represents a Google Tag Manager Variable.
152 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
153 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
154 &quot;disablingTriggerId&quot;: [ # 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.
155 &quot;A String&quot;,
156 ],
157 &quot;enablingTriggerId&quot;: [ # 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.
158 &quot;A String&quot;,
159 ],
160 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.
161 &quot;name&quot;: &quot;A String&quot;, # Variable display name.
162 &quot;notes&quot;: &quot;A String&quot;, # User notes on how to apply this variable in the container.
163 &quot;parameter&quot;: [ # The variable&#x27;s parameters.
164 { # Represents a Google Tag Manager Parameter.
165 &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.
166 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
167 # Object with schema name: Parameter
168 ],
169 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
170 # Object with schema name: Parameter
171 ],
172 &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
173 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
174 },
175 ],
176 &quot;parentFolderId&quot;: &quot;A String&quot;, # Parent folder id.
177 &quot;scheduleEndMs&quot;: &quot;A String&quot;, # The end timestamp in milliseconds to schedule a variable.
178 &quot;scheduleStartMs&quot;: &quot;A String&quot;, # The start timestamp in milliseconds to schedule a variable.
179 &quot;type&quot;: &quot;A String&quot;, # GTM Variable Type.
180 &quot;variableId&quot;: &quot;A String&quot;, # The Variable ID uniquely identifies the GTM Variable.
181 }</pre>
182 </div>
183
184 <div class="method">
185 <code class="details" id="delete">delete(accountId, containerId, variableId, x__xgafv=None)</code>
186 <pre>Deletes a GTM Variable.
187
188 Args:
189 accountId: string, The GTM Account ID. (required)
190 containerId: string, The GTM Container ID. (required)
191 variableId: string, The GTM Variable ID. (required)
192 x__xgafv: string, V1 error format.
193 Allowed values
194 1 - v1 error format
195 2 - v2 error format
196 </pre>
197 </div>
198
199 <div class="method">
200 <code class="details" id="get">get(accountId, containerId, variableId, x__xgafv=None)</code>
201 <pre>Gets a GTM Variable.
202
203 Args:
204 accountId: string, The GTM Account ID. (required)
205 containerId: string, The GTM Container ID. (required)
206 variableId: string, The GTM Variable ID. (required)
207 x__xgafv: string, V1 error format.
208 Allowed values
209 1 - v1 error format
210 2 - v2 error format
211
212 Returns:
213 An object of the form:
214
215 { # Represents a Google Tag Manager Variable.
216 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
217 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
218 &quot;disablingTriggerId&quot;: [ # 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.
219 &quot;A String&quot;,
220 ],
221 &quot;enablingTriggerId&quot;: [ # 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.
222 &quot;A String&quot;,
223 ],
224 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.
225 &quot;name&quot;: &quot;A String&quot;, # Variable display name.
226 &quot;notes&quot;: &quot;A String&quot;, # User notes on how to apply this variable in the container.
227 &quot;parameter&quot;: [ # The variable&#x27;s parameters.
228 { # Represents a Google Tag Manager Parameter.
229 &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.
230 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
231 # Object with schema name: Parameter
232 ],
233 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
234 # Object with schema name: Parameter
235 ],
236 &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
237 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
238 },
239 ],
240 &quot;parentFolderId&quot;: &quot;A String&quot;, # Parent folder id.
241 &quot;scheduleEndMs&quot;: &quot;A String&quot;, # The end timestamp in milliseconds to schedule a variable.
242 &quot;scheduleStartMs&quot;: &quot;A String&quot;, # The start timestamp in milliseconds to schedule a variable.
243 &quot;type&quot;: &quot;A String&quot;, # GTM Variable Type.
244 &quot;variableId&quot;: &quot;A String&quot;, # The Variable ID uniquely identifies the GTM Variable.
245 }</pre>
246 </div>
247
248 <div class="method">
249 <code class="details" id="list">list(accountId, containerId, x__xgafv=None)</code>
250 <pre>Lists all GTM Variables of a Container.
251
252 Args:
253 accountId: string, The GTM Account ID. (required)
254 containerId: string, The GTM Container ID. (required)
255 x__xgafv: string, V1 error format.
256 Allowed values
257 1 - v1 error format
258 2 - v2 error format
259
260 Returns:
261 An object of the form:
262
263 { # List Variables Response.
264 &quot;variables&quot;: [ # All GTM Variables of a GTM Container.
265 { # Represents a Google Tag Manager Variable.
266 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
267 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
268 &quot;disablingTriggerId&quot;: [ # 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.
269 &quot;A String&quot;,
270 ],
271 &quot;enablingTriggerId&quot;: [ # 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.
272 &quot;A String&quot;,
273 ],
274 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.
275 &quot;name&quot;: &quot;A String&quot;, # Variable display name.
276 &quot;notes&quot;: &quot;A String&quot;, # User notes on how to apply this variable in the container.
277 &quot;parameter&quot;: [ # The variable&#x27;s parameters.
278 { # Represents a Google Tag Manager Parameter.
279 &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.
280 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
281 # Object with schema name: Parameter
282 ],
283 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
284 # Object with schema name: Parameter
285 ],
286 &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
287 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
288 },
289 ],
290 &quot;parentFolderId&quot;: &quot;A String&quot;, # Parent folder id.
291 &quot;scheduleEndMs&quot;: &quot;A String&quot;, # The end timestamp in milliseconds to schedule a variable.
292 &quot;scheduleStartMs&quot;: &quot;A String&quot;, # The start timestamp in milliseconds to schedule a variable.
293 &quot;type&quot;: &quot;A String&quot;, # GTM Variable Type.
294 &quot;variableId&quot;: &quot;A String&quot;, # The Variable ID uniquely identifies the GTM Variable.
295 },
296 ],
297 }</pre>
298 </div>
299
300 <div class="method">
301 <code class="details" id="update">update(accountId, containerId, variableId, body=None, fingerprint=None, x__xgafv=None)</code>
302 <pre>Updates a GTM Variable.
303
304 Args:
305 accountId: string, The GTM Account ID. (required)
306 containerId: string, The GTM Container ID. (required)
307 variableId: string, The GTM Variable ID. (required)
308 body: object, The request body.
309 The object takes the form of:
310
311 { # Represents a Google Tag Manager Variable.
312 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
313 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
314 &quot;disablingTriggerId&quot;: [ # 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.
315 &quot;A String&quot;,
316 ],
317 &quot;enablingTriggerId&quot;: [ # 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.
318 &quot;A String&quot;,
319 ],
320 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.
321 &quot;name&quot;: &quot;A String&quot;, # Variable display name.
322 &quot;notes&quot;: &quot;A String&quot;, # User notes on how to apply this variable in the container.
323 &quot;parameter&quot;: [ # The variable&#x27;s parameters.
324 { # Represents a Google Tag Manager Parameter.
325 &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.
326 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
327 # Object with schema name: Parameter
328 ],
329 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
330 # Object with schema name: Parameter
331 ],
332 &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
333 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
334 },
335 ],
336 &quot;parentFolderId&quot;: &quot;A String&quot;, # Parent folder id.
337 &quot;scheduleEndMs&quot;: &quot;A String&quot;, # The end timestamp in milliseconds to schedule a variable.
338 &quot;scheduleStartMs&quot;: &quot;A String&quot;, # The start timestamp in milliseconds to schedule a variable.
339 &quot;type&quot;: &quot;A String&quot;, # GTM Variable Type.
340 &quot;variableId&quot;: &quot;A String&quot;, # The Variable ID uniquely identifies the GTM Variable.
341 }
342
343 fingerprint: string, When provided, this fingerprint must match the fingerprint of the variable in storage.
344 x__xgafv: string, V1 error format.
345 Allowed values
346 1 - v1 error format
347 2 - v2 error format
348
349 Returns:
350 An object of the form:
351
352 { # Represents a Google Tag Manager Variable.
353 &quot;accountId&quot;: &quot;A String&quot;, # GTM Account ID.
354 &quot;containerId&quot;: &quot;A String&quot;, # GTM Container ID.
355 &quot;disablingTriggerId&quot;: [ # 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.
356 &quot;A String&quot;,
357 ],
358 &quot;enablingTriggerId&quot;: [ # 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.
359 &quot;A String&quot;,
360 ],
361 &quot;fingerprint&quot;: &quot;A String&quot;, # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.
362 &quot;name&quot;: &quot;A String&quot;, # Variable display name.
363 &quot;notes&quot;: &quot;A String&quot;, # User notes on how to apply this variable in the container.
364 &quot;parameter&quot;: [ # The variable&#x27;s parameters.
365 { # Represents a Google Tag Manager Parameter.
366 &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.
367 &quot;list&quot;: [ # This list parameter&#x27;s parameters (keys will be ignored).
368 # Object with schema name: Parameter
369 ],
370 &quot;map&quot;: [ # This map parameter&#x27;s parameters (must have keys; keys must be unique).
371 # Object with schema name: Parameter
372 ],
373 &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
374 &quot;value&quot;: &quot;A String&quot;, # A parameter&#x27;s value (may contain variable references). as appropriate to the specified type.
375 },
376 ],
377 &quot;parentFolderId&quot;: &quot;A String&quot;, # Parent folder id.
378 &quot;scheduleEndMs&quot;: &quot;A String&quot;, # The end timestamp in milliseconds to schedule a variable.
379 &quot;scheduleStartMs&quot;: &quot;A String&quot;, # The start timestamp in milliseconds to schedule a variable.
380 &quot;type&quot;: &quot;A String&quot;, # GTM Variable Type.
381 &quot;variableId&quot;: &quot;A String&quot;, # The Variable ID uniquely identifies the GTM Variable.
382 }</pre>
383 </div>
384
385 </body></html>