---
title: "POST /reviews/v1beta/{+parent}/merchantReviews:insert"
method: POST
path: "/reviews/v1beta/{+parent}/merchantReviews:insert"
tags: ["accounts"]
---

# POST /reviews/v1beta/{+parent}/merchantReviews:insert

`POST /reviews/v1beta/{+parent}/merchantReviews:insert`

Inserts a review for your Merchant Center account. If the review already exists, then the review is replaced with the new instance.

## Path parameters

- `parent` string, required

## Query parameters

- `dataSource` string

## Request body

- MerchantReview — A review for a merchant. For more information, see [Introduction to Merchant Review Feeds](https://developers.google.com/merchant-review-feeds)
  - `merchantReviewAttributes` MerchantReviewAttributes — Attributes.
    - `merchantDisplayName` string — Optional. Human-readable display name for the merchant.
    - `reviewTime` string, google-datetime — Required. The timestamp indicating when the review was written.
    - `reviewCountry` string — Optional. The country where the reviewer made the order defined by ISO 3166-1 Alpha-2 Country Code.
    - `merchantLink` string — Optional. URL to the merchant's main website. Do not use a redirect URL for this value. In other words, the value should point directly to the merchant's site.
    - `reviewerUsername` string — Optional. Display name of the review author.
    - `reviewerId` string — Optional. A permanent, unique identifier for the author of the review in the publisher's system.
    - `merchantRatingLink` string — Optional. URL to the landing page that hosts the reviews for this merchant. Do not use a redirect URL.
    - `rating` number, double — Optional. The reviewer's overall rating of the merchant.
    - `isAnonymous` boolean — Optional. Set to true if the reviewer should remain anonymous.
    - `merchantId` string — Required. Must be unique and stable across all requests. In other words, if a request today and another 90 days ago refer to the same merchant, they must have the same id.
    - `minRating` string, int64 — Optional. The minimum possible number for the rating. This should be the worst possible rating and should not be a value for no rating.
    - `content` string — Required. This should be any freeform text provided by the user and should not be truncated. If multiple responses to different questions are provided, all responses should be included, with the minimal context for the responses to make sense. Context should not be provided if questions were left unanswered.
    - `collectionMethod` 'COLLECTION_METHOD_UNSPECIFIED' | 'MERCHANT_UNSOLICITED' | 'POINT_OF_SALE' | 'AFTER_FULFILLMENT' — Optional. The method used to collect the review.
    - `maxRating` string, int64 — Optional. The maximum possible number for the rating. The value of the max rating must be greater than the value of the min rating.
    - `title` string — Optional. The title of the review.
    - `reviewLanguage` string — Optional. The language of the review defined by BCP-47 language code.
  - `name` string — Identifier. The name of the merchant review. Format: `"{merchantreview.name=accounts/{account}/merchantReviews/{merchantReview}}"`
  - `merchantReviewId` string — Required. The user provided merchant review ID to uniquely identify the merchant review.
  - `customAttributes` CustomAttribute[] — Optional. A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the data specification in its generic form (for example, `{ "name": "size type", "value": "regular" }`). This is useful for submitting attributes not explicitly exposed by the API, such as experimental attributes. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per product, with total size of 102.4kB. Underscores in custom attribute names are replaced by spaces upon insertion.
    - `groupValues` CustomAttribute[] — Subattributes within this attribute group. If `group_values` is not empty, `value` must be empty.
    - `name` string — The name of the attribute.
    - `value` string — The value of the attribute. If `value` is not empty, `group_values` must be empty.
  - `dataSource` string — Output only. The primary data source of the merchant review.
  - `merchantReviewStatus` MerchantReviewStatus — The status of a merchant review, data validation issues, that is, information about a merchant review computed asynchronously.
    - `createTime` string, google-datetime — Output only. Date on which the item has been created, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.
    - `destinationStatuses` MerchantReviewDestinationStatus[] — Output only. The intended destinations for the merchant review.
      - `reportingContext` 'REPORTING_CONTEXT_ENUM_UNSPECIFIED' | 'SHOPPING_ADS' | 'DISCOVERY_ADS' | 'DEMAND_GEN_ADS' | 'DEMAND_GEN_ADS_DISCOVER_SURFACE' | 'VIDEO_ADS' | 'DISPLAY_ADS' | 'LOCAL_INVENTORY_ADS' | 'VEHICLE_INVENTORY_ADS' | 'FREE_LISTINGS' | 'FREE_LISTINGS_UCP_CHECKOUT' | 'FREE_LOCAL_LISTINGS' | 'FREE_LOCAL_VEHICLE_LISTINGS' | 'YOUTUBE_AFFILIATE' | 'YOUTUBE_SHOPPING' | 'CLOUD_RETAIL' | 'LOCAL_CLOUD_RETAIL' | 'PRODUCT_REVIEWS' | 'MERCHANT_REVIEWS' | 'YOUTUBE_CHECKOUT' — Output only. The name of the reporting context.
    - `itemLevelIssues` MerchantReviewItemLevelIssue[] — Output only. A list of all issues associated with the merchant review.
      - `detail` string — Output only. A detailed issue description in English.
      - `attribute` string — Output only. The attribute's name, if the issue is caused by a single attribute.
      - `code` string — Output only. The error code of the issue.
      - `documentation` string — Output only. The URL of a web page to help with resolving this issue.
      - `resolution` string — Output only. Whether the issue can be resolved by the merchant.
      - `severity` 'SEVERITY_UNSPECIFIED' | 'NOT_IMPACTED' | 'DISAPPROVED' — Output only. How this issue affects serving of the merchant review.
      - `reportingContext` 'REPORTING_CONTEXT_ENUM_UNSPECIFIED' | 'SHOPPING_ADS' | 'DISCOVERY_ADS' | 'DEMAND_GEN_ADS' | 'DEMAND_GEN_ADS_DISCOVER_SURFACE' | 'VIDEO_ADS' | 'DISPLAY_ADS' | 'LOCAL_INVENTORY_ADS' | 'VEHICLE_INVENTORY_ADS' | 'FREE_LISTINGS' | 'FREE_LISTINGS_UCP_CHECKOUT' | 'FREE_LOCAL_LISTINGS' | 'FREE_LOCAL_VEHICLE_LISTINGS' | 'YOUTUBE_AFFILIATE' | 'YOUTUBE_SHOPPING' | 'CLOUD_RETAIL' | 'LOCAL_CLOUD_RETAIL' | 'PRODUCT_REVIEWS' | 'MERCHANT_REVIEWS' | 'YOUTUBE_CHECKOUT' — Output only. The reporting context the issue applies to.
      - `description` string — Output only. A short issue description in English.
    - `lastUpdateTime` string, google-datetime — Output only. Date on which the item has been last updated, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/merchantapi.md) · [All operations](https://skmtc.net/google/apis/merchantapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/merchantapi/revisions/ef4122adeba1/schema)
