Method: accounts.productReviews.insert
Вставляет обзор продукта.
HTTP-запрос
POST https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/productReviews:insert
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
parent | string Необходимый. Аккаунт, в который будет добавлен обзор продукта. Формат: аккаунты/{аккаунт} |
Параметры запроса
Параметры |
---|
data Source | string Необходимый. Формат: accounts/{account}/dataSources/{datasource} . |
Тело запроса
Тело запроса содержит экземпляр ProductReview
.
Тело ответа
В случае успеха тело ответа содержит экземпляр ProductReview
.
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/content
Для получения дополнительной информации см.OAuth 2.0 Overview .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-23 UTC.
[null,null,["Последнее обновление: 2025-01-23 UTC."],[[["Inserts a new product review for a specified account using an HTTP POST request."],["Requires specifying the parent account and data source using path and query parameters, respectively."],["The request body must contain a `ProductReview` object, and a successful response will return the created `ProductReview`."],["Authorization is required using the `https://www.googleapis.com/auth/content` OAuth scope."]]],["This document details the process for inserting a product review via an HTTP POST request to `https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/productReviews:insert`. It requires specifying the `parent` account in the path and the `dataSource` in the query. The request body and the response body are both instances of `ProductReview`. Authorization is managed via the `https://www.googleapis.com/auth/content` OAuth scope. The user can try to use this API by clicking on \"Try it!\" at the bottom of the document.\n"]]