Objet
Objet Serp
A Google web search results page: organic results, ads, the AI overview, People also ask, related searches and the knowledge panel. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.
| Champ | Type | De view | Description |
|---|---|---|---|
query | string | compact | La recherche telle que demandée. |
page | integer | compact | Numéro de cette page, à partir de 1. |
total_results | integer | null | compact | Google's own estimate of how many results there are. |
organic | SerpResult[] | compact | Organic results, in page order (usually up to 10). |
ads | SerpAd[] | compact | Paid results on the page; empty when Google shows none. |
ai_overview | string | null | standard | The AI overview's text, where Google shows one with the page; null when it has none or loads it separately. · peut être tronqué en compact |
related_questions | string[] | compact | "People also ask" questions. |
related_searches | string[] | compact | "Related searches" at the foot of the page. |
knowledge_panel | KnowledgePanel | null | compact | The knowledge panel, when the query names an entity Google knows; null otherwise. |
ext | objet | full | Données propres à la plateforme. Renvoyées uniquement avec view=full. · uniquement avec view=full |
SerpResult
| Champ | Type | Description |
|---|---|---|
rank | integer | Position dans la liste, à partir de 1. |
title | string | Titre. |
url | string | La page. |
displayed_url | string | null | The address as Google prints it under the title. |
source | string | null | Le nom du site, tel qu'affiché par Google. |
snippet | string | null | Le texte que Google affiche sous le titre. |
date | string | null | The date Google prints before the snippet, as it shows it ("3 days ago"); null when there is none. |
SerpAd
| Champ | Type | Description |
|---|---|---|
rank | integer | Position dans la liste, à partir de 1. |
position | string | Au-dessus des résultats naturels, ou en dessous. |
title | string | Titre de l'annonce. |
url | string | La page de destination de la publicité. |
displayed_url | string | null | L'adresse affichée par la publicité. |
snippet | string | null | Texte de l'annonce. |
KnowledgePanel
| Champ | Type | Description |
|---|---|---|
title | string | L'entité. |
type | string | null | Ce que c'est, selon les termes de Google. |
description | string | null | La description du panneau. |
website | string | null | Le site web propre de l'entité, lorsque Google l'indique. |
image_url | string | null | L'image du panneau. |