L'API
Google Business Performance ha un metodo
NOVITÀ che consente di recuperare più `dailyMetrics` in un'unica richiesta API.
Consulta il
calendario del ritiro e le istruzioni per eseguire la migrazione dal metodo API ReportInsights della versione 4 all'API Performance di Google Profilo.
API Domande e risposte
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Log delle modifiche
v1: 18/09/2024
L'ID precedente non sarà più accettato per locations.questions e locations.questions.answers
Se il campo name
include il vecchio ID della domanda o della risposta, a partire da2024-09-16
, l'API restituirà un'eccezione. Se utilizzi il vecchio ID quando
chiami l'API, sostituiscilo con il nuovo ID chiamando il metodo list
.
v1: 12/02/2024
Il campo name
cambierà per locations.questions
e locations.questions.answers
Tieni presente che a partire dal giorno 2024-02-12
, il campo name
che include il vecchio ID della
domanda
o della risposta
verrà sostituito con un nuovo ID. Se utilizzi il vecchio ID per la domanda o la risposta, l'API restituirà il nuovo ID nell'oggetto di risposta per la tua richiesta.
v1: 13/11/2023
locations.questions.list
per le attività con più di 50 domande
Abbiamo rilevato un limite noto con il parametro di query orderBy
per
locations.questions.list
che non ordina correttamente le domande create dall'attività
utilizzando l'ordine upvoteCount
quando sono presenti più di 50 domande.
v1: 18/11/2021
Accesso API
L'API Domande e risposte dovrà essere attivata dalla console Google Cloud. L'ambito OAuth rimane invariato.
URL endpoint
L'endpoint Domande è accessibile all'indirizzo https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions
anziché https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions
.
L'endpoint Answers è accessibile all'indirizzo https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions/{questionId}/answers
anziché https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions/{questionId}/answers
.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-25 UTC."],[[["Starting September 16, 2024, the old ID format for questions and answers will be deprecated and replaced with a new ID format, requiring updates to API calls using the `list` method for retrieval."],["As of February 12, 2024, the `name` field for questions and answers transitioned to a new ID structure, with the API returning the updated ID in responses for compatibility."],["There is a known issue with the `locations.questions.list` method where the `orderBy` parameter with `upvoteCount` might not correctly sort business-created questions when exceeding 50 in number."],["The Q&A API requires explicit activation through the GCP Console, with endpoints for questions and answers being relocated to new URLs under the `mybusinessqanda.googleapis.com` domain."]]],[]]