Вопрос

Это было полезно?

Решение

From https://developers.google.com/shopping-search/v1/reference-request-parameters it looks like you could specify:

restrictBy=category=categoryName

but categoryName has to come from a provided taxonomy, and you can only provide a taxonomy if you're accessing Commerce Search, rather than the public product list. Google Shopping itself presumably has a default taxonomy built in, but the docs for the APIs suggest that that taxonomy isn't available to API users.

So: this isn't supported.

Edit: discussion thread where Google engineers confirm it's not presently supported

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top