Objeto
Objeto 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.
| Campo | Tipo | Desde view | Descripción |
|---|---|---|---|
query | string | compact | La búsqueda tal como se hizo. |
page | integer | compact | Qué página es, desde 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. · puede recortarse 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 | objeto | completo | Datos adicionales propios de la plataforma. Solo se devuelven con view=full. · solo con view=full |
SerpResult
| Campo | Tipo | Descripción |
|---|---|---|
rank | integer | Posición en la lista, desde 1. |
title | string | Título. |
url | string | La página. |
displayed_url | string | null | The address as Google prints it under the title. |
source | string | null | El nombre del sitio, tal como lo muestra Google. |
snippet | string | null | El texto que Google muestra bajo el título. |
date | string | null | The date Google prints before the snippet, as it shows it ("3 days ago"); null when there is none. |
SerpAd
| Campo | Tipo | Descripción |
|---|---|---|
rank | integer | Posición en la lista, desde 1. |
position | string | Encima de los resultados orgánicos o debajo de ellos. |
title | string | Titular del anuncio. |
url | string | La página de destino del anuncio. |
displayed_url | string | null | La dirección que muestra el anuncio. |
snippet | string | null | Texto del anuncio. |
KnowledgePanel
| Campo | Tipo | Descripción |
|---|---|---|
title | string | La entidad. |
type | string | null | Qué es, en los términos de Google. |
description | string | null | La descripción del panel. |
website | string | null | El sitio web propio de la entidad, si Google lo indica. |
image_url | string | null | La imagen del panel. |