You can manage LIA-related settings with the
liasettings
service.
Call liasettings.update
to specify the countries where you plan to serve local inventory ads. Here's an example:
PUT https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890
{
"accountId" : 67890,
"countrySettings" : [{
"country" : "US"
}]
}
About pages
If you're serving in Austria, Germany, or Switzerland, you must also submit an About page. For example, you might submit the following information to serve in the US and Germany:
PUT https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890
{
"accountId" : 67890,
"countrySettings" : [{
"country" : "US"
},
{
"country" : "DE",
"about" : {
"url" : "https://www.example.com/de/about"
}
}]
}
Until this URL is verified, inventory verification cannot be requested. To see
the URL verification status, retrieve the account's LIA settings via
liasettings.get
and check
the value of the associated status field:
GET https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890
Response:
200 OK
{
"kind": "content#liaSettings",
"accountId" : 67890,
"countrySettings" : [{
"country" : "US"
},
{
"country" : "DE",
"about" : {
"url" : "https://www.example.com/de/about",
"status" : "pending"
}
}]
}
Once the status associated with the URL changes to active
, the URL is
verified. If the status is inactive
, then there are issues you must address
with your About page. Once you've addressed any issues, you can trigger a new
review by either updating your LIA
settings with the location of the About page, whether it is the same or has
changed.
On display to order and in-store order policy pages
If you want to use the on display to order (ODO) feature, then you should also set that up on a per-country basis:
PUT https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890
{
"accountId" : 67890,
"countrySettings" : [{
"country" : "US",
"onDisplayToOrder": {
"shippingCostPolicyUrl" : "https://www.example.com/inStoreOrderPolicy"
}
}]
}
Note that the URL you provide for ODO must be verified before you request inventory verification. The process for checking verification and/or requesting another review of the policy URL in the case of issues follows the same flow as the About page:
GET https://shoppingcontent.googleapis.com/content/v2.1/12345/liasettings/67890
Response:
200 OK
{
"kind": "content#liaSettings",
"accountId" : 67890,
"countrySettings" : [{
"country" : "US",
"onDisplayToOrder": {
"shippingCostPolicyUrl" : "https://www.example.com/inStoreOrderPolicy",
"status" : "pending"
}
}]
}