serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
54 stars 5 forks source link

[Google Shopping API] Missing direct links when paginating #2067

Open NateSkiles opened 2 days ago

NateSkiles commented 2 days ago

When setting the start parameter with direct_link=true, the link attribute is not returned for shopping results.

image

Playground (with start)

image

Playground (without start)

It appears that the filters array is also missing when including a start parameter.

Intercom

schaferyan commented 2 days ago

Thank you @NateSkiles. Though this is likely due to changes on Google's side, I don't think Google is rolling out another new layout already. This appears to be related to the use of the start parameter.

Note that the examples above are not exactly the same, as the one with no link present includes num=30 and start=0.

After testing in the Playground, it appears that searches with start are always missing the link fields. Searches without start seem to work as expected.

Playground (with start) Playground (without start)

schaferyan commented 2 days ago

@Krugloff is it possible this is related to the fix for https://github.com/serpapi/public-roadmap/issues/1858?

KBCG commented 2 days ago

@schaferyan I just tried running without the start parameter and it returned the link

schaferyan commented 2 days ago

@KBCG good to hear. Yes, it does seem to return the link when omitting start. I hope it's a viable workaround for you while we look into this further!

alexbarron commented 1 day ago

Customer noted this is a high priority issue for them:

Front

Krugloff commented 1 day ago

@schaferyan

is it possible this is related to the fix for https://github.com/serpapi/public-roadmap/issues/1858?

I'm afraid so, since we're using the new layout :(

schaferyan commented 8 hours ago

Another customer reported this:

Front

schaferyan commented 6 hours ago

Another user this affects:

Intercom