Debian Codegraph @

docs/dyn/content_v2_1.conversionsources.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="content_v2_1.html">Content API for Shopping</a> . <a href="content_v2_1.conversionsources.html">conversionsources</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(merchantId, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new conversion source.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(merchantId, conversionSourceId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Archives an existing conversion source. It will be recoverable for 30 days. This archiving behavior is not typical in the Content API and unique to this service.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(merchantId, conversionSourceId, x__xgafv=None)</a></code></p>
88 <p class="firstline">Fetches a conversion source.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(merchantId, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Retrieves the list of conversion sources the caller has access to.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(merchantId, conversionSourceId, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates information of an existing conversion source.</p>
98 <p class="toc_element">
99 <code><a href="#undelete">undelete(merchantId, conversionSourceId, body=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Re-enables an archived conversion source.</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105 </div>
106
107 <div class="method">
108 <code class="details" id="create">create(merchantId, body=None, x__xgafv=None)</code>
109 <pre>Creates a new conversion source.
110
111 Args:
112 merchantId: string, Required. The ID of the account that owns the new conversion source. (required)
113 body: object, The request body.
114 The object takes the form of:
115
116 { # Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.
117 &quot;conversionSourceId&quot;: &quot;A String&quot;, # Output only. Generated by the Content API upon creation of a new `ConversionSource`. Format: [a-z]{4}:.+ The four characters before the colon represent the type of conversio source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: - galk: For GoogleAnalyticsLink sources. - mcdn: For MerchantCenterDestination sources.
118 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.
119 &quot;googleAnalyticsLink&quot;: { # &quot;Google Analytics Link&quot; sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account. # Immutable. Conversion Source of type &quot;Link to Google Analytics Property&quot;.
120 &quot;attributionSettings&quot;: { # Represents attribution settings for conversion sources receiving pre-attribution data. # Output only. Attribution settings for the linked Google Analytics property.
121 &quot;attributionLookbackWindowInDays&quot;: 42, # Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
122 &quot;attributionModel&quot;: &quot;A String&quot;,
123 &quot;conversionType&quot;: [ # Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard &quot;purchase&quot; type will be automatically created if this list is empty at creation time.
124 { # Message representing a types of conversion events
125 &quot;includeInReporting&quot;: True or False, # Output only. Option indicating if the type should be included in Merchant Center reporting.
126 &quot;name&quot;: &quot;A String&quot;, # Output only. Conversion event name, as it&#x27;ll be reported by the client.
127 },
128 ],
129 },
130 &quot;propertyId&quot;: &quot;A String&quot;, # Required. Immutable. ID of the Google Analytics property the merchant is linked to.
131 &quot;propertyName&quot;: &quot;A String&quot;, # Output only. Name of the Google Analytics property the merchant is linked to.
132 },
133 &quot;merchantCenterDestination&quot;: { # &quot;Merchant Center Destination&quot; sources can be used to send conversion events from a website using a Google tag directly to a Merchant Center account where the source is created. # Conversion Source of type &quot;Merchant Center Tag Destination&quot;.
134 &quot;attributionSettings&quot;: { # Represents attribution settings for conversion sources receiving pre-attribution data. # Required. Attribution settings being used for the Merchant Center Destination.
135 &quot;attributionLookbackWindowInDays&quot;: 42, # Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
136 &quot;attributionModel&quot;: &quot;A String&quot;,
137 &quot;conversionType&quot;: [ # Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard &quot;purchase&quot; type will be automatically created if this list is empty at creation time.
138 { # Message representing a types of conversion events
139 &quot;includeInReporting&quot;: True or False, # Output only. Option indicating if the type should be included in Merchant Center reporting.
140 &quot;name&quot;: &quot;A String&quot;, # Output only. Conversion event name, as it&#x27;ll be reported by the client.
141 },
142 ],
143 },
144 &quot;currencyCode&quot;: &quot;A String&quot;, # Required. Three-letter currency code (ISO 4217). The currency code defines in which currency the conversions sent to this destination will be reported in Merchant Center.
145 &quot;destinationId&quot;: &quot;A String&quot;, # Output only. Merchant Center Destination ID.
146 &quot;displayName&quot;: &quot;A String&quot;, # Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. Limited to 64 characters.
147 },
148 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of this conversion source. Can&#x27;t be edited through the API.
149 }
150
151 x__xgafv: string, V1 error format.
152 Allowed values
153 1 - v1 error format
154 2 - v2 error format
155
156 Returns:
157 An object of the form:
158
159 { # Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.
160 &quot;conversionSourceId&quot;: &quot;A String&quot;, # Output only. Generated by the Content API upon creation of a new `ConversionSource`. Format: [a-z]{4}:.+ The four characters before the colon represent the type of conversio source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: - galk: For GoogleAnalyticsLink sources. - mcdn: For MerchantCenterDestination sources.
161 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.
162 &quot;googleAnalyticsLink&quot;: { # &quot;Google Analytics Link&quot; sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account. # Immutable. Conversion Source of type &quot;Link to Google Analytics Property&quot;.
163 &quot;attributionSettings&quot;: { # Represents attribution settings for conversion sources receiving pre-attribution data. # Output only. Attribution settings for the linked Google Analytics property.
164 &quot;attributionLookbackWindowInDays&quot;: 42, # Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
165 &quot;attributionModel&quot;: &quot;A String&quot;,
166 &quot;conversionType&quot;: [ # Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard &quot;purchase&quot; type will be automatically created if this list is empty at creation time.
167 { # Message representing a types of conversion events
168 &quot;includeInReporting&quot;: True or False, # Output only. Option indicating if the type should be included in Merchant Center reporting.
169 &quot;name&quot;: &quot;A String&quot;, # Output only. Conversion event name, as it&#x27;ll be reported by the client.
170 },
171 ],
172 },
173 &quot;propertyId&quot;: &quot;A String&quot;, # Required. Immutable. ID of the Google Analytics property the merchant is linked to.
174 &quot;propertyName&quot;: &quot;A String&quot;, # Output only. Name of the Google Analytics property the merchant is linked to.
175 },
176 &quot;merchantCenterDestination&quot;: { # &quot;Merchant Center Destination&quot; sources can be used to send conversion events from a website using a Google tag directly to a Merchant Center account where the source is created. # Conversion Source of type &quot;Merchant Center Tag Destination&quot;.
177 &quot;attributionSettings&quot;: { # Represents attribution settings for conversion sources receiving pre-attribution data. # Required. Attribution settings being used for the Merchant Center Destination.
178 &quot;attributionLookbackWindowInDays&quot;: 42, # Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
179 &quot;attributionModel&quot;: &quot;A String&quot;,
180 &quot;conversionType&quot;: [ # Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard &quot;purchase&quot; type will be automatically created if this list is empty at creation time.
181 { # Message representing a types of conversion events
182 &quot;includeInReporting&quot;: True or False, # Output only. Option indicating if the type should be included in Merchant Center reporting.
183 &quot;name&quot;: &quot;A String&quot;, # Output only. Conversion event name, as it&#x27;ll be reported by the client.
184 },
185 ],
186 },
187 &quot;currencyCode&quot;: &quot;A String&quot;, # Required. Three-letter currency code (ISO 4217). The currency code defines in which currency the conversions sent to this destination will be reported in Merchant Center.
188 &quot;destinationId&quot;: &quot;A String&quot;, # Output only. Merchant Center Destination ID.
189 &quot;displayName&quot;: &quot;A String&quot;, # Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. Limited to 64 characters.
190 },
191 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of this conversion source. Can&#x27;t be edited through the API.
192 }</pre>
193 </div>
194
195 <div class="method">
196 <code class="details" id="delete">delete(merchantId, conversionSourceId, x__xgafv=None)</code>
197 <pre>Archives an existing conversion source. It will be recoverable for 30 days. This archiving behavior is not typical in the Content API and unique to this service.
198
199 Args:
200 merchantId: string, Required. The ID of the account that owns the new conversion source. (required)
201 conversionSourceId: string, Required. The ID of the conversion source to be deleted. (required)
202 x__xgafv: string, V1 error format.
203 Allowed values
204 1 - v1 error format
205 2 - v2 error format
206 </pre>
207 </div>
208
209 <div class="method">
210 <code class="details" id="get">get(merchantId, conversionSourceId, x__xgafv=None)</code>
211 <pre>Fetches a conversion source.
212
213 Args:
214 merchantId: string, Required. The ID of the account that owns the new conversion source. (required)
215 conversionSourceId: string, Required. The REST ID of the collection. (required)
216 x__xgafv: string, V1 error format.
217 Allowed values
218 1 - v1 error format
219 2 - v2 error format
220
221 Returns:
222 An object of the form:
223
224 { # Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.
225 &quot;conversionSourceId&quot;: &quot;A String&quot;, # Output only. Generated by the Content API upon creation of a new `ConversionSource`. Format: [a-z]{4}:.+ The four characters before the colon represent the type of conversio source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: - galk: For GoogleAnalyticsLink sources. - mcdn: For MerchantCenterDestination sources.
226 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.
227 &quot;googleAnalyticsLink&quot;: { # &quot;Google Analytics Link&quot; sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account. # Immutable. Conversion Source of type &quot;Link to Google Analytics Property&quot;.
228 &quot;attributionSettings&quot;: { # Represents attribution settings for conversion sources receiving pre-attribution data. # Output only. Attribution settings for the linked Google Analytics property.
229 &quot;attributionLookbackWindowInDays&quot;: 42, # Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
230 &quot;attributionModel&quot;: &quot;A String&quot;,
231 &quot;conversionType&quot;: [ # Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard &quot;purchase&quot; type will be automatically created if this list is empty at creation time.
232 { # Message representing a types of conversion events
233 &quot;includeInReporting&quot;: True or False, # Output only. Option indicating if the type should be included in Merchant Center reporting.
234 &quot;name&quot;: &quot;A String&quot;, # Output only. Conversion event name, as it&#x27;ll be reported by the client.
235 },
236 ],
237 },
238 &quot;propertyId&quot;: &quot;A String&quot;, # Required. Immutable. ID of the Google Analytics property the merchant is linked to.
239 &quot;propertyName&quot;: &quot;A String&quot;, # Output only. Name of the Google Analytics property the merchant is linked to.
240 },
241 &quot;merchantCenterDestination&quot;: { # &quot;Merchant Center Destination&quot; sources can be used to send conversion events from a website using a Google tag directly to a Merchant Center account where the source is created. # Conversion Source of type &quot;Merchant Center Tag Destination&quot;.
242 &quot;attributionSettings&quot;: { # Represents attribution settings for conversion sources receiving pre-attribution data. # Required. Attribution settings being used for the Merchant Center Destination.
243 &quot;attributionLookbackWindowInDays&quot;: 42, # Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
244 &quot;attributionModel&quot;: &quot;A String&quot;,
245 &quot;conversionType&quot;: [ # Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard &quot;purchase&quot; type will be automatically created if this list is empty at creation time.
246 { # Message representing a types of conversion events
247 &quot;includeInReporting&quot;: True or False, # Output only. Option indicating if the type should be included in Merchant Center reporting.
248 &quot;name&quot;: &quot;A String&quot;, # Output only. Conversion event name, as it&#x27;ll be reported by the client.
249 },
250 ],
251 },
252 &quot;currencyCode&quot;: &quot;A String&quot;, # Required. Three-letter currency code (ISO 4217). The currency code defines in which currency the conversions sent to this destination will be reported in Merchant Center.
253 &quot;destinationId&quot;: &quot;A String&quot;, # Output only. Merchant Center Destination ID.
254 &quot;displayName&quot;: &quot;A String&quot;, # Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. Limited to 64 characters.
255 },
256 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of this conversion source. Can&#x27;t be edited through the API.
257 }</pre>
258 </div>
259
260 <div class="method">
261 <code class="details" id="list">list(merchantId, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)</code>
262 <pre>Retrieves the list of conversion sources the caller has access to.
263
264 Args:
265 merchantId: string, Required. The ID of the account that owns the new conversion source. (required)
266 pageSize: integer, The maximum number of conversion sources to return in a page. If no `page_size` is specified, `100` is used as the default value. The maximum value is `200`. Values above `200` will be coerced to `200`. Regardless of pagination, at most `200` conversion sources are returned in total.
267 pageToken: string, Page token.
268 showDeleted: boolean, If true, also returns archived conversion sources.
269 x__xgafv: string, V1 error format.
270 Allowed values
271 1 - v1 error format
272 2 - v2 error format
273
274 Returns:
275 An object of the form:
276
277 { # Response message for the ListConversionSources method.
278 &quot;conversionSources&quot;: [ # List of conversion sources.
279 { # Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.
280 &quot;conversionSourceId&quot;: &quot;A String&quot;, # Output only. Generated by the Content API upon creation of a new `ConversionSource`. Format: [a-z]{4}:.+ The four characters before the colon represent the type of conversio source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: - galk: For GoogleAnalyticsLink sources. - mcdn: For MerchantCenterDestination sources.
281 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.
282 &quot;googleAnalyticsLink&quot;: { # &quot;Google Analytics Link&quot; sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account. # Immutable. Conversion Source of type &quot;Link to Google Analytics Property&quot;.
283 &quot;attributionSettings&quot;: { # Represents attribution settings for conversion sources receiving pre-attribution data. # Output only. Attribution settings for the linked Google Analytics property.
284 &quot;attributionLookbackWindowInDays&quot;: 42, # Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
285 &quot;attributionModel&quot;: &quot;A String&quot;,
286 &quot;conversionType&quot;: [ # Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard &quot;purchase&quot; type will be automatically created if this list is empty at creation time.
287 { # Message representing a types of conversion events
288 &quot;includeInReporting&quot;: True or False, # Output only. Option indicating if the type should be included in Merchant Center reporting.
289 &quot;name&quot;: &quot;A String&quot;, # Output only. Conversion event name, as it&#x27;ll be reported by the client.
290 },
291 ],
292 },
293 &quot;propertyId&quot;: &quot;A String&quot;, # Required. Immutable. ID of the Google Analytics property the merchant is linked to.
294 &quot;propertyName&quot;: &quot;A String&quot;, # Output only. Name of the Google Analytics property the merchant is linked to.
295 },
296 &quot;merchantCenterDestination&quot;: { # &quot;Merchant Center Destination&quot; sources can be used to send conversion events from a website using a Google tag directly to a Merchant Center account where the source is created. # Conversion Source of type &quot;Merchant Center Tag Destination&quot;.
297 &quot;attributionSettings&quot;: { # Represents attribution settings for conversion sources receiving pre-attribution data. # Required. Attribution settings being used for the Merchant Center Destination.
298 &quot;attributionLookbackWindowInDays&quot;: 42, # Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
299 &quot;attributionModel&quot;: &quot;A String&quot;,
300 &quot;conversionType&quot;: [ # Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard &quot;purchase&quot; type will be automatically created if this list is empty at creation time.
301 { # Message representing a types of conversion events
302 &quot;includeInReporting&quot;: True or False, # Output only. Option indicating if the type should be included in Merchant Center reporting.
303 &quot;name&quot;: &quot;A String&quot;, # Output only. Conversion event name, as it&#x27;ll be reported by the client.
304 },
305 ],
306 },
307 &quot;currencyCode&quot;: &quot;A String&quot;, # Required. Three-letter currency code (ISO 4217). The currency code defines in which currency the conversions sent to this destination will be reported in Merchant Center.
308 &quot;destinationId&quot;: &quot;A String&quot;, # Output only. Merchant Center Destination ID.
309 &quot;displayName&quot;: &quot;A String&quot;, # Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. Limited to 64 characters.
310 },
311 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of this conversion source. Can&#x27;t be edited through the API.
312 },
313 ],
314 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to be used to fetch the next results page.
315 }</pre>
316 </div>
317
318 <div class="method">
319 <code class="details" id="list_next">list_next()</code>
320 <pre>Retrieves the next page of results.
321
322 Args:
323 previous_request: The request for the previous page. (required)
324 previous_response: The response from the request for the previous page. (required)
325
326 Returns:
327 A request object that you can call &#x27;execute()&#x27; on to request the next
328 page. Returns None if there are no more items in the collection.
329 </pre>
330 </div>
331
332 <div class="method">
333 <code class="details" id="patch">patch(merchantId, conversionSourceId, body=None, updateMask=None, x__xgafv=None)</code>
334 <pre>Updates information of an existing conversion source.
335
336 Args:
337 merchantId: string, Required. The ID of the account that owns the new conversion source. (required)
338 conversionSourceId: string, Required. The ID of the conversion source to be updated. (required)
339 body: object, The request body.
340 The object takes the form of:
341
342 { # Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.
343 &quot;conversionSourceId&quot;: &quot;A String&quot;, # Output only. Generated by the Content API upon creation of a new `ConversionSource`. Format: [a-z]{4}:.+ The four characters before the colon represent the type of conversio source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: - galk: For GoogleAnalyticsLink sources. - mcdn: For MerchantCenterDestination sources.
344 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.
345 &quot;googleAnalyticsLink&quot;: { # &quot;Google Analytics Link&quot; sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account. # Immutable. Conversion Source of type &quot;Link to Google Analytics Property&quot;.
346 &quot;attributionSettings&quot;: { # Represents attribution settings for conversion sources receiving pre-attribution data. # Output only. Attribution settings for the linked Google Analytics property.
347 &quot;attributionLookbackWindowInDays&quot;: 42, # Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
348 &quot;attributionModel&quot;: &quot;A String&quot;,
349 &quot;conversionType&quot;: [ # Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard &quot;purchase&quot; type will be automatically created if this list is empty at creation time.
350 { # Message representing a types of conversion events
351 &quot;includeInReporting&quot;: True or False, # Output only. Option indicating if the type should be included in Merchant Center reporting.
352 &quot;name&quot;: &quot;A String&quot;, # Output only. Conversion event name, as it&#x27;ll be reported by the client.
353 },
354 ],
355 },
356 &quot;propertyId&quot;: &quot;A String&quot;, # Required. Immutable. ID of the Google Analytics property the merchant is linked to.
357 &quot;propertyName&quot;: &quot;A String&quot;, # Output only. Name of the Google Analytics property the merchant is linked to.
358 },
359 &quot;merchantCenterDestination&quot;: { # &quot;Merchant Center Destination&quot; sources can be used to send conversion events from a website using a Google tag directly to a Merchant Center account where the source is created. # Conversion Source of type &quot;Merchant Center Tag Destination&quot;.
360 &quot;attributionSettings&quot;: { # Represents attribution settings for conversion sources receiving pre-attribution data. # Required. Attribution settings being used for the Merchant Center Destination.
361 &quot;attributionLookbackWindowInDays&quot;: 42, # Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
362 &quot;attributionModel&quot;: &quot;A String&quot;,
363 &quot;conversionType&quot;: [ # Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard &quot;purchase&quot; type will be automatically created if this list is empty at creation time.
364 { # Message representing a types of conversion events
365 &quot;includeInReporting&quot;: True or False, # Output only. Option indicating if the type should be included in Merchant Center reporting.
366 &quot;name&quot;: &quot;A String&quot;, # Output only. Conversion event name, as it&#x27;ll be reported by the client.
367 },
368 ],
369 },
370 &quot;currencyCode&quot;: &quot;A String&quot;, # Required. Three-letter currency code (ISO 4217). The currency code defines in which currency the conversions sent to this destination will be reported in Merchant Center.
371 &quot;destinationId&quot;: &quot;A String&quot;, # Output only. Merchant Center Destination ID.
372 &quot;displayName&quot;: &quot;A String&quot;, # Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. Limited to 64 characters.
373 },
374 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of this conversion source. Can&#x27;t be edited through the API.
375 }
376
377 updateMask: string, Optional. List of fields being updated. The following fields can be updated: `attribution_settings`, `display_name`, `currency_code`.
378 x__xgafv: string, V1 error format.
379 Allowed values
380 1 - v1 error format
381 2 - v2 error format
382
383 Returns:
384 An object of the form:
385
386 { # Represents a conversion source owned by a Merchant account. A merchant account can have up to 200 conversion sources.
387 &quot;conversionSourceId&quot;: &quot;A String&quot;, # Output only. Generated by the Content API upon creation of a new `ConversionSource`. Format: [a-z]{4}:.+ The four characters before the colon represent the type of conversio source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: - galk: For GoogleAnalyticsLink sources. - mcdn: For MerchantCenterDestination sources.
388 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time when an archived conversion source becomes permanently deleted and is no longer available to undelete.
389 &quot;googleAnalyticsLink&quot;: { # &quot;Google Analytics Link&quot; sources can be used to get conversion data from an existing Google Analytics property into the linked Merchant Center account. # Immutable. Conversion Source of type &quot;Link to Google Analytics Property&quot;.
390 &quot;attributionSettings&quot;: { # Represents attribution settings for conversion sources receiving pre-attribution data. # Output only. Attribution settings for the linked Google Analytics property.
391 &quot;attributionLookbackWindowInDays&quot;: 42, # Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
392 &quot;attributionModel&quot;: &quot;A String&quot;,
393 &quot;conversionType&quot;: [ # Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard &quot;purchase&quot; type will be automatically created if this list is empty at creation time.
394 { # Message representing a types of conversion events
395 &quot;includeInReporting&quot;: True or False, # Output only. Option indicating if the type should be included in Merchant Center reporting.
396 &quot;name&quot;: &quot;A String&quot;, # Output only. Conversion event name, as it&#x27;ll be reported by the client.
397 },
398 ],
399 },
400 &quot;propertyId&quot;: &quot;A String&quot;, # Required. Immutable. ID of the Google Analytics property the merchant is linked to.
401 &quot;propertyName&quot;: &quot;A String&quot;, # Output only. Name of the Google Analytics property the merchant is linked to.
402 },
403 &quot;merchantCenterDestination&quot;: { # &quot;Merchant Center Destination&quot; sources can be used to send conversion events from a website using a Google tag directly to a Merchant Center account where the source is created. # Conversion Source of type &quot;Merchant Center Tag Destination&quot;.
404 &quot;attributionSettings&quot;: { # Represents attribution settings for conversion sources receiving pre-attribution data. # Required. Attribution settings being used for the Merchant Center Destination.
405 &quot;attributionLookbackWindowInDays&quot;: 42, # Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40.
406 &quot;attributionModel&quot;: &quot;A String&quot;,
407 &quot;conversionType&quot;: [ # Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard &quot;purchase&quot; type will be automatically created if this list is empty at creation time.
408 { # Message representing a types of conversion events
409 &quot;includeInReporting&quot;: True or False, # Output only. Option indicating if the type should be included in Merchant Center reporting.
410 &quot;name&quot;: &quot;A String&quot;, # Output only. Conversion event name, as it&#x27;ll be reported by the client.
411 },
412 ],
413 },
414 &quot;currencyCode&quot;: &quot;A String&quot;, # Required. Three-letter currency code (ISO 4217). The currency code defines in which currency the conversions sent to this destination will be reported in Merchant Center.
415 &quot;destinationId&quot;: &quot;A String&quot;, # Output only. Merchant Center Destination ID.
416 &quot;displayName&quot;: &quot;A String&quot;, # Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. Limited to 64 characters.
417 },
418 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of this conversion source. Can&#x27;t be edited through the API.
419 }</pre>
420 </div>
421
422 <div class="method">
423 <code class="details" id="undelete">undelete(merchantId, conversionSourceId, body=None, x__xgafv=None)</code>
424 <pre>Re-enables an archived conversion source.
425
426 Args:
427 merchantId: string, Required. The ID of the account that owns the new conversion source. (required)
428 conversionSourceId: string, Required. The ID of the conversion source to be undeleted. (required)
429 body: object, The request body.
430 The object takes the form of:
431
432 { # Request message for the UndeleteConversionSource method.
433 }
434
435 x__xgafv: string, V1 error format.
436 Allowed values
437 1 - v1 error format
438 2 - v2 error format
439 </pre>
440 </div>
441
442 </body></html>