Method: accounts.merchantReviews.insert
Inserisce una recensione per il tuo account Merchant Center. Se la recensione esiste già, viene sostituita dalla nuova istanza.
Richiesta HTTP
POST https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/merchantReviews:insert
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
parent |
string
Obbligatorio. L'account in cui verrà inserita la recensione del commerciante. Formato: accounts/{account}
|
Parametri di query
Parametri |
dataSource |
string
Obbligatorio. L'origine dati del formato merchantreview: accounts/{account}/dataSources/{datasource} .
|
Corpo della richiesta
Il corpo della richiesta contiene un'istanza di MerchantReview
.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di MerchantReview
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/content
Per ulteriori informazioni, consulta la sezione OAuth 2.0 Overview.
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-01-23 UTC.
[null,null,["Ultimo aggiornamento 2025-01-23 UTC."],[[["This documentation outlines the process for inserting or replacing a Merchant Center account review using the Merchant Center API."],["It involves sending a POST request to a specific endpoint with details about the review and the target account."],["Required parameters include the account ID and the data source for the review."],["The request and response bodies both utilize the MerchantReview object to structure the review data."],["Authorization using OAuth 2.0 with the `https://www.googleapis.com/auth/content` scope is necessary for this operation."]]],["This documentation outlines the process of inserting or replacing a merchant review via a POST request to `https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/merchantReviews:insert`. The `parent` path parameter specifies the target account. The `dataSource` query parameter specifies the source of the review data. A `MerchantReview` instance is sent in the request body. Upon success, the response body will also contain a `MerchantReview` instance. The request requires the `https://www.googleapis.com/auth/content` OAuth scope.\n"]]