We’re excited to announce a significant enhancement to our Merchant API: the addition of Google Shopping Reviews!
Google Shopping, a highly popular service by Google, allows users to discover and compare product offers and seamlessly make purchases.
With this update, you can easily access reviews of any product listed on the Google Shopping platform using Google Shopping API from the DataForSEO suite.
Simply specify the necessary location, language and a unique product identifier. This product_id
value can be obtained by making a separate request to the Google Shopping Products endpoint.
Here’s a cURL example for setting a task.
# Instead of 'login' and 'password' use your credentials from https://app.dataforseo.com/api-dashboard
login="login"
password="password"
cred="$(printf ${login}:${password} | base64)"
curl --location --request POST "https://api.dataforseo.com/v3/merchant/google/reviews/task_post"
--header "Authorization: Basic ${cred}"
--header "Content-Type: application/json"
--data-raw "[
{
"language_code": "en_US",
"location_code": 2840,
"product_id": "4485466949985702538"
}
]"
For more details on how to utilize the new Google Shopping Reviews API endpoints, refer to our updated documentation.
See also:
➤ Getting Reviews & Ratings Data at a Low Cost with API from DataForSEO