blob: ea86ee462ad0b3f79d4b67214a58a1b6ed8c859d [file] [log] [blame]
Craig Citroe633be12015-03-02 13:40:36 -08001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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="analytics_v3.html">Google Analytics API</a> . <a href="analytics_v3.management.html">management</a> . <a href="analytics_v3.management.customDimensions.html">customDimensions</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Craig Citroe633be12015-03-02 13:40:36 -080081 <code><a href="#get">get(accountId, webPropertyId, customDimensionId)</a></code></p>
82<p class="firstline">Get a custom dimension to which the user has access.</p>
83<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070084 <code><a href="#insert">insert(accountId, webPropertyId, body=None)</a></code></p>
Craig Citroe633be12015-03-02 13:40:36 -080085<p class="firstline">Create a new custom dimension.</p>
86<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070087 <code><a href="#list">list(accountId, webPropertyId, max_results=None, start_index=None)</a></code></p>
Craig Citroe633be12015-03-02 13:40:36 -080088<p class="firstline">Lists custom dimensions to which the user has access.</p>
89<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070090 <code><a href="#patch">patch(accountId, webPropertyId, customDimensionId, body=None, ignoreCustomDataSourceLinks=None)</a></code></p>
Craig Citroe633be12015-03-02 13:40:36 -080091<p class="firstline">Updates an existing custom dimension. This method supports patch semantics.</p>
92<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code><a href="#update">update(accountId, webPropertyId, customDimensionId, body=None, ignoreCustomDataSourceLinks=None)</a></code></p>
Craig Citroe633be12015-03-02 13:40:36 -080094<p class="firstline">Updates an existing custom dimension.</p>
95<h3>Method Details</h3>
96<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070097 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99</div>
100
101<div class="method">
Craig Citroe633be12015-03-02 13:40:36 -0800102 <code class="details" id="get">get(accountId, webPropertyId, customDimensionId)</code>
103 <pre>Get a custom dimension to which the user has access.
104
105Args:
106 accountId: string, Account ID for the custom dimension to retrieve. (required)
107 webPropertyId: string, Web property ID for the custom dimension to retrieve. (required)
108 customDimensionId: string, The ID of the custom dimension to retrieve. (required)
109
110Returns:
111 An object of the form:
112
113 { # JSON template for Analytics Custom Dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700114 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700115 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
116 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
117 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700118 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700119 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700120 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700121 &quot;index&quot;: 42, # Index of the custom dimension.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700122 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
123 &quot;kind&quot;: &quot;analytics#customDimension&quot;, # Kind value for a custom dimension. Set to &quot;analytics#customDimension&quot;. It is a read-only field.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700124 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
125 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
126 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
127 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700128 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Craig Citroe633be12015-03-02 13:40:36 -0800129 }</pre>
130</div>
131
132<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700133 <code class="details" id="insert">insert(accountId, webPropertyId, body=None)</code>
Craig Citroe633be12015-03-02 13:40:36 -0800134 <pre>Create a new custom dimension.
135
136Args:
137 accountId: string, Account ID for the custom dimension to create. (required)
138 webPropertyId: string, Web property ID for the custom dimension to create. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700139 body: object, The request body.
Craig Citroe633be12015-03-02 13:40:36 -0800140 The object takes the form of:
141
142{ # JSON template for Analytics Custom Dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700143 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700144 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
145 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
146 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700147 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700148 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700149 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700150 &quot;index&quot;: 42, # Index of the custom dimension.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700151 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
152 &quot;kind&quot;: &quot;analytics#customDimension&quot;, # Kind value for a custom dimension. Set to &quot;analytics#customDimension&quot;. It is a read-only field.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700153 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
154 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
155 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
156 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700157 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Craig Citroe633be12015-03-02 13:40:36 -0800158 }
159
160
161Returns:
162 An object of the form:
163
164 { # JSON template for Analytics Custom Dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700165 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700166 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
167 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
168 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700169 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700170 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700171 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700172 &quot;index&quot;: 42, # Index of the custom dimension.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700173 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
174 &quot;kind&quot;: &quot;analytics#customDimension&quot;, # Kind value for a custom dimension. Set to &quot;analytics#customDimension&quot;. It is a read-only field.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700175 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
176 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
177 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
178 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700179 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Craig Citroe633be12015-03-02 13:40:36 -0800180 }</pre>
181</div>
182
183<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700184 <code class="details" id="list">list(accountId, webPropertyId, max_results=None, start_index=None)</code>
Craig Citroe633be12015-03-02 13:40:36 -0800185 <pre>Lists custom dimensions to which the user has access.
186
187Args:
188 accountId: string, Account ID for the custom dimensions to retrieve. (required)
189 webPropertyId: string, Web property ID for the custom dimensions to retrieve. (required)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700190 max_results: integer, The maximum number of custom dimensions to include in this response.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700191 start_index: integer, An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
Craig Citroe633be12015-03-02 13:40:36 -0800192
193Returns:
194 An object of the form:
195
196 { # A custom dimension collection lists Analytics custom dimensions to which the user has access. Each resource in the collection corresponds to a single Analytics custom dimension.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700197 &quot;username&quot;: &quot;A String&quot;, # Email ID of the authenticated user
Bu Sun Kim65020912020-05-20 12:08:20 -0700198 &quot;items&quot;: [ # Collection of custom dimensions.
Craig Citroe633be12015-03-02 13:40:36 -0800199 { # JSON template for Analytics Custom Dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700200 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700201 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
202 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
203 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700204 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700205 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700206 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700207 &quot;index&quot;: 42, # Index of the custom dimension.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700208 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
209 &quot;kind&quot;: &quot;analytics#customDimension&quot;, # Kind value for a custom dimension. Set to &quot;analytics#customDimension&quot;. It is a read-only field.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700210 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
211 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
212 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
213 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700214 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Craig Citroe633be12015-03-02 13:40:36 -0800215 },
216 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700217 &quot;totalResults&quot;: 42, # The total number of results for the query, regardless of the number of results in the response.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700218 &quot;itemsPerPage&quot;: 42, # The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
219 &quot;startIndex&quot;: 42, # The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700220 &quot;previousLink&quot;: &quot;A String&quot;, # Link to previous page for this custom dimension collection.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700221 &quot;kind&quot;: &quot;analytics#customDimensions&quot;, # Collection type.
222 &quot;nextLink&quot;: &quot;A String&quot;, # Link to next page for this custom dimension collection.
Craig Citroe633be12015-03-02 13:40:36 -0800223 }</pre>
224</div>
225
226<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700227 <code class="details" id="patch">patch(accountId, webPropertyId, customDimensionId, body=None, ignoreCustomDataSourceLinks=None)</code>
Craig Citroe633be12015-03-02 13:40:36 -0800228 <pre>Updates an existing custom dimension. This method supports patch semantics.
229
230Args:
231 accountId: string, Account ID for the custom dimension to update. (required)
232 webPropertyId: string, Web property ID for the custom dimension to update. (required)
233 customDimensionId: string, Custom dimension ID for the custom dimension to update. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700234 body: object, The request body.
Craig Citroe633be12015-03-02 13:40:36 -0800235 The object takes the form of:
236
237{ # JSON template for Analytics Custom Dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700238 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700239 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
240 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
241 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700242 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700243 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700244 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700245 &quot;index&quot;: 42, # Index of the custom dimension.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700246 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
247 &quot;kind&quot;: &quot;analytics#customDimension&quot;, # Kind value for a custom dimension. Set to &quot;analytics#customDimension&quot;. It is a read-only field.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700248 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
249 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
250 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
251 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700252 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Craig Citroe633be12015-03-02 13:40:36 -0800253 }
254
255 ignoreCustomDataSourceLinks: boolean, Force the update and ignore any warnings related to the custom dimension being linked to a custom data source / data set.
256
257Returns:
258 An object of the form:
259
260 { # JSON template for Analytics Custom Dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700261 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700262 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
263 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
264 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700265 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700266 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700267 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700268 &quot;index&quot;: 42, # Index of the custom dimension.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700269 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
270 &quot;kind&quot;: &quot;analytics#customDimension&quot;, # Kind value for a custom dimension. Set to &quot;analytics#customDimension&quot;. It is a read-only field.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700271 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
272 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
273 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
274 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700275 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Craig Citroe633be12015-03-02 13:40:36 -0800276 }</pre>
277</div>
278
279<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700280 <code class="details" id="update">update(accountId, webPropertyId, customDimensionId, body=None, ignoreCustomDataSourceLinks=None)</code>
Craig Citroe633be12015-03-02 13:40:36 -0800281 <pre>Updates an existing custom dimension.
282
283Args:
284 accountId: string, Account ID for the custom dimension to update. (required)
285 webPropertyId: string, Web property ID for the custom dimension to update. (required)
286 customDimensionId: string, Custom dimension ID for the custom dimension to update. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700287 body: object, The request body.
Craig Citroe633be12015-03-02 13:40:36 -0800288 The object takes the form of:
289
290{ # JSON template for Analytics Custom Dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700291 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700292 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
293 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
294 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700295 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700296 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700297 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700298 &quot;index&quot;: 42, # Index of the custom dimension.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700299 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
300 &quot;kind&quot;: &quot;analytics#customDimension&quot;, # Kind value for a custom dimension. Set to &quot;analytics#customDimension&quot;. It is a read-only field.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700301 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
302 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
303 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
304 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700305 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Craig Citroe633be12015-03-02 13:40:36 -0800306 }
307
308 ignoreCustomDataSourceLinks: boolean, Force the update and ignore any warnings related to the custom dimension being linked to a custom data source / data set.
309
310Returns:
311 An object of the form:
312
313 { # JSON template for Analytics Custom Dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700314 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700315 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
316 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
317 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700318 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700319 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700320 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700321 &quot;index&quot;: 42, # Index of the custom dimension.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700322 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
323 &quot;kind&quot;: &quot;analytics#customDimension&quot;, # Kind value for a custom dimension. Set to &quot;analytics#customDimension&quot;. It is a read-only field.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700324 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
325 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
326 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
327 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700328 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Craig Citroe633be12015-03-02 13:40:36 -0800329 }</pre>
330</div>
331
332</body></html>