AI-generated Key Takeaways
-
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 createdProductReview
. -
Authorization is required using the
https://www.googleapis.com/auth/content
OAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Inserts a product review.
HTTP request
POST https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/productReviews:insert
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The account where the product review will be inserted. Format: accounts/{account} |
Query parameters
Parameters | |
---|---|
dataSource |
Required. Format: |
Request body
The request body contains an instance of ProductReview
.
Response body
If successful, the response body contains an instance of ProductReview
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.