Google Shopping missing `link` in `shopping_results`
complete
Elizabeth Oster
"shopping_results": [
    {
      "position": 1,
      "product_id": "6554541821207213520",
      "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&location=Austin%2C+Texas%2C+United+States&product_id=6554541821207213520",
      "source": "Levi's",
      "price": "$67.98",
      "extracted_price": 67.98,
      "rating": 4.6,
      "reviews": 139,
      "extensions": [
        "",
        "",
        "",
        ""
      ],
Seems to happen on Shopping pages with this layout:
Joel Hull
Thank you for the quick turn around on this critical issue!
Zil
marked this post as
complete
Changes:
* Title and link should now appear in grid shopping layout
* We have identified extensions array to be empty sometimes or include empty strings. We have removed such cases.
* Google Shopping Results API Documentation updated - described how to force grid or list layouts, updated first example image and response and documented missing JSON fields that we were already returning.
Zil
marked this post as
in progress
We have identified the issue and we are working on a fix right now.
Joel Hull
Can you provide an ETA on a fix for this issue?
Joel Hull
I also noticed on the Google Shopping site there is a list view and a group view.  The is what is normally returned when the links work.  Is there a way to force a search to return in list format?
Zil
Joel Hull: Thanks for the notice. I just tested it and you can force the layout by using 
tbs
 parameter on the SerpAPI. To force grid layout, set 
tbs
 query parameter value to vw:g
.To force list layout, set 
tbs
 query parameter value to vw:l
.Hope this helps. In the meantime, we are currently fixing the grid layout parsing.
Joel Hull
When I do a Google Shopping search for "pants" in your API Playground on your website it is returning links but it doesn't when I use the python package google-search-results (version 1.8.3 and 2.0.0).  Are you doing something different in your Playground that I need to do with the API?
Elizabeth Oster
Joel Hull: To clarify, we do plan on supporting both the list and grid formats. I was just noting how this issue seems to be localized to the grid format.
Also could you share with me a search ID of where you missed the 
link
 with your python code but got it with the playground. They should perform similarly.As for an ETA, I can't say for sure just yet. Once the thread gets marked as 
In Progress
, it should be only a few days thereafter as long as we don't hit any unforeseen issues.Joel Hull
Elizabeth Oster: Search without links - 5fa2edabb228ca1b19f51c37
Joel Hull
Elizabeth Oster: Playground search with links - 5fa320c956d1ed17a87030bf
Elizabeth Oster
Joel Hull: Ok, so it looks like the python search without links was the grid format which falls inline with this thread's issue. And the playground search that has the links is the list format.
There are a few parameters that you included in the python search that weren't in the playground also. 
tbs
 and num
 as well as a different location
. I reproduced the python search with the 
tbs
 and num
 parameter on the playground and got the same grid format as you got with the original python search: https://serpapi.com/playground?q=laundry+detergent&location=Austin%2C+Texas%2C+United+States&gl=us&hl=en&num=500&tbm=shop&tbs=p_ord%3Arv&no_cache=trueElizabeth Oster
marked this post as
planned
Elizabeth Oster
marked this post as
under review