Debian Codegraph @

docs/dyn/analytics_v3.management.webPropertyAdWordsLinks.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="analytics_v3.html">Google Analytics API</a> . <a href="analytics_v3.management.html">management</a> . <a href="analytics_v3.management.webPropertyAdWordsLinks.html">webPropertyAdWordsLinks</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="#delete">delete(accountId, webPropertyId, webPropertyAdWordsLinkId)</a></code></p>
82 <p class="firstline">Deletes a web property-Google Ads link.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(accountId, webPropertyId, webPropertyAdWordsLinkId)</a></code></p>
85 <p class="firstline">Returns a web property-Google Ads link to which the user has access.</p>
86 <p class="toc_element">
87 <code><a href="#insert">insert(accountId, webPropertyId, body=None)</a></code></p>
88 <p class="firstline">Creates a webProperty-Google Ads link.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(accountId, webPropertyId, max_results=None, start_index=None)</a></code></p>
91 <p class="firstline">Lists webProperty-Google Ads links for a given web property.</p>
92 <p class="toc_element">
93 <code><a href="#patch">patch(accountId, webPropertyId, webPropertyAdWordsLinkId, body=None)</a></code></p>
94 <p class="firstline">Updates an existing webProperty-Google Ads link. This method supports patch semantics.</p>
95 <p class="toc_element">
96 <code><a href="#update">update(accountId, webPropertyId, webPropertyAdWordsLinkId, body=None)</a></code></p>
97 <p class="firstline">Updates an existing webProperty-Google Ads link.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="delete">delete(accountId, webPropertyId, webPropertyAdWordsLinkId)</code>
106 <pre>Deletes a web property-Google Ads link.
107
108 Args:
109 accountId: string, ID of the account which the given web property belongs to. (required)
110 webPropertyId: string, Web property ID to delete the Google Ads link for. (required)
111 webPropertyAdWordsLinkId: string, Web property Google Ads link ID. (required)
112 </pre>
113 </div>
114
115 <div class="method">
116 <code class="details" id="get">get(accountId, webPropertyId, webPropertyAdWordsLinkId)</code>
117 <pre>Returns a web property-Google Ads link to which the user has access.
118
119 Args:
120 accountId: string, ID of the account which the given web property belongs to. (required)
121 webPropertyId: string, Web property ID to retrieve the Google Ads link for. (required)
122 webPropertyAdWordsLinkId: string, Web property-Google Ads link ID. (required)
123
124 Returns:
125 An object of the form:
126
127 { # JSON template for Analytics Entity Google Ads Link.
128 &quot;adWordsAccounts&quot;: [ # A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty.
129 { # JSON template for an Google Ads account.
130 &quot;autoTaggingEnabled&quot;: True or False, # True if auto-tagging is enabled on the Google Ads account. Read-only after the insert operation.
131 &quot;customerId&quot;: &quot;A String&quot;, # Customer ID. This field is required when creating a Google Ads link.
132 &quot;kind&quot;: &quot;analytics#adWordsAccount&quot;, # Resource type for Google Ads account.
133 },
134 ],
135 &quot;entity&quot;: { # Web property being linked.
136 &quot;webPropertyRef&quot;: { # JSON template for a web property reference.
137 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
138 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
139 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
140 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
141 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
142 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
143 },
144 },
145 &quot;id&quot;: &quot;A String&quot;, # Entity Google Ads link ID
146 &quot;kind&quot;: &quot;analytics#entityAdWordsLink&quot;, # Resource type for entity Google Ads link.
147 &quot;name&quot;: &quot;A String&quot;, # Name of the link. This field is required when creating a Google Ads link.
148 &quot;profileIds&quot;: [ # IDs of linked Views (Profiles) represented as strings.
149 &quot;A String&quot;,
150 ],
151 &quot;selfLink&quot;: &quot;A String&quot;, # URL link for this Google Analytics - Google Ads link.
152 }</pre>
153 </div>
154
155 <div class="method">
156 <code class="details" id="insert">insert(accountId, webPropertyId, body=None)</code>
157 <pre>Creates a webProperty-Google Ads link.
158
159 Args:
160 accountId: string, ID of the Google Analytics account to create the link for. (required)
161 webPropertyId: string, Web property ID to create the link for. (required)
162 body: object, The request body.
163 The object takes the form of:
164
165 { # JSON template for Analytics Entity Google Ads Link.
166 &quot;adWordsAccounts&quot;: [ # A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty.
167 { # JSON template for an Google Ads account.
168 &quot;autoTaggingEnabled&quot;: True or False, # True if auto-tagging is enabled on the Google Ads account. Read-only after the insert operation.
169 &quot;customerId&quot;: &quot;A String&quot;, # Customer ID. This field is required when creating a Google Ads link.
170 &quot;kind&quot;: &quot;analytics#adWordsAccount&quot;, # Resource type for Google Ads account.
171 },
172 ],
173 &quot;entity&quot;: { # Web property being linked.
174 &quot;webPropertyRef&quot;: { # JSON template for a web property reference.
175 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
176 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
177 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
178 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
179 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
180 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
181 },
182 },
183 &quot;id&quot;: &quot;A String&quot;, # Entity Google Ads link ID
184 &quot;kind&quot;: &quot;analytics#entityAdWordsLink&quot;, # Resource type for entity Google Ads link.
185 &quot;name&quot;: &quot;A String&quot;, # Name of the link. This field is required when creating a Google Ads link.
186 &quot;profileIds&quot;: [ # IDs of linked Views (Profiles) represented as strings.
187 &quot;A String&quot;,
188 ],
189 &quot;selfLink&quot;: &quot;A String&quot;, # URL link for this Google Analytics - Google Ads link.
190 }
191
192
193 Returns:
194 An object of the form:
195
196 { # JSON template for Analytics Entity Google Ads Link.
197 &quot;adWordsAccounts&quot;: [ # A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty.
198 { # JSON template for an Google Ads account.
199 &quot;autoTaggingEnabled&quot;: True or False, # True if auto-tagging is enabled on the Google Ads account. Read-only after the insert operation.
200 &quot;customerId&quot;: &quot;A String&quot;, # Customer ID. This field is required when creating a Google Ads link.
201 &quot;kind&quot;: &quot;analytics#adWordsAccount&quot;, # Resource type for Google Ads account.
202 },
203 ],
204 &quot;entity&quot;: { # Web property being linked.
205 &quot;webPropertyRef&quot;: { # JSON template for a web property reference.
206 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
207 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
208 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
209 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
210 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
211 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
212 },
213 },
214 &quot;id&quot;: &quot;A String&quot;, # Entity Google Ads link ID
215 &quot;kind&quot;: &quot;analytics#entityAdWordsLink&quot;, # Resource type for entity Google Ads link.
216 &quot;name&quot;: &quot;A String&quot;, # Name of the link. This field is required when creating a Google Ads link.
217 &quot;profileIds&quot;: [ # IDs of linked Views (Profiles) represented as strings.
218 &quot;A String&quot;,
219 ],
220 &quot;selfLink&quot;: &quot;A String&quot;, # URL link for this Google Analytics - Google Ads link.
221 }</pre>
222 </div>
223
224 <div class="method">
225 <code class="details" id="list">list(accountId, webPropertyId, max_results=None, start_index=None)</code>
226 <pre>Lists webProperty-Google Ads links for a given web property.
227
228 Args:
229 accountId: string, ID of the account which the given web property belongs to. (required)
230 webPropertyId: string, Web property ID to retrieve the Google Ads links for. (required)
231 max_results: integer, The maximum number of webProperty-Google Ads links to include in this response.
232 start_index: integer, An index of the first webProperty-Google Ads link to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
233
234 Returns:
235 An object of the form:
236
237 { # An entity Google Ads link collection provides a list of GA-Google Ads links Each resource in this collection corresponds to a single link.
238 &quot;items&quot;: [ # A list of entity Google Ads links.
239 { # JSON template for Analytics Entity Google Ads Link.
240 &quot;adWordsAccounts&quot;: [ # A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty.
241 { # JSON template for an Google Ads account.
242 &quot;autoTaggingEnabled&quot;: True or False, # True if auto-tagging is enabled on the Google Ads account. Read-only after the insert operation.
243 &quot;customerId&quot;: &quot;A String&quot;, # Customer ID. This field is required when creating a Google Ads link.
244 &quot;kind&quot;: &quot;analytics#adWordsAccount&quot;, # Resource type for Google Ads account.
245 },
246 ],
247 &quot;entity&quot;: { # Web property being linked.
248 &quot;webPropertyRef&quot;: { # JSON template for a web property reference.
249 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
250 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
251 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
252 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
253 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
254 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
255 },
256 },
257 &quot;id&quot;: &quot;A String&quot;, # Entity Google Ads link ID
258 &quot;kind&quot;: &quot;analytics#entityAdWordsLink&quot;, # Resource type for entity Google Ads link.
259 &quot;name&quot;: &quot;A String&quot;, # Name of the link. This field is required when creating a Google Ads link.
260 &quot;profileIds&quot;: [ # IDs of linked Views (Profiles) represented as strings.
261 &quot;A String&quot;,
262 ],
263 &quot;selfLink&quot;: &quot;A String&quot;, # URL link for this Google Analytics - Google Ads link.
264 },
265 ],
266 &quot;itemsPerPage&quot;: 42, # The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
267 &quot;kind&quot;: &quot;analytics#entityAdWordsLinks&quot;, # Collection type.
268 &quot;nextLink&quot;: &quot;A String&quot;, # Next link for this Google Ads link collection.
269 &quot;previousLink&quot;: &quot;A String&quot;, # Previous link for this Google Ads link collection.
270 &quot;startIndex&quot;: 42, # The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.
271 &quot;totalResults&quot;: 42, # The total number of results for the query, regardless of the number of results in the response.
272 }</pre>
273 </div>
274
275 <div class="method">
276 <code class="details" id="patch">patch(accountId, webPropertyId, webPropertyAdWordsLinkId, body=None)</code>
277 <pre>Updates an existing webProperty-Google Ads link. This method supports patch semantics.
278
279 Args:
280 accountId: string, ID of the account which the given web property belongs to. (required)
281 webPropertyId: string, Web property ID to retrieve the Google Ads link for. (required)
282 webPropertyAdWordsLinkId: string, Web property-Google Ads link ID. (required)
283 body: object, The request body.
284 The object takes the form of:
285
286 { # JSON template for Analytics Entity Google Ads Link.
287 &quot;adWordsAccounts&quot;: [ # A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty.
288 { # JSON template for an Google Ads account.
289 &quot;autoTaggingEnabled&quot;: True or False, # True if auto-tagging is enabled on the Google Ads account. Read-only after the insert operation.
290 &quot;customerId&quot;: &quot;A String&quot;, # Customer ID. This field is required when creating a Google Ads link.
291 &quot;kind&quot;: &quot;analytics#adWordsAccount&quot;, # Resource type for Google Ads account.
292 },
293 ],
294 &quot;entity&quot;: { # Web property being linked.
295 &quot;webPropertyRef&quot;: { # JSON template for a web property reference.
296 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
297 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
298 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
299 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
300 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
301 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
302 },
303 },
304 &quot;id&quot;: &quot;A String&quot;, # Entity Google Ads link ID
305 &quot;kind&quot;: &quot;analytics#entityAdWordsLink&quot;, # Resource type for entity Google Ads link.
306 &quot;name&quot;: &quot;A String&quot;, # Name of the link. This field is required when creating a Google Ads link.
307 &quot;profileIds&quot;: [ # IDs of linked Views (Profiles) represented as strings.
308 &quot;A String&quot;,
309 ],
310 &quot;selfLink&quot;: &quot;A String&quot;, # URL link for this Google Analytics - Google Ads link.
311 }
312
313
314 Returns:
315 An object of the form:
316
317 { # JSON template for Analytics Entity Google Ads Link.
318 &quot;adWordsAccounts&quot;: [ # A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty.
319 { # JSON template for an Google Ads account.
320 &quot;autoTaggingEnabled&quot;: True or False, # True if auto-tagging is enabled on the Google Ads account. Read-only after the insert operation.
321 &quot;customerId&quot;: &quot;A String&quot;, # Customer ID. This field is required when creating a Google Ads link.
322 &quot;kind&quot;: &quot;analytics#adWordsAccount&quot;, # Resource type for Google Ads account.
323 },
324 ],
325 &quot;entity&quot;: { # Web property being linked.
326 &quot;webPropertyRef&quot;: { # JSON template for a web property reference.
327 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
328 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
329 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
330 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
331 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
332 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
333 },
334 },
335 &quot;id&quot;: &quot;A String&quot;, # Entity Google Ads link ID
336 &quot;kind&quot;: &quot;analytics#entityAdWordsLink&quot;, # Resource type for entity Google Ads link.
337 &quot;name&quot;: &quot;A String&quot;, # Name of the link. This field is required when creating a Google Ads link.
338 &quot;profileIds&quot;: [ # IDs of linked Views (Profiles) represented as strings.
339 &quot;A String&quot;,
340 ],
341 &quot;selfLink&quot;: &quot;A String&quot;, # URL link for this Google Analytics - Google Ads link.
342 }</pre>
343 </div>
344
345 <div class="method">
346 <code class="details" id="update">update(accountId, webPropertyId, webPropertyAdWordsLinkId, body=None)</code>
347 <pre>Updates an existing webProperty-Google Ads link.
348
349 Args:
350 accountId: string, ID of the account which the given web property belongs to. (required)
351 webPropertyId: string, Web property ID to retrieve the Google Ads link for. (required)
352 webPropertyAdWordsLinkId: string, Web property-Google Ads link ID. (required)
353 body: object, The request body.
354 The object takes the form of:
355
356 { # JSON template for Analytics Entity Google Ads Link.
357 &quot;adWordsAccounts&quot;: [ # A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty.
358 { # JSON template for an Google Ads account.
359 &quot;autoTaggingEnabled&quot;: True or False, # True if auto-tagging is enabled on the Google Ads account. Read-only after the insert operation.
360 &quot;customerId&quot;: &quot;A String&quot;, # Customer ID. This field is required when creating a Google Ads link.
361 &quot;kind&quot;: &quot;analytics#adWordsAccount&quot;, # Resource type for Google Ads account.
362 },
363 ],
364 &quot;entity&quot;: { # Web property being linked.
365 &quot;webPropertyRef&quot;: { # JSON template for a web property reference.
366 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
367 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
368 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
369 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
370 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
371 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
372 },
373 },
374 &quot;id&quot;: &quot;A String&quot;, # Entity Google Ads link ID
375 &quot;kind&quot;: &quot;analytics#entityAdWordsLink&quot;, # Resource type for entity Google Ads link.
376 &quot;name&quot;: &quot;A String&quot;, # Name of the link. This field is required when creating a Google Ads link.
377 &quot;profileIds&quot;: [ # IDs of linked Views (Profiles) represented as strings.
378 &quot;A String&quot;,
379 ],
380 &quot;selfLink&quot;: &quot;A String&quot;, # URL link for this Google Analytics - Google Ads link.
381 }
382
383
384 Returns:
385 An object of the form:
386
387 { # JSON template for Analytics Entity Google Ads Link.
388 &quot;adWordsAccounts&quot;: [ # A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty.
389 { # JSON template for an Google Ads account.
390 &quot;autoTaggingEnabled&quot;: True or False, # True if auto-tagging is enabled on the Google Ads account. Read-only after the insert operation.
391 &quot;customerId&quot;: &quot;A String&quot;, # Customer ID. This field is required when creating a Google Ads link.
392 &quot;kind&quot;: &quot;analytics#adWordsAccount&quot;, # Resource type for Google Ads account.
393 },
394 ],
395 &quot;entity&quot;: { # Web property being linked.
396 &quot;webPropertyRef&quot;: { # JSON template for a web property reference.
397 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
398 &quot;href&quot;: &quot;A String&quot;, # Link for this web property.
399 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
400 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
401 &quot;kind&quot;: &quot;analytics#webPropertyRef&quot;, # Analytics web property reference.
402 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
403 },
404 },
405 &quot;id&quot;: &quot;A String&quot;, # Entity Google Ads link ID
406 &quot;kind&quot;: &quot;analytics#entityAdWordsLink&quot;, # Resource type for entity Google Ads link.
407 &quot;name&quot;: &quot;A String&quot;, # Name of the link. This field is required when creating a Google Ads link.
408 &quot;profileIds&quot;: [ # IDs of linked Views (Profiles) represented as strings.
409 &quot;A String&quot;,
410 ],
411 &quot;selfLink&quot;: &quot;A String&quot;, # URL link for this Google Analytics - Google Ads link.
412 }</pre>
413 </div>
414
415 </body></html>