blob: ca06351b27cb7fce75fddbee82d84db05ccd7220 [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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070087 <code><a href="#list">list(accountId, webPropertyId, start_index=None, max_results=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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800114 &quot;index&quot;: 42, # Index of the custom dimension.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800115 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800116 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
117 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
118 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
119 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
120 },
121 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800122 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
123 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800124 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800125 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800126 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800127 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800128 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800143 &quot;index&quot;: 42, # Index of the custom dimension.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800144 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800145 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
146 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
147 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
148 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
149 },
150 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800151 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
152 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800153 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800154 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800155 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800156 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800157 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800165 &quot;index&quot;: 42, # Index of the custom dimension.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800166 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800167 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
168 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
169 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
170 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
171 },
172 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800173 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
174 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800175 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800176 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800177 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800178 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800179 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
Craig Citroe633be12015-03-02 13:40:36 -0800180 }</pre>
181</div>
182
183<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700184 <code class="details" id="list">list(accountId, webPropertyId, start_index=None, max_results=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)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700190 start_index: integer, An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700191 max_results: integer, The maximum number of custom dimensions to include in this response.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800197 &quot;previousLink&quot;: &quot;A String&quot;, # Link to previous page for this custom dimension collection.
198 &quot;totalResults&quot;: 42, # The total number of results for the query, regardless of the number of results in the response.
Bu Sun Kim65020912020-05-20 12:08:20 -0700199 &quot;items&quot;: [ # Collection of custom dimensions.
Craig Citroe633be12015-03-02 13:40:36 -0800200 { # JSON template for Analytics Custom Dimension.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800201 &quot;index&quot;: 42, # Index of the custom dimension.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800202 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800203 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
204 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
205 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
206 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
207 },
208 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800209 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
210 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800211 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800212 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800213 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800214 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800215 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
Craig Citroe633be12015-03-02 13:40:36 -0800216 },
217 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800218 &quot;nextLink&quot;: &quot;A String&quot;, # Link to next page for this custom dimension collection.
219 &quot;username&quot;: &quot;A String&quot;, # Email ID of the authenticated user
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800220 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800221 &quot;startIndex&quot;: 42, # The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.
222 &quot;kind&quot;: &quot;analytics#customDimensions&quot;, # Collection type.
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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800238 &quot;index&quot;: 42, # Index of the custom dimension.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800239 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800240 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
241 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
242 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
243 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
244 },
245 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800246 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
247 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800248 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800249 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800250 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800251 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800252 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800261 &quot;index&quot;: 42, # Index of the custom dimension.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800262 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800263 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
264 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
265 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
266 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
267 },
268 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800269 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
270 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800271 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800272 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800273 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800274 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800275 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800291 &quot;index&quot;: 42, # Index of the custom dimension.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800292 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800293 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
294 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
295 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
296 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
297 },
298 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800299 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
300 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800301 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800302 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800303 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800304 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800305 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800314 &quot;index&quot;: 42, # Index of the custom dimension.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800315 &quot;updated&quot;: &quot;A String&quot;, # Time the custom dimension was last modified.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800316 &quot;selfLink&quot;: &quot;A String&quot;, # Link for the custom dimension
317 &quot;parentLink&quot;: { # Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
318 &quot;href&quot;: &quot;A String&quot;, # Link to the property to which the custom dimension belongs.
319 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Type of the parent link. Set to &quot;analytics#webproperty&quot;.
320 },
321 &quot;id&quot;: &quot;A String&quot;, # Custom dimension ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800322 &quot;webPropertyId&quot;: &quot;A String&quot;, # Property ID.
323 &quot;name&quot;: &quot;A String&quot;, # Name of the custom dimension.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800324 &quot;created&quot;: &quot;A String&quot;, # Time the custom dimension was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800325 &quot;scope&quot;: &quot;A String&quot;, # Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800326 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800327 &quot;accountId&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800328 &quot;active&quot;: True or False, # Boolean indicating whether the custom dimension is active.
Craig Citroe633be12015-03-02 13:40:36 -0800329 }</pre>
330</div>
331
332</body></html>