| 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></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="tagmanager_v1.accounts.containers.html">containers()</a></code> |
| 79 |
</p> |
| 80 |
<p class="firstline">Returns the containers Resource.</p> |
| 81 |
|
| 82 |
<p class="toc_element"> |
| 83 |
<code><a href="tagmanager_v1.accounts.permissions.html">permissions()</a></code> |
| 84 |
</p> |
| 85 |
<p class="firstline">Returns the permissions Resource.</p> |
| 86 |
|
| 87 |
<p class="toc_element"> |
| 88 |
<code><a href="#close">close()</a></code></p> |
| 89 |
<p class="firstline">Close httplib2 connections.</p> |
| 90 |
<p class="toc_element"> |
| 91 |
<code><a href="#get">get(accountId, x__xgafv=None)</a></code></p> |
| 92 |
<p class="firstline">Gets a GTM Account.</p> |
| 93 |
<p class="toc_element"> |
| 94 |
<code><a href="#list">list(x__xgafv=None)</a></code></p> |
| 95 |
<p class="firstline">Lists all GTM Accounts that a user has access to.</p> |
| 96 |
<p class="toc_element"> |
| 97 |
<code><a href="#update">update(accountId, body=None, fingerprint=None, x__xgafv=None)</a></code></p> |
| 98 |
<p class="firstline">Updates a GTM Account.</p> |
| 99 |
<h3>Method Details</h3> |
| 100 |
<div class="method"> |
| 101 |
<code class="details" id="close">close()</code> |
| 102 |
<pre>Close httplib2 connections.</pre> |
| 103 |
</div> |
| 104 |
|
| 105 |
<div class="method"> |
| 106 |
<code class="details" id="get">get(accountId, x__xgafv=None)</code> |
| 107 |
<pre>Gets a GTM Account. |
| 108 |
|
| 109 |
Args: |
| 110 |
accountId: string, The GTM Account ID. (required) |
| 111 |
x__xgafv: string, V1 error format. |
| 112 |
Allowed values |
| 113 |
1 - v1 error format |
| 114 |
2 - v2 error format |
| 115 |
|
| 116 |
Returns: |
| 117 |
An object of the form: |
| 118 |
|
| 119 |
{ # Represents a Google Tag Manager Account. |
| 120 |
"accountId": "A String", # The Account ID uniquely identifies the GTM Account. |
| 121 |
"fingerprint": "A String", # The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified. |
| 122 |
"name": "A String", # Account display name. |
| 123 |
"shareData": True or False, # Whether the account shares data anonymously with Google and others. |
| 124 |
}</pre> |
| 125 |
</div> |
| 126 |
|
| 127 |
<div class="method"> |
| 128 |
<code class="details" id="list">list(x__xgafv=None)</code> |
| 129 |
<pre>Lists all GTM Accounts that a user has access to. |
| 130 |
|
| 131 |
Args: |
| 132 |
x__xgafv: string, V1 error format. |
| 133 |
Allowed values |
| 134 |
1 - v1 error format |
| 135 |
2 - v2 error format |
| 136 |
|
| 137 |
Returns: |
| 138 |
An object of the form: |
| 139 |
|
| 140 |
{ # List Accounts Response. |
| 141 |
"accounts": [ # List of GTM Accounts that a user has access to. |
| 142 |
{ # Represents a Google Tag Manager Account. |
| 143 |
"accountId": "A String", # The Account ID uniquely identifies the GTM Account. |
| 144 |
"fingerprint": "A String", # The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified. |
| 145 |
"name": "A String", # Account display name. |
| 146 |
"shareData": True or False, # Whether the account shares data anonymously with Google and others. |
| 147 |
}, |
| 148 |
], |
| 149 |
}</pre> |
| 150 |
</div> |
| 151 |
|
| 152 |
<div class="method"> |
| 153 |
<code class="details" id="update">update(accountId, body=None, fingerprint=None, x__xgafv=None)</code> |
| 154 |
<pre>Updates a GTM Account. |
| 155 |
|
| 156 |
Args: |
| 157 |
accountId: string, The GTM Account ID. (required) |
| 158 |
body: object, The request body. |
| 159 |
The object takes the form of: |
| 160 |
|
| 161 |
{ # Represents a Google Tag Manager Account. |
| 162 |
"accountId": "A String", # The Account ID uniquely identifies the GTM Account. |
| 163 |
"fingerprint": "A String", # The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified. |
| 164 |
"name": "A String", # Account display name. |
| 165 |
"shareData": True or False, # Whether the account shares data anonymously with Google and others. |
| 166 |
} |
| 167 |
|
| 168 |
fingerprint: string, When provided, this fingerprint must match the fingerprint of the account in storage. |
| 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 Account. |
| 178 |
"accountId": "A String", # The Account ID uniquely identifies the GTM Account. |
| 179 |
"fingerprint": "A String", # The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified. |
| 180 |
"name": "A String", # Account display name. |
| 181 |
"shareData": True or False, # Whether the account shares data anonymously with Google and others. |
| 182 |
}</pre> |
| 183 |
</div> |
| 184 |
|
| 185 |
</body></html> |