Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Google Search API] Keys Not Shown for Rich Snippet Table in Search Inspector/Playground #882

Closed
schaferyan opened this issue May 22, 2023 · 1 comment
Assignees
Labels
status: queued Ready to work on status: wip Work in progress

Comments

@schaferyan
Copy link

A customer reported invalid JSON in a rich_snippet_table in Google Search API results. It looks to me like there are some values missing either keys or array tags.

Screenshot 2023-05-22 at 9 16 26 AM

Playground | Search Archive | Intercom

@schaferyan schaferyan added the status: queued Ready to work on label May 22, 2023
@hartator
Copy link
Contributor

JSON does contain the valid data:

      "rich_snippet_table": [
        {
          "year": "Revenue",
          "2022": "1,358",
          "2021": "1,815",
          "2020": "958",
          "2019": "277.53"
        },
        {
          "year": "Revenue Growth (YoY)",
          "2022": "‑25.18%",
          "2021": "89.46%",
          "2020": "245.18%",
          "2019": ""
        },
        {
          "year": "Cost of Revenue",
          "2022": "179",
          "2021": "158",
          "2020": "114",
          "2019": "45.46"
        }
      ],

But, it's not displayed on our serpapi.com pages.

I think it's an UI issue related to #883.

@schaferyan schaferyan changed the title [Google Search API] Invalid JSON in Rich Snippet Table [Google Search API] Keys Not Shown for Rich Snippet Table in Search Inspector/Playground May 22, 2023
@aciddjus aciddjus self-assigned this May 24, 2023
@aciddjus aciddjus added the status: wip Work in progress label May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: queued Ready to work on status: wip Work in progress
Projects
None yet
Development

No branches or pull requests

3 participants