| 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 |
"entries": [ # The request entries to be processed in the batch. |
| 132 |
{ |
| 133 |
"accountId": "A String", # The ID of the account for which to get/update account LIA settings. |
| 134 |
"batchId": 42, # An entry ID, unique within the batch request. |
| 135 |
"contactEmail": "A String", # Inventory validation contact email. Required only for SetInventoryValidationContact. |
| 136 |
"contactName": "A String", # Inventory validation contact name. Required only for SetInventoryValidationContact. |
| 137 |
"country": "A String", # The country code. Required only for RequestInventoryVerification. |
| 138 |
"gmbEmail": "A String", # The Business Profile. Required only for RequestGmbAccess. |
| 139 |
"liaSettings": { # 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 |
"accountId": "A String", # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses. |
| 141 |
"countrySettings": [ # The LIA settings for each country. |
| 142 |
{ |
| 143 |
"about": { # The settings for the About page. |
| 144 |
"status": "A String", # The status of the verification process for the About page. Supported values are: - "`active`" - "`inactive`" - "`pending`" |
| 145 |
"url": "A String", # The URL for the About page. |
| 146 |
}, |
| 147 |
"country": "A String", # Required. CLDR country code (for example, "US"). |
| 148 |
"hostedLocalStorefrontActive": True or False, # The status of the "Merchant hosted local storefront" feature. |
| 149 |
"inventory": { # LIA inventory verification settings. |
| 150 |
"inventoryVerificationContactEmail": "A String", # The email of the contact for the inventory verification process. |
| 151 |
"inventoryVerificationContactName": "A String", # The name of the contact for the inventory verification process. |
| 152 |
"inventoryVerificationContactStatus": "A String", # The status of the verification contact. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 153 |
"status": "A String", # The status of the inventory verification process. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 154 |
}, |
| 155 |
"omnichannelExperience": { # Omnichannel experience details. # The omnichannel experience configured for this country. |
| 156 |
"country": "A String", # The CLDR country code (for example, "US"). |
| 157 |
"lsfType": "A String", # The Local Store Front (LSF) type for this country. Acceptable values are: - "`ghlsf`" (Google-Hosted Local Store Front) - "`mhlsfBasic`" (Merchant-Hosted Local Store Front Basic) - "`mhlsfFull`" (Merchant-Hosted Local Store Front Full) More details about these types can be found here. |
| 158 |
"pickupTypes": [ # The Pickup types for this country. Acceptable values are: - "`pickupToday`" - "`pickupLater`" |
| 159 |
"A String", |
| 160 |
], |
| 161 |
}, |
| 162 |
"onDisplayToOrder": { # LIA "On Display To Order" settings. |
| 163 |
"shippingCostPolicyUrl": "A String", # Shipping cost and policy URL. |
| 164 |
"status": "A String", # The status of the ?On display to order? feature. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 165 |
}, |
| 166 |
"posDataProvider": { # The POS data provider linked with this country. |
| 167 |
"posDataProviderId": "A String", # The ID of the POS data provider. |
| 168 |
"posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS data provider. |
| 169 |
}, |
| 170 |
"storePickupActive": True or False, # The status of the "Store pickup" feature. |
| 171 |
}, |
| 172 |
], |
| 173 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liaSettings`" |
| 174 |
}, |
| 175 |
"merchantId": "A String", # The ID of the managing account. |
| 176 |
"method": "A String", # The method of the batch entry. Acceptable values are: - "`get`" - "`getAccessibleGmbAccounts`" - "`requestGmbAccess`" - "`requestInventoryVerification`" - "`setInventoryVerificationContact`" - "`update`" |
| 177 |
"omnichannelExperience": { # Omnichannel experience details. # The omnichannel experience for a country. Required only for SetOmnichannelExperience. |
| 178 |
"country": "A String", # The CLDR country code (for example, "US"). |
| 179 |
"lsfType": "A String", # The Local Store Front (LSF) type for this country. Acceptable values are: - "`ghlsf`" (Google-Hosted Local Store Front) - "`mhlsfBasic`" (Merchant-Hosted Local Store Front Basic) - "`mhlsfFull`" (Merchant-Hosted Local Store Front Full) More details about these types can be found here. |
| 180 |
"pickupTypes": [ # The Pickup types for this country. Acceptable values are: - "`pickupToday`" - "`pickupLater`" |
| 181 |
"A String", |
| 182 |
], |
| 183 |
}, |
| 184 |
"posDataProviderId": "A String", # The ID of POS data provider. Required only for SetPosProvider. |
| 185 |
"posExternalAccountId": "A String", # 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 |
"entries": [ # The result of the execution of the batch requests. |
| 200 |
{ |
| 201 |
"batchId": 42, # The ID of the request entry to which this entry responds. |
| 202 |
"errors": { # A list of errors returned by a failed batch entry. # A list of errors defined if, and only if, the request failed. |
| 203 |
"code": 42, # The HTTP status of the first error in `errors`. |
| 204 |
"errors": [ # A list of errors. |
| 205 |
{ # An error returned by the API. |
| 206 |
"domain": "A String", # The domain of the error. |
| 207 |
"message": "A String", # A description of the error. |
| 208 |
"reason": "A String", # The error code. |
| 209 |
}, |
| 210 |
], |
| 211 |
"message": "A String", # The message of the first error in `errors`. |
| 212 |
}, |
| 213 |
"gmbAccounts": { # The list of accessible Business Profiles. |
| 214 |
"accountId": "A String", # The ID of the Merchant Center account. |
| 215 |
"gmbAccounts": [ # A list of Business Profiles which are available to the merchant. |
| 216 |
{ |
| 217 |
"email": "A String", # The email which identifies the Business Profile. |
| 218 |
"listingCount": "A String", # Number of listings under this account. |
| 219 |
"name": "A String", # The name of the Business Profile. |
| 220 |
"type": "A String", # The type of the Business Profile (User or Business). |
| 221 |
}, |
| 222 |
], |
| 223 |
}, |
| 224 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liasettingsCustomBatchResponseEntry`" |
| 225 |
"liaSettings": { # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role. # The retrieved or updated Lia settings. |
| 226 |
"accountId": "A String", # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses. |
| 227 |
"countrySettings": [ # The LIA settings for each country. |
| 228 |
{ |
| 229 |
"about": { # The settings for the About page. |
| 230 |
"status": "A String", # The status of the verification process for the About page. Supported values are: - "`active`" - "`inactive`" - "`pending`" |
| 231 |
"url": "A String", # The URL for the About page. |
| 232 |
}, |
| 233 |
"country": "A String", # Required. CLDR country code (for example, "US"). |
| 234 |
"hostedLocalStorefrontActive": True or False, # The status of the "Merchant hosted local storefront" feature. |
| 235 |
"inventory": { # LIA inventory verification settings. |
| 236 |
"inventoryVerificationContactEmail": "A String", # The email of the contact for the inventory verification process. |
| 237 |
"inventoryVerificationContactName": "A String", # The name of the contact for the inventory verification process. |
| 238 |
"inventoryVerificationContactStatus": "A String", # The status of the verification contact. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 239 |
"status": "A String", # The status of the inventory verification process. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 240 |
}, |
| 241 |
"omnichannelExperience": { # Omnichannel experience details. # The omnichannel experience configured for this country. |
| 242 |
"country": "A String", # The CLDR country code (for example, "US"). |
| 243 |
"lsfType": "A String", # The Local Store Front (LSF) type for this country. Acceptable values are: - "`ghlsf`" (Google-Hosted Local Store Front) - "`mhlsfBasic`" (Merchant-Hosted Local Store Front Basic) - "`mhlsfFull`" (Merchant-Hosted Local Store Front Full) More details about these types can be found here. |
| 244 |
"pickupTypes": [ # The Pickup types for this country. Acceptable values are: - "`pickupToday`" - "`pickupLater`" |
| 245 |
"A String", |
| 246 |
], |
| 247 |
}, |
| 248 |
"onDisplayToOrder": { # LIA "On Display To Order" settings. |
| 249 |
"shippingCostPolicyUrl": "A String", # Shipping cost and policy URL. |
| 250 |
"status": "A String", # The status of the ?On display to order? feature. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 251 |
}, |
| 252 |
"posDataProvider": { # The POS data provider linked with this country. |
| 253 |
"posDataProviderId": "A String", # The ID of the POS data provider. |
| 254 |
"posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS data provider. |
| 255 |
}, |
| 256 |
"storePickupActive": True or False, # The status of the "Store pickup" feature. |
| 257 |
}, |
| 258 |
], |
| 259 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liaSettings`" |
| 260 |
}, |
| 261 |
"omnichannelExperience": { # Omnichannel experience details. # The updated omnichannel experience for a country. |
| 262 |
"country": "A String", # The CLDR country code (for example, "US"). |
| 263 |
"lsfType": "A String", # The Local Store Front (LSF) type for this country. Acceptable values are: - "`ghlsf`" (Google-Hosted Local Store Front) - "`mhlsfBasic`" (Merchant-Hosted Local Store Front Basic) - "`mhlsfFull`" (Merchant-Hosted Local Store Front Full) More details about these types can be found here. |
| 264 |
"pickupTypes": [ # The Pickup types for this country. Acceptable values are: - "`pickupToday`" - "`pickupLater`" |
| 265 |
"A String", |
| 266 |
], |
| 267 |
}, |
| 268 |
"posDataProviders": [ # The list of POS data providers. |
| 269 |
{ |
| 270 |
"country": "A String", # Country code. |
| 271 |
"posDataProviders": [ # A list of POS data providers. |
| 272 |
{ |
| 273 |
"displayName": "A String", # The display name of Pos data Provider. |
| 274 |
"fullName": "A String", # The full name of this POS data Provider. |
| 275 |
"providerId": "A String", # The ID of the account. |
| 276 |
}, |
| 277 |
], |
| 278 |
}, |
| 279 |
], |
| 280 |
}, |
| 281 |
], |
| 282 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liasettingsCustomBatchResponse`". |
| 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 |
"accountId": "A String", # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses. |
| 303 |
"countrySettings": [ # The LIA settings for each country. |
| 304 |
{ |
| 305 |
"about": { # The settings for the About page. |
| 306 |
"status": "A String", # The status of the verification process for the About page. Supported values are: - "`active`" - "`inactive`" - "`pending`" |
| 307 |
"url": "A String", # The URL for the About page. |
| 308 |
}, |
| 309 |
"country": "A String", # Required. CLDR country code (for example, "US"). |
| 310 |
"hostedLocalStorefrontActive": True or False, # The status of the "Merchant hosted local storefront" feature. |
| 311 |
"inventory": { # LIA inventory verification settings. |
| 312 |
"inventoryVerificationContactEmail": "A String", # The email of the contact for the inventory verification process. |
| 313 |
"inventoryVerificationContactName": "A String", # The name of the contact for the inventory verification process. |
| 314 |
"inventoryVerificationContactStatus": "A String", # The status of the verification contact. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 315 |
"status": "A String", # The status of the inventory verification process. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 316 |
}, |
| 317 |
"omnichannelExperience": { # Omnichannel experience details. # The omnichannel experience configured for this country. |
| 318 |
"country": "A String", # The CLDR country code (for example, "US"). |
| 319 |
"lsfType": "A String", # The Local Store Front (LSF) type for this country. Acceptable values are: - "`ghlsf`" (Google-Hosted Local Store Front) - "`mhlsfBasic`" (Merchant-Hosted Local Store Front Basic) - "`mhlsfFull`" (Merchant-Hosted Local Store Front Full) More details about these types can be found here. |
| 320 |
"pickupTypes": [ # The Pickup types for this country. Acceptable values are: - "`pickupToday`" - "`pickupLater`" |
| 321 |
"A String", |
| 322 |
], |
| 323 |
}, |
| 324 |
"onDisplayToOrder": { # LIA "On Display To Order" settings. |
| 325 |
"shippingCostPolicyUrl": "A String", # Shipping cost and policy URL. |
| 326 |
"status": "A String", # The status of the ?On display to order? feature. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 327 |
}, |
| 328 |
"posDataProvider": { # The POS data provider linked with this country. |
| 329 |
"posDataProviderId": "A String", # The ID of the POS data provider. |
| 330 |
"posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS data provider. |
| 331 |
}, |
| 332 |
"storePickupActive": True or False, # The status of the "Store pickup" feature. |
| 333 |
}, |
| 334 |
], |
| 335 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liaSettings`" |
| 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 |
"accountId": "A String", # The ID of the Merchant Center account. |
| 356 |
"gmbAccounts": [ # A list of Business Profiles which are available to the merchant. |
| 357 |
{ |
| 358 |
"email": "A String", # The email which identifies the Business Profile. |
| 359 |
"listingCount": "A String", # Number of listings under this account. |
| 360 |
"name": "A String", # The name of the Business Profile. |
| 361 |
"type": "A String", # The type of the Business Profile (User or Business). |
| 362 |
}, |
| 363 |
], |
| 364 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liasettingsGetAccessibleGmbAccountsResponse`". |
| 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 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liasettingsListResponse`". |
| 386 |
"nextPageToken": "A String", # The token for the retrieval of the next page of LIA settings. |
| 387 |
"resources": [ |
| 388 |
{ # Local Inventory ads (LIA) settings. All methods except listposdataproviders require the admin role. |
| 389 |
"accountId": "A String", # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses. |
| 390 |
"countrySettings": [ # The LIA settings for each country. |
| 391 |
{ |
| 392 |
"about": { # The settings for the About page. |
| 393 |
"status": "A String", # The status of the verification process for the About page. Supported values are: - "`active`" - "`inactive`" - "`pending`" |
| 394 |
"url": "A String", # The URL for the About page. |
| 395 |
}, |
| 396 |
"country": "A String", # Required. CLDR country code (for example, "US"). |
| 397 |
"hostedLocalStorefrontActive": True or False, # The status of the "Merchant hosted local storefront" feature. |
| 398 |
"inventory": { # LIA inventory verification settings. |
| 399 |
"inventoryVerificationContactEmail": "A String", # The email of the contact for the inventory verification process. |
| 400 |
"inventoryVerificationContactName": "A String", # The name of the contact for the inventory verification process. |
| 401 |
"inventoryVerificationContactStatus": "A String", # The status of the verification contact. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 402 |
"status": "A String", # The status of the inventory verification process. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 403 |
}, |
| 404 |
"omnichannelExperience": { # Omnichannel experience details. # The omnichannel experience configured for this country. |
| 405 |
"country": "A String", # The CLDR country code (for example, "US"). |
| 406 |
"lsfType": "A String", # The Local Store Front (LSF) type for this country. Acceptable values are: - "`ghlsf`" (Google-Hosted Local Store Front) - "`mhlsfBasic`" (Merchant-Hosted Local Store Front Basic) - "`mhlsfFull`" (Merchant-Hosted Local Store Front Full) More details about these types can be found here. |
| 407 |
"pickupTypes": [ # The Pickup types for this country. Acceptable values are: - "`pickupToday`" - "`pickupLater`" |
| 408 |
"A String", |
| 409 |
], |
| 410 |
}, |
| 411 |
"onDisplayToOrder": { # LIA "On Display To Order" settings. |
| 412 |
"shippingCostPolicyUrl": "A String", # Shipping cost and policy URL. |
| 413 |
"status": "A String", # The status of the ?On display to order? feature. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 414 |
}, |
| 415 |
"posDataProvider": { # The POS data provider linked with this country. |
| 416 |
"posDataProviderId": "A String", # The ID of the POS data provider. |
| 417 |
"posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS data provider. |
| 418 |
}, |
| 419 |
"storePickupActive": True or False, # The status of the "Store pickup" feature. |
| 420 |
}, |
| 421 |
], |
| 422 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liaSettings`" |
| 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 'execute()' 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 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liasettingsListPosDataProvidersResponse`". |
| 457 |
"posDataProviders": [ # The list of POS data providers for each eligible country |
| 458 |
{ |
| 459 |
"country": "A String", # Country code. |
| 460 |
"posDataProviders": [ # A list of POS data providers. |
| 461 |
{ |
| 462 |
"displayName": "A String", # The display name of Pos data Provider. |
| 463 |
"fullName": "A String", # The full name of this POS data Provider. |
| 464 |
"providerId": "A String", # 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 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liasettingsRequestGmbAccessResponse`". |
| 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 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liasettingsRequestInventoryVerificationResponse`". |
| 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 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liasettingsSetInventoryVerificationContactResponse`". |
| 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, "US") for which the omnichannel experience is selected. |
| 546 |
lsfType: string, The Local Store Front (LSF) type for this country. Acceptable values are: - "`ghlsf`" (Google-Hosted Local Store Front) - "`mhlsfBasic`" (Merchant-Hosted Local Store Front Basic) - "`mhlsfFull`" (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: - "`pickupToday`" - "`pickupLater`" (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 |
"country": "A String", # The CLDR country code (for example, "US"). |
| 558 |
"lsfType": "A String", # The Local Store Front (LSF) type for this country. Acceptable values are: - "`ghlsf`" (Google-Hosted Local Store Front) - "`mhlsfBasic`" (Merchant-Hosted Local Store Front Basic) - "`mhlsfFull`" (Merchant-Hosted Local Store Front Full) More details about these types can be found here. |
| 559 |
"pickupTypes": [ # The Pickup types for this country. Acceptable values are: - "`pickupToday`" - "`pickupLater`" |
| 560 |
"A String", |
| 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 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liasettingsSetPosDataProviderResponse`". |
| 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 |
"accountId": "A String", # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses. |
| 600 |
"countrySettings": [ # The LIA settings for each country. |
| 601 |
{ |
| 602 |
"about": { # The settings for the About page. |
| 603 |
"status": "A String", # The status of the verification process for the About page. Supported values are: - "`active`" - "`inactive`" - "`pending`" |
| 604 |
"url": "A String", # The URL for the About page. |
| 605 |
}, |
| 606 |
"country": "A String", # Required. CLDR country code (for example, "US"). |
| 607 |
"hostedLocalStorefrontActive": True or False, # The status of the "Merchant hosted local storefront" feature. |
| 608 |
"inventory": { # LIA inventory verification settings. |
| 609 |
"inventoryVerificationContactEmail": "A String", # The email of the contact for the inventory verification process. |
| 610 |
"inventoryVerificationContactName": "A String", # The name of the contact for the inventory verification process. |
| 611 |
"inventoryVerificationContactStatus": "A String", # The status of the verification contact. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 612 |
"status": "A String", # The status of the inventory verification process. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 613 |
}, |
| 614 |
"omnichannelExperience": { # Omnichannel experience details. # The omnichannel experience configured for this country. |
| 615 |
"country": "A String", # The CLDR country code (for example, "US"). |
| 616 |
"lsfType": "A String", # The Local Store Front (LSF) type for this country. Acceptable values are: - "`ghlsf`" (Google-Hosted Local Store Front) - "`mhlsfBasic`" (Merchant-Hosted Local Store Front Basic) - "`mhlsfFull`" (Merchant-Hosted Local Store Front Full) More details about these types can be found here. |
| 617 |
"pickupTypes": [ # The Pickup types for this country. Acceptable values are: - "`pickupToday`" - "`pickupLater`" |
| 618 |
"A String", |
| 619 |
], |
| 620 |
}, |
| 621 |
"onDisplayToOrder": { # LIA "On Display To Order" settings. |
| 622 |
"shippingCostPolicyUrl": "A String", # Shipping cost and policy URL. |
| 623 |
"status": "A String", # The status of the ?On display to order? feature. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 624 |
}, |
| 625 |
"posDataProvider": { # The POS data provider linked with this country. |
| 626 |
"posDataProviderId": "A String", # The ID of the POS data provider. |
| 627 |
"posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS data provider. |
| 628 |
}, |
| 629 |
"storePickupActive": True or False, # The status of the "Store pickup" feature. |
| 630 |
}, |
| 631 |
], |
| 632 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liaSettings`" |
| 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 |
"accountId": "A String", # The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses. |
| 645 |
"countrySettings": [ # The LIA settings for each country. |
| 646 |
{ |
| 647 |
"about": { # The settings for the About page. |
| 648 |
"status": "A String", # The status of the verification process for the About page. Supported values are: - "`active`" - "`inactive`" - "`pending`" |
| 649 |
"url": "A String", # The URL for the About page. |
| 650 |
}, |
| 651 |
"country": "A String", # Required. CLDR country code (for example, "US"). |
| 652 |
"hostedLocalStorefrontActive": True or False, # The status of the "Merchant hosted local storefront" feature. |
| 653 |
"inventory": { # LIA inventory verification settings. |
| 654 |
"inventoryVerificationContactEmail": "A String", # The email of the contact for the inventory verification process. |
| 655 |
"inventoryVerificationContactName": "A String", # The name of the contact for the inventory verification process. |
| 656 |
"inventoryVerificationContactStatus": "A String", # The status of the verification contact. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 657 |
"status": "A String", # The status of the inventory verification process. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 658 |
}, |
| 659 |
"omnichannelExperience": { # Omnichannel experience details. # The omnichannel experience configured for this country. |
| 660 |
"country": "A String", # The CLDR country code (for example, "US"). |
| 661 |
"lsfType": "A String", # The Local Store Front (LSF) type for this country. Acceptable values are: - "`ghlsf`" (Google-Hosted Local Store Front) - "`mhlsfBasic`" (Merchant-Hosted Local Store Front Basic) - "`mhlsfFull`" (Merchant-Hosted Local Store Front Full) More details about these types can be found here. |
| 662 |
"pickupTypes": [ # The Pickup types for this country. Acceptable values are: - "`pickupToday`" - "`pickupLater`" |
| 663 |
"A String", |
| 664 |
], |
| 665 |
}, |
| 666 |
"onDisplayToOrder": { # LIA "On Display To Order" settings. |
| 667 |
"shippingCostPolicyUrl": "A String", # Shipping cost and policy URL. |
| 668 |
"status": "A String", # The status of the ?On display to order? feature. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" |
| 669 |
}, |
| 670 |
"posDataProvider": { # The POS data provider linked with this country. |
| 671 |
"posDataProviderId": "A String", # The ID of the POS data provider. |
| 672 |
"posExternalAccountId": "A String", # The account ID by which this merchant is known to the POS data provider. |
| 673 |
}, |
| 674 |
"storePickupActive": True or False, # The status of the "Store pickup" feature. |
| 675 |
}, |
| 676 |
], |
| 677 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#liaSettings`" |
| 678 |
}</pre> |
| 679 |
</div> |
| 680 |
|
| 681 |
</body></html> |