Debian Codegraph @

docs/dyn/content_v2_1.liasettings.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.liasettings.html">liasettings</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="#custombatch">custombatch(body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Retrieves and/or updates the LIA settings of multiple accounts in a single request.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(merchantId, accountId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Retrieves the LIA settings of the account.</p>
86 <p class="toc_element">
87 <code><a href="#getaccessiblegmbaccounts">getaccessiblegmbaccounts(merchantId, accountId, x__xgafv=None)</a></code></p>
88 <p class="firstline">Retrieves the list of accessible Business Profiles.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(merchantId, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists the LIA settings of the sub-accounts in your Merchant Center account.</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="#listposdataproviders">listposdataproviders(x__xgafv=None)</a></code></p>
97 <p class="firstline">Retrieves the list of POS data providers that have active settings for the all eiligible countries.</p>
98 <p class="toc_element">
99 <code><a href="#requestgmbaccess">requestgmbaccess(merchantId, accountId, gmbEmail, x__xgafv=None)</a></code></p>
100 <p class="firstline">Requests access to a specified Business Profile.</p>
101 <p class="toc_element">
102 <code><a href="#requestinventoryverification">requestinventoryverification(merchantId, accountId, country, x__xgafv=None)</a></code></p>
103 <p class="firstline">Requests inventory validation for the specified country.</p>
104 <p class="toc_element">
105 <code><a href="#setinventoryverificationcontact">setinventoryverificationcontact(merchantId, accountId, country, language, contactName, contactEmail, x__xgafv=None)</a></code></p>
106 <p class="firstline">Sets the inventory verification contact for the specified country.</p>
107 <p class="toc_element">
108 <code><a href="#setomnichannelexperience">setomnichannelexperience(merchantId, accountId, country=None, lsfType=None, pickupTypes=None, x__xgafv=None)</a></code></p>
109 <p class="firstline">Sets the omnichannel experience for the specified country. Only supported for merchants whose POS data provider is trusted to enable the corresponding experience. For more context, see these help articles [about LFP](https://support.google.com/merchants/answer/7676652) and [how to get started](https://support.google.com/merchants/answer/7676578) with it.</p>
110 <p class="toc_element">
111 <code><a href="#setposdataprovider">setposdataprovider(merchantId, accountId, country, posDataProviderId=None, posExternalAccountId=None, x__xgafv=None)</a></code></p>
112 <p class="firstline">Sets the POS data provider for the specified country.</p>
113 <p class="toc_element">
114 <code><a href="#update">update(merchantId, accountId, body=None, x__xgafv=None)</a></code></p>
115 <p class="firstline">Updates the LIA settings of the account. Any fields that are not provided are deleted from the resource.</p>
116 <h3>Method Details</h3>
117 <div class="method">
118 <code class="details" id="close">close()</code>
119 <pre>Close httplib2 connections.</pre>
120 </div>
121
122 <div class="method">
123 <code class="details" id="custombatch">custombatch(body=None, x__xgafv=None)</code>
124 <pre>Retrieves and/or updates the LIA settings of multiple accounts in a single request.
125
126 Args:
127 body: object, The request body.
128 The object takes the form of:
129
130 {
131 &quot;entries&quot;: [ # The request entries to be processed in the batch.
132 {
133 &quot;accountId&quot;: &quot;A String&quot;, # The ID of the account for which to get/update account LIA settings.
134 &quot;batchId&quot;: 42, # An entry ID, unique within the batch request.
135 &quot;contactEmail&quot;: &quot;A String&quot;, # Inventory validation contact email. Required only for SetInventoryValidationContact.
136 &quot;contactName&quot;: &quot;A String&quot;, # Inventory validation contact name. Required only for SetInventoryValidationContact.
137 &quot;country&quot;: &quot;A String&quot;, # The country code. Required only for RequestInventoryVerification.
138 &quot;gmbEmail&quot;: &quot;A String&quot;, # The Business Profile. Required only for RequestGmbAccess.
139 &quot;liaSettings&quot;: { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role. # The account Lia settings to update. Only defined if the method is `update`.
140 &quot;accountId&quot;: &quot;A String&quot;, # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses.
141 &quot;countrySettings&quot;: [ # The LIA settings for each country.
142 {
143 &quot;about&quot;: { # The settings for the About page.
144 &quot;status&quot;: &quot;A String&quot;, # The status of the verification process for the About page. Supported values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
145 &quot;url&quot;: &quot;A String&quot;, # The URL for the About page.
146 },
147 &quot;country&quot;: &quot;A String&quot;, # Required. CLDR country code (for example, &quot;US&quot;).
148 &quot;hostedLocalStorefrontActive&quot;: True or False, # The status of the &quot;Merchant hosted local storefront&quot; feature.
149 &quot;inventory&quot;: { # LIA inventory verification settings.
150 &quot;inventoryVerificationContactEmail&quot;: &quot;A String&quot;, # The email of the contact for the inventory verification process.
151 &quot;inventoryVerificationContactName&quot;: &quot;A String&quot;, # The name of the contact for the inventory verification process.
152 &quot;inventoryVerificationContactStatus&quot;: &quot;A String&quot;, # The status of the verification contact. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
153 &quot;status&quot;: &quot;A String&quot;, # The status of the inventory verification process. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
154 },
155 &quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience configured for this country.
156 &quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
157 &quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
158 &quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
159 &quot;A String&quot;,
160 ],
161 },
162 &quot;onDisplayToOrder&quot;: { # LIA &quot;On Display To Order&quot; settings.
163 &quot;shippingCostPolicyUrl&quot;: &quot;A String&quot;, # Shipping cost and policy URL.
164 &quot;status&quot;: &quot;A String&quot;, # The status of the ?On display to order? feature. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
165 },
166 &quot;posDataProvider&quot;: { # The POS data provider linked with this country.
167 &quot;posDataProviderId&quot;: &quot;A String&quot;, # The ID of the POS data provider.
168 &quot;posExternalAccountId&quot;: &quot;A String&quot;, # The account ID by which this merchant is known to the POS data provider.
169 },
170 &quot;storePickupActive&quot;: True or False, # The status of the &quot;Store pickup&quot; feature.
171 },
172 ],
173 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liaSettings`&quot;
174 },
175 &quot;merchantId&quot;: &quot;A String&quot;, # The ID of the managing account.
176 &quot;method&quot;: &quot;A String&quot;, # The method of the batch entry. Acceptable values are: - &quot;`get`&quot; - &quot;`getAccessibleGmbAccounts`&quot; - &quot;`requestGmbAccess`&quot; - &quot;`requestInventoryVerification`&quot; - &quot;`setInventoryVerificationContact`&quot; - &quot;`update`&quot;
177 &quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience for a country. Required only for SetOmnichannelExperience.
178 &quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
179 &quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
180 &quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
181 &quot;A String&quot;,
182 ],
183 },
184 &quot;posDataProviderId&quot;: &quot;A String&quot;, # The ID of POS data provider. Required only for SetPosProvider.
185 &quot;posExternalAccountId&quot;: &quot;A String&quot;, # The account ID by which this merchant is known to the POS provider.
186 },
187 ],
188 }
189
190 x__xgafv: string, V1 error format.
191 Allowed values
192 1 - v1 error format
193 2 - v2 error format
194
195 Returns:
196 An object of the form:
197
198 {
199 &quot;entries&quot;: [ # The result of the execution of the batch requests.
200 {
201 &quot;batchId&quot;: 42, # The ID of the request entry to which this entry responds.
202 &quot;errors&quot;: { # A list of errors returned by a failed batch entry. # A list of errors defined if, and only if, the request failed.
203 &quot;code&quot;: 42, # The HTTP status of the first error in `errors`.
204 &quot;errors&quot;: [ # A list of errors.
205 { # An error returned by the API.
206 &quot;domain&quot;: &quot;A String&quot;, # The domain of the error.
207 &quot;message&quot;: &quot;A String&quot;, # A description of the error.
208 &quot;reason&quot;: &quot;A String&quot;, # The error code.
209 },
210 ],
211 &quot;message&quot;: &quot;A String&quot;, # The message of the first error in `errors`.
212 },
213 &quot;gmbAccounts&quot;: { # The list of accessible Business Profiles.
214 &quot;accountId&quot;: &quot;A String&quot;, # The ID of the Merchant Center account.
215 &quot;gmbAccounts&quot;: [ # A list of Business Profiles which are available to the merchant.
216 {
217 &quot;email&quot;: &quot;A String&quot;, # The email which identifies the Business Profile.
218 &quot;listingCount&quot;: &quot;A String&quot;, # Number of listings under this account.
219 &quot;name&quot;: &quot;A String&quot;, # The name of the Business Profile.
220 &quot;type&quot;: &quot;A String&quot;, # The type of the Business Profile (User or Business).
221 },
222 ],
223 },
224 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liasettingsCustomBatchResponseEntry`&quot;
225 &quot;liaSettings&quot;: { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role. # The retrieved or updated Lia settings.
226 &quot;accountId&quot;: &quot;A String&quot;, # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses.
227 &quot;countrySettings&quot;: [ # The LIA settings for each country.
228 {
229 &quot;about&quot;: { # The settings for the About page.
230 &quot;status&quot;: &quot;A String&quot;, # The status of the verification process for the About page. Supported values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
231 &quot;url&quot;: &quot;A String&quot;, # The URL for the About page.
232 },
233 &quot;country&quot;: &quot;A String&quot;, # Required. CLDR country code (for example, &quot;US&quot;).
234 &quot;hostedLocalStorefrontActive&quot;: True or False, # The status of the &quot;Merchant hosted local storefront&quot; feature.
235 &quot;inventory&quot;: { # LIA inventory verification settings.
236 &quot;inventoryVerificationContactEmail&quot;: &quot;A String&quot;, # The email of the contact for the inventory verification process.
237 &quot;inventoryVerificationContactName&quot;: &quot;A String&quot;, # The name of the contact for the inventory verification process.
238 &quot;inventoryVerificationContactStatus&quot;: &quot;A String&quot;, # The status of the verification contact. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
239 &quot;status&quot;: &quot;A String&quot;, # The status of the inventory verification process. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
240 },
241 &quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience configured for this country.
242 &quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
243 &quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
244 &quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
245 &quot;A String&quot;,
246 ],
247 },
248 &quot;onDisplayToOrder&quot;: { # LIA &quot;On Display To Order&quot; settings.
249 &quot;shippingCostPolicyUrl&quot;: &quot;A String&quot;, # Shipping cost and policy URL.
250 &quot;status&quot;: &quot;A String&quot;, # The status of the ?On display to order? feature. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
251 },
252 &quot;posDataProvider&quot;: { # The POS data provider linked with this country.
253 &quot;posDataProviderId&quot;: &quot;A String&quot;, # The ID of the POS data provider.
254 &quot;posExternalAccountId&quot;: &quot;A String&quot;, # The account ID by which this merchant is known to the POS data provider.
255 },
256 &quot;storePickupActive&quot;: True or False, # The status of the &quot;Store pickup&quot; feature.
257 },
258 ],
259 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liaSettings`&quot;
260 },
261 &quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The updated omnichannel experience for a country.
262 &quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
263 &quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
264 &quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
265 &quot;A String&quot;,
266 ],
267 },
268 &quot;posDataProviders&quot;: [ # The list of POS data providers.
269 {
270 &quot;country&quot;: &quot;A String&quot;, # Country code.
271 &quot;posDataProviders&quot;: [ # A list of POS data providers.
272 {
273 &quot;displayName&quot;: &quot;A String&quot;, # The display name of Pos data Provider.
274 &quot;fullName&quot;: &quot;A String&quot;, # The full name of this POS data Provider.
275 &quot;providerId&quot;: &quot;A String&quot;, # The ID of the account.
276 },
277 ],
278 },
279 ],
280 },
281 ],
282 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liasettingsCustomBatchResponse`&quot;.
283 }</pre>
284 </div>
285
286 <div class="method">
287 <code class="details" id="get">get(merchantId, accountId, x__xgafv=None)</code>
288 <pre>Retrieves the LIA settings of the account.
289
290 Args:
291 merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required)
292 accountId: string, The ID of the account for which to get or update LIA settings. (required)
293 x__xgafv: string, V1 error format.
294 Allowed values
295 1 - v1 error format
296 2 - v2 error format
297
298 Returns:
299 An object of the form:
300
301 { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role.
302 &quot;accountId&quot;: &quot;A String&quot;, # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses.
303 &quot;countrySettings&quot;: [ # The LIA settings for each country.
304 {
305 &quot;about&quot;: { # The settings for the About page.
306 &quot;status&quot;: &quot;A String&quot;, # The status of the verification process for the About page. Supported values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
307 &quot;url&quot;: &quot;A String&quot;, # The URL for the About page.
308 },
309 &quot;country&quot;: &quot;A String&quot;, # Required. CLDR country code (for example, &quot;US&quot;).
310 &quot;hostedLocalStorefrontActive&quot;: True or False, # The status of the &quot;Merchant hosted local storefront&quot; feature.
311 &quot;inventory&quot;: { # LIA inventory verification settings.
312 &quot;inventoryVerificationContactEmail&quot;: &quot;A String&quot;, # The email of the contact for the inventory verification process.
313 &quot;inventoryVerificationContactName&quot;: &quot;A String&quot;, # The name of the contact for the inventory verification process.
314 &quot;inventoryVerificationContactStatus&quot;: &quot;A String&quot;, # The status of the verification contact. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
315 &quot;status&quot;: &quot;A String&quot;, # The status of the inventory verification process. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
316 },
317 &quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience configured for this country.
318 &quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
319 &quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
320 &quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
321 &quot;A String&quot;,
322 ],
323 },
324 &quot;onDisplayToOrder&quot;: { # LIA &quot;On Display To Order&quot; settings.
325 &quot;shippingCostPolicyUrl&quot;: &quot;A String&quot;, # Shipping cost and policy URL.
326 &quot;status&quot;: &quot;A String&quot;, # The status of the ?On display to order? feature. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
327 },
328 &quot;posDataProvider&quot;: { # The POS data provider linked with this country.
329 &quot;posDataProviderId&quot;: &quot;A String&quot;, # The ID of the POS data provider.
330 &quot;posExternalAccountId&quot;: &quot;A String&quot;, # The account ID by which this merchant is known to the POS data provider.
331 },
332 &quot;storePickupActive&quot;: True or False, # The status of the &quot;Store pickup&quot; feature.
333 },
334 ],
335 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liaSettings`&quot;
336 }</pre>
337 </div>
338
339 <div class="method">
340 <code class="details" id="getaccessiblegmbaccounts">getaccessiblegmbaccounts(merchantId, accountId, x__xgafv=None)</code>
341 <pre>Retrieves the list of accessible Business Profiles.
342
343 Args:
344 merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required)
345 accountId: string, The ID of the account for which to retrieve accessible Business Profiles. (required)
346 x__xgafv: string, V1 error format.
347 Allowed values
348 1 - v1 error format
349 2 - v2 error format
350
351 Returns:
352 An object of the form:
353
354 {
355 &quot;accountId&quot;: &quot;A String&quot;, # The ID of the Merchant Center account.
356 &quot;gmbAccounts&quot;: [ # A list of Business Profiles which are available to the merchant.
357 {
358 &quot;email&quot;: &quot;A String&quot;, # The email which identifies the Business Profile.
359 &quot;listingCount&quot;: &quot;A String&quot;, # Number of listings under this account.
360 &quot;name&quot;: &quot;A String&quot;, # The name of the Business Profile.
361 &quot;type&quot;: &quot;A String&quot;, # The type of the Business Profile (User or Business).
362 },
363 ],
364 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liasettingsGetAccessibleGmbAccountsResponse`&quot;.
365 }</pre>
366 </div>
367
368 <div class="method">
369 <code class="details" id="list">list(merchantId, maxResults=None, pageToken=None, x__xgafv=None)</code>
370 <pre>Lists the LIA settings of the sub-accounts in your Merchant Center account.
371
372 Args:
373 merchantId: string, The ID of the managing account. This must be a multi-client account. (required)
374 maxResults: integer, The maximum number of LIA settings to return in the response, used for paging.
375 pageToken: string, The token returned by the previous request.
376 x__xgafv: string, V1 error format.
377 Allowed values
378 1 - v1 error format
379 2 - v2 error format
380
381 Returns:
382 An object of the form:
383
384 {
385 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liasettingsListResponse`&quot;.
386 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token for the retrieval of the next page of LIA settings.
387 &quot;resources&quot;: [
388 { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role.
389 &quot;accountId&quot;: &quot;A String&quot;, # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses.
390 &quot;countrySettings&quot;: [ # The LIA settings for each country.
391 {
392 &quot;about&quot;: { # The settings for the About page.
393 &quot;status&quot;: &quot;A String&quot;, # The status of the verification process for the About page. Supported values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
394 &quot;url&quot;: &quot;A String&quot;, # The URL for the About page.
395 },
396 &quot;country&quot;: &quot;A String&quot;, # Required. CLDR country code (for example, &quot;US&quot;).
397 &quot;hostedLocalStorefrontActive&quot;: True or False, # The status of the &quot;Merchant hosted local storefront&quot; feature.
398 &quot;inventory&quot;: { # LIA inventory verification settings.
399 &quot;inventoryVerificationContactEmail&quot;: &quot;A String&quot;, # The email of the contact for the inventory verification process.
400 &quot;inventoryVerificationContactName&quot;: &quot;A String&quot;, # The name of the contact for the inventory verification process.
401 &quot;inventoryVerificationContactStatus&quot;: &quot;A String&quot;, # The status of the verification contact. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
402 &quot;status&quot;: &quot;A String&quot;, # The status of the inventory verification process. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
403 },
404 &quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience configured for this country.
405 &quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
406 &quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
407 &quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
408 &quot;A String&quot;,
409 ],
410 },
411 &quot;onDisplayToOrder&quot;: { # LIA &quot;On Display To Order&quot; settings.
412 &quot;shippingCostPolicyUrl&quot;: &quot;A String&quot;, # Shipping cost and policy URL.
413 &quot;status&quot;: &quot;A String&quot;, # The status of the ?On display to order? feature. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
414 },
415 &quot;posDataProvider&quot;: { # The POS data provider linked with this country.
416 &quot;posDataProviderId&quot;: &quot;A String&quot;, # The ID of the POS data provider.
417 &quot;posExternalAccountId&quot;: &quot;A String&quot;, # The account ID by which this merchant is known to the POS data provider.
418 },
419 &quot;storePickupActive&quot;: True or False, # The status of the &quot;Store pickup&quot; feature.
420 },
421 ],
422 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liaSettings`&quot;
423 },
424 ],
425 }</pre>
426 </div>
427
428 <div class="method">
429 <code class="details" id="list_next">list_next()</code>
430 <pre>Retrieves the next page of results.
431
432 Args:
433 previous_request: The request for the previous page. (required)
434 previous_response: The response from the request for the previous page. (required)
435
436 Returns:
437 A request object that you can call &#x27;execute()&#x27; on to request the next
438 page. Returns None if there are no more items in the collection.
439 </pre>
440 </div>
441
442 <div class="method">
443 <code class="details" id="listposdataproviders">listposdataproviders(x__xgafv=None)</code>
444 <pre>Retrieves the list of POS data providers that have active settings for the all eiligible countries.
445
446 Args:
447 x__xgafv: string, V1 error format.
448 Allowed values
449 1 - v1 error format
450 2 - v2 error format
451
452 Returns:
453 An object of the form:
454
455 {
456 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liasettingsListPosDataProvidersResponse`&quot;.
457 &quot;posDataProviders&quot;: [ # The list of POS data providers for each eligible country
458 {
459 &quot;country&quot;: &quot;A String&quot;, # Country code.
460 &quot;posDataProviders&quot;: [ # A list of POS data providers.
461 {
462 &quot;displayName&quot;: &quot;A String&quot;, # The display name of Pos data Provider.
463 &quot;fullName&quot;: &quot;A String&quot;, # The full name of this POS data Provider.
464 &quot;providerId&quot;: &quot;A String&quot;, # The ID of the account.
465 },
466 ],
467 },
468 ],
469 }</pre>
470 </div>
471
472 <div class="method">
473 <code class="details" id="requestgmbaccess">requestgmbaccess(merchantId, accountId, gmbEmail, x__xgafv=None)</code>
474 <pre>Requests access to a specified Business Profile.
475
476 Args:
477 merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required)
478 accountId: string, The ID of the account for which Business Profile access is requested. (required)
479 gmbEmail: string, The email of the Business Profile. (required)
480 x__xgafv: string, V1 error format.
481 Allowed values
482 1 - v1 error format
483 2 - v2 error format
484
485 Returns:
486 An object of the form:
487
488 {
489 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liasettingsRequestGmbAccessResponse`&quot;.
490 }</pre>
491 </div>
492
493 <div class="method">
494 <code class="details" id="requestinventoryverification">requestinventoryverification(merchantId, accountId, country, x__xgafv=None)</code>
495 <pre>Requests inventory validation for the specified country.
496
497 Args:
498 merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required)
499 accountId: string, The ID of the account that manages the order. This cannot be a multi-client account. (required)
500 country: string, The country for which inventory validation is requested. (required)
501 x__xgafv: string, V1 error format.
502 Allowed values
503 1 - v1 error format
504 2 - v2 error format
505
506 Returns:
507 An object of the form:
508
509 {
510 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liasettingsRequestInventoryVerificationResponse`&quot;.
511 }</pre>
512 </div>
513
514 <div class="method">
515 <code class="details" id="setinventoryverificationcontact">setinventoryverificationcontact(merchantId, accountId, country, language, contactName, contactEmail, x__xgafv=None)</code>
516 <pre>Sets the inventory verification contact for the specified country.
517
518 Args:
519 merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required)
520 accountId: string, The ID of the account that manages the order. This cannot be a multi-client account. (required)
521 country: string, The country for which inventory verification is requested. (required)
522 language: string, The language for which inventory verification is requested. (required)
523 contactName: string, The name of the inventory verification contact. (required)
524 contactEmail: string, The email of the inventory verification contact. (required)
525 x__xgafv: string, V1 error format.
526 Allowed values
527 1 - v1 error format
528 2 - v2 error format
529
530 Returns:
531 An object of the form:
532
533 {
534 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liasettingsSetInventoryVerificationContactResponse`&quot;.
535 }</pre>
536 </div>
537
538 <div class="method">
539 <code class="details" id="setomnichannelexperience">setomnichannelexperience(merchantId, accountId, country=None, lsfType=None, pickupTypes=None, x__xgafv=None)</code>
540 <pre>Sets the omnichannel experience for the specified country. Only supported for merchants whose POS data provider is trusted to enable the corresponding experience. For more context, see these help articles [about LFP](https://support.google.com/merchants/answer/7676652) and [how to get started](https://support.google.com/merchants/answer/7676578) with it.
541
542 Args:
543 merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required)
544 accountId: string, The ID of the account for which to retrieve accessible Business Profiles. (required)
545 country: string, The CLDR country code (for example, &quot;US&quot;) for which the omnichannel experience is selected.
546 lsfType: string, The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
547 pickupTypes: string, The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot; (repeated)
548 x__xgafv: string, V1 error format.
549 Allowed values
550 1 - v1 error format
551 2 - v2 error format
552
553 Returns:
554 An object of the form:
555
556 { # Omnichannel experience details.
557 &quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
558 &quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
559 &quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
560 &quot;A String&quot;,
561 ],
562 }</pre>
563 </div>
564
565 <div class="method">
566 <code class="details" id="setposdataprovider">setposdataprovider(merchantId, accountId, country, posDataProviderId=None, posExternalAccountId=None, x__xgafv=None)</code>
567 <pre>Sets the POS data provider for the specified country.
568
569 Args:
570 merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required)
571 accountId: string, The ID of the account for which to retrieve accessible Business Profiles. (required)
572 country: string, The country for which the POS data provider is selected. (required)
573 posDataProviderId: string, The ID of POS data provider.
574 posExternalAccountId: string, The account ID by which this merchant is known to the POS data provider.
575 x__xgafv: string, V1 error format.
576 Allowed values
577 1 - v1 error format
578 2 - v2 error format
579
580 Returns:
581 An object of the form:
582
583 {
584 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liasettingsSetPosDataProviderResponse`&quot;.
585 }</pre>
586 </div>
587
588 <div class="method">
589 <code class="details" id="update">update(merchantId, accountId, body=None, x__xgafv=None)</code>
590 <pre>Updates the LIA settings of the account. Any fields that are not provided are deleted from the resource.
591
592 Args:
593 merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required)
594 accountId: string, The ID of the account for which to get or update LIA settings. (required)
595 body: object, The request body.
596 The object takes the form of:
597
598 { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role.
599 &quot;accountId&quot;: &quot;A String&quot;, # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses.
600 &quot;countrySettings&quot;: [ # The LIA settings for each country.
601 {
602 &quot;about&quot;: { # The settings for the About page.
603 &quot;status&quot;: &quot;A String&quot;, # The status of the verification process for the About page. Supported values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
604 &quot;url&quot;: &quot;A String&quot;, # The URL for the About page.
605 },
606 &quot;country&quot;: &quot;A String&quot;, # Required. CLDR country code (for example, &quot;US&quot;).
607 &quot;hostedLocalStorefrontActive&quot;: True or False, # The status of the &quot;Merchant hosted local storefront&quot; feature.
608 &quot;inventory&quot;: { # LIA inventory verification settings.
609 &quot;inventoryVerificationContactEmail&quot;: &quot;A String&quot;, # The email of the contact for the inventory verification process.
610 &quot;inventoryVerificationContactName&quot;: &quot;A String&quot;, # The name of the contact for the inventory verification process.
611 &quot;inventoryVerificationContactStatus&quot;: &quot;A String&quot;, # The status of the verification contact. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
612 &quot;status&quot;: &quot;A String&quot;, # The status of the inventory verification process. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
613 },
614 &quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience configured for this country.
615 &quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
616 &quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
617 &quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
618 &quot;A String&quot;,
619 ],
620 },
621 &quot;onDisplayToOrder&quot;: { # LIA &quot;On Display To Order&quot; settings.
622 &quot;shippingCostPolicyUrl&quot;: &quot;A String&quot;, # Shipping cost and policy URL.
623 &quot;status&quot;: &quot;A String&quot;, # The status of the ?On display to order? feature. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
624 },
625 &quot;posDataProvider&quot;: { # The POS data provider linked with this country.
626 &quot;posDataProviderId&quot;: &quot;A String&quot;, # The ID of the POS data provider.
627 &quot;posExternalAccountId&quot;: &quot;A String&quot;, # The account ID by which this merchant is known to the POS data provider.
628 },
629 &quot;storePickupActive&quot;: True or False, # The status of the &quot;Store pickup&quot; feature.
630 },
631 ],
632 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liaSettings`&quot;
633 }
634
635 x__xgafv: string, V1 error format.
636 Allowed values
637 1 - v1 error format
638 2 - v2 error format
639
640 Returns:
641 An object of the form:
642
643 { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role.
644 &quot;accountId&quot;: &quot;A String&quot;, # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses.
645 &quot;countrySettings&quot;: [ # The LIA settings for each country.
646 {
647 &quot;about&quot;: { # The settings for the About page.
648 &quot;status&quot;: &quot;A String&quot;, # The status of the verification process for the About page. Supported values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
649 &quot;url&quot;: &quot;A String&quot;, # The URL for the About page.
650 },
651 &quot;country&quot;: &quot;A String&quot;, # Required. CLDR country code (for example, &quot;US&quot;).
652 &quot;hostedLocalStorefrontActive&quot;: True or False, # The status of the &quot;Merchant hosted local storefront&quot; feature.
653 &quot;inventory&quot;: { # LIA inventory verification settings.
654 &quot;inventoryVerificationContactEmail&quot;: &quot;A String&quot;, # The email of the contact for the inventory verification process.
655 &quot;inventoryVerificationContactName&quot;: &quot;A String&quot;, # The name of the contact for the inventory verification process.
656 &quot;inventoryVerificationContactStatus&quot;: &quot;A String&quot;, # The status of the verification contact. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
657 &quot;status&quot;: &quot;A String&quot;, # The status of the inventory verification process. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
658 },
659 &quot;omnichannelExperience&quot;: { # Omnichannel experience details. # The omnichannel experience configured for this country.
660 &quot;country&quot;: &quot;A String&quot;, # The CLDR country code (for example, &quot;US&quot;).
661 &quot;lsfType&quot;: &quot;A String&quot;, # The Local Store Front (LSF) type for this country. Acceptable values are: - &quot;`ghlsf`&quot; (Google-Hosted Local Store Front) - &quot;`mhlsfBasic`&quot; (Merchant-Hosted Local Store Front Basic) - &quot;`mhlsfFull`&quot; (Merchant-Hosted Local Store Front Full) More details about these types can be found here.
662 &quot;pickupTypes&quot;: [ # The Pickup types for this country. Acceptable values are: - &quot;`pickupToday`&quot; - &quot;`pickupLater`&quot;
663 &quot;A String&quot;,
664 ],
665 },
666 &quot;onDisplayToOrder&quot;: { # LIA &quot;On Display To Order&quot; settings.
667 &quot;shippingCostPolicyUrl&quot;: &quot;A String&quot;, # Shipping cost and policy URL.
668 &quot;status&quot;: &quot;A String&quot;, # The status of the ?On display to order? feature. Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
669 },
670 &quot;posDataProvider&quot;: { # The POS data provider linked with this country.
671 &quot;posDataProviderId&quot;: &quot;A String&quot;, # The ID of the POS data provider.
672 &quot;posExternalAccountId&quot;: &quot;A String&quot;, # The account ID by which this merchant is known to the POS data provider.
673 },
674 &quot;storePickupActive&quot;: True or False, # The status of the &quot;Store pickup&quot; feature.
675 },
676 ],
677 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#liaSettings`&quot;
678 }</pre>
679 </div>
680
681 </body></html>