# Recuperare i risultati Google AI Mode SERP avanzati per id

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/serp/google/ai_mode/task_get/advanced/{id}`

**Tags:** DataForSEO

Recupera un risultato Google AI Mode accodato tramite `id`. Restituisce `keyword`, `type`, `se_domain`, `location_code`, `language_code`, `check_url`, `datetime`, `spell`, `refinement_chips`, `item_types`, `items_count` e `items`. Racchiuso nella struttura DataForSEO: dati in `tasks[0].result`, esito in `tasks[0].status_code` – una richiesta rifiutata restituisce comunque HTTP 200.

### Riferimento prezzi

- Misurazione: costo della risposta comunicato.
- Stima di riferimento per richiesta: USD 0.02.
- Moltiplicatore di riferimento per il cliente: 1.0. Non applicarlo di nuovo a un importo già addebitato al cliente.

Solo metadati di riferimento, non un preventivo dell'account, né un prezzo garantito o un limite di spesa. I crediti delle risorse non sono crediti Felo. Gli addebiti finali seguono le registrazioni di fatturazione Felo.

## Related links

- [un identificatore univoco universale (UUID)](<https://en.wikipedia.org/wiki/Universally_unique_identifier>)
- [XPath](<https://en.wikipedia.org/wiki/XPath>)
- [linguaggio di markup markdown](<https://en.wikipedia.org/wiki/Markdown>)

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | path | yes | string | <em>identificatore dell'attività</em><br>un identificatore univoco universale (UUID)<br><strong>identificatore univoco dell'attività nel nostro sistema</strong><br>potrai usarlo entro <strong>30 giorni</strong> per richiedere in qualsiasi momento i risultati dell'attività |

## Responses

### 200 — Operazione riuscita

Headers:
- `X-Request-Id` (string) — Identificatore della richiesta da includere quando contatti l'assistenza Felo.

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResponseInfo"
    }
  ]
}
```

### 400 — Impossibile elaborare la richiesta. Controlla i parametri della richiesta.

### 401 — È richiesta una chiave API Felo valida.

### 402 — Impossibile procedere con la richiesta perché non è soddisfatto un requisito di fatturazione.

### 403 — L'account non è autorizzato a eseguire questa operazione.

### 429 — È stato raggiunto un limite di richieste o di spesa.

### 502 — Il servizio non è riuscito a completare la richiesta.

### 503 — L'API o il servizio di fatturazione è temporaneamente non disponibile.

### 504 — Si è verificato un timeout durante l'elaborazione della richiesta.

### default — Risposta di errore; le risposte passthrough upstream possono usare formati del provider

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AiModeAiOverviewInfo

`#/components/schemas/Response36Afe1097B20_AiModeAiOverviewInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "tipo di elemento"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>posizione di gruppo nella SERP</em><br>posizione all'interno di un gruppo di elementi con valori <code>type</code> identici<br>le posizioni degli elementi con valori <code>type</code> diversi vengono omesse da <code>rank_group</code>"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>posizione assoluta nella SERP</em><br>posizione assoluta tra tutti gli elementi della SERP"
    },
    "page": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>pagina SERP</em><br>pagina SERP in cui l'elemento si posiziona"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>l'allineamento dell'elemento nella SERP</em><br>può assumere i seguenti valori:<br><code>left</code>, <code>right</code>"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>l'XPath dell'elemento</em>"
    },
    "markdown": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>contenuto dell'elemento in formato markdown</em><br>il testo di <code>ai_overview</code> formattato nel linguaggio di markup markdown"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_BaseSerpApiAiModeAiOverviewElementItem"
          }
        ]
      },
      "description": "<em>elementi presenti nell'elemento</em>"
    },
    "references": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AiModeAiOverviewReferenceInfo"
          }
        ]
      },
      "description": "<em>riferimenti aggiuntivi pertinenti all'elemento</em><br>include riferimenti a pagine web che potrebbero essere state utilizzate per generare <code>ai_overview</code>"
    },
    "rectangle": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AiModeRectangleInfo"
        }
      ],
      "description": "<em>parametri del rettangolo</em><br>contiene le coordinate cartesiane e le dimensioni in pixel dello snippet del risultato nella SERP<br>è uguale a <code>null</code> se <code>calculate_rectangles</code> nella richiesta POST non è impostato su <code>true</code>"
    }
  }
}
```

### Response36Afe1097B20_AiModeAiOverviewReferenceInfo

`#/components/schemas/Response36Afe1097B20_AiModeAiOverviewReferenceInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "tipo di elemento"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>l'allineamento dell'elemento nella SERP</em><br>può assumere i seguenti valori:<br><code>left</code>, <code>right</code>"
    },
    "source": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>nome o titolo della fonte di riferimento</em>"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>nome di dominio del riferimento</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL del link</em>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>testo di ancoraggio del link</em>"
    },
    "text": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>testo del componente</em>"
    }
  }
}
```

### Response36Afe1097B20_AiModeRectangleInfo

`#/components/schemas/Response36Afe1097B20_AiModeRectangleInfo`

```json
{
  "type": "object",
  "properties": {
    "x": {
      "type": [
        "number",
        "null"
      ],
      "description": "coordinata sull'asse x\nla coordinata sull'asse x dell'angolo superiore sinistro dello snippet del risultato, con l'angolo superiore sinistro dello schermo come origine",
      "format": "double"
    },
    "y": {
      "type": [
        "number",
        "null"
      ],
      "description": "coordinata sull'asse y\nla coordinata sull'asse y dell'angolo superiore sinistro dello snippet del risultato, con l'angolo superiore sinistro dello schermo come origine",
      "format": "double"
    },
    "width": {
      "type": [
        "number",
        "null"
      ],
      "description": "larghezza dell'elemento in pixel",
      "format": "double"
    },
    "height": {
      "type": [
        "number",
        "null"
      ],
      "description": "altezza dell'elemento in pixel",
      "format": "double"
    }
  }
}
```

### Response36Afe1097B20_AmazonLabelElement

`#/components/schemas/Response36Afe1097B20_AmazonLabelElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "tipo di elemento"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "titolo dell'elemento"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL di ricerca con parametri di affinamento"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "dominio nella SERP"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "La versione corrente dell'API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "codice di stato generale\nl'elenco completo dei codici di risposta è disponibile qui"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "messaggio informativo generale\nl'elenco completo dei messaggi informativi generali è disponibile qui"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "tempo di esecuzione totale, secondi"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "Costo totale delle attività, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Il numero di attività nell'array tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Il numero di attività nell'array tasks restituite con un errore",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "identificatore dell'attività\nidentificatore univoco dell'attività nel nostro sistema in formato UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "codice di stato dell'attività\ngenerato da DataForSEO, può essere compreso nell'intervallo: 10000-60000\nl'elenco completo dei codici di risposta è disponibile qui"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "messaggio informativo dell'attività\nl'elenco completo dei messaggi informativi generali è disponibile qui"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "Tempo di esecuzione in secondi"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "Costo totale delle attività, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Numero di elementi nell'array dei risultati",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "Percorso URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "Contiene gli stessi parametri specificati nella richiesta POST"
    }
  }
}
```

### Response36Afe1097B20_BaseSerpApiAiModeAiOverviewElementItem

`#/components/schemas/Response36Afe1097B20_BaseSerpApiAiModeAiOverviewElementItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "tipo di elemento"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>l'allineamento dell'elemento nella SERP</em><br>può assumere i seguenti valori:<br><code>left</code>, <code>right</code>"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "ai_overview_element": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewElementItem",
      "ai_overview_expanded_element": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewExpandedElementItem",
      "ai_overview_video_element": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewVideoElementItem",
      "ai_overview_table_element": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewTableElementItem",
      "ai_overview_shopping": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewShoppingItem",
      "ai_overview_paid": "#/components/schemas/Response36Afe1097B20_SerpApiAiModeAiOverviewPaidItem"
    }
  }
}
```

### Response36Afe1097B20_RefinementChipsElement

`#/components/schemas/Response36Afe1097B20_RefinementChipsElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "tipo di elemento"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "titolo dell'elemento"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL di ricerca con parametri di affinamento"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "dominio nella SERP"
    },
    "options": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AmazonLabelElement"
          }
        ]
      },
      "description": "ulteriori opzioni di affinamento della ricerca"
    }
  }
}
```

### Response36Afe1097B20_RefinementChipsInfo

`#/components/schemas/Response36Afe1097B20_RefinementChipsInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "tipo di elemento"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "l'XPath dell'elemento"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsElement"
          }
        ]
      },
      "description": "voci dell'elemento"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>array di attività</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>keyword ricevuta in un array POST<br></em><strong>la keyword viene restituita con %## decodificato (il carattere più '+' viene decodificato in uno spazio)</strong>"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "tipo di elemento"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>dominio del motore di ricerca in un array POST</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>codice posizione in un array POST</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>codice lingua in un array POST</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL diretto ai risultati del motore di ricerca<br></em>puoi usarlo per verificare che abbiamo fornito risultati esatti"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>data e ora di ricezione del risultato</em><br>nel formato UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>esempio:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "spell": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_SpellInfo"
        }
      ],
      "description": "<em>autocorrezione del motore di ricerca</em><br>se il motore di ricerca ha fornito risultati per una keyword corretta, specifichiamo la keyword corretta dal motore di ricerca e il tipo di autocorrezione;<br>in questo caso il valore sarà <code>null</code>"
    },
    "refinement_chips": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsInfo"
        }
      ],
      "description": "<em>chip di perfezionamento della ricerca</em><br>in questo caso il valore sarà <code>null</code>"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>tipi di risultati di ricerca nella SERP</em><br>contiene i tipi di risultati di ricerca (<code>items</code>) trovati nella SERP.<br>tipi di elemento possibili:<br><code>ai_overview</code>"
    },
    "se_results_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> numero totale di risultati nella SERP</em>",
      "format": "int64"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>il numero di risultati restituiti nell'array <strong><code>items</code></strong></em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AiModeAiOverviewInfo"
          }
        ]
      },
      "description": "<em>elementi presenti nell'elemento</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpGoogleAiModeTaskGetAdvancedResultInfo"
              }
            ]
          },
          "description": "<em>array di risultati</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SpellInfo

`#/components/schemas/Response36Afe1097B20_SpellInfo`

```json
{
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "keyword ottenuta a seguito della correzione automatica del motore di ricerca\n i risultati saranno forniti per la keyword corretta"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "tipo di correzione automatica\n valori possibili:\n did_you_mean, showing_results_for, no_results_found_for, including_results_for\n nota: Yahoo e Yandex supportano solo il seguente tipo di correzione automatica:\n including_results_for"
    }
  }
}
```
