public-roadmap icon indicating copy to clipboard operation
public-roadmap copied to clipboard

[Google Search API] Inline `top_stories` are parsed incorrectly

Open Krugloff opened this issue 9 months ago • 4 comments

The Top Stories carousel inside organic_results appears to be incorrect.

Image

No Title/Snippet. Duration instead date.

Public links: Playground 1

Internal links: Search Inspect 1

Krugloff avatar Mar 14 '25 19:03 Krugloff

@hartator @ilyazub Based on your decisions and our documentation, should it be parsed as organic_results.top_stories.carousel, or is organic_results.carousel sufficient?

Krugloff avatar Mar 14 '25 19:03 Krugloff

should it be parsed as organic_results.top_stories.carousel, or is organic_results.carousel sufficient?

I would suggest maintaining organic_results.carousel, as it is under organic_results, using a generic name (carousel) should be easier and predictable for the customers on all cases.

tanys123 avatar Mar 20 '25 06:03 tanys123

Additionally, we have the latest_news

Krugloff avatar Mar 21 '25 21:03 Krugloff

should it be parsed as organic_results.top_stories.carousel, or is organic_results.carousel sufficient?

I would suggest maintaining organic_results.carousel, as it is under organic_results, using a generic name (carousel) should be easier and predictable for the customers on all cases.

Yeah, I think it's for sure always stories, I'll go for just top_stories inside that organic result. If sometimes it's not, I'll go for carousel inside that hat organic result as well.

For example:

{
  title: "x"
  snippet: "y"
  link: "x"
  top_stories: []
}

hartator avatar Apr 15 '25 23:04 hartator