Last Updated on September 30, 2020
Filed under Plugins

Google Testimonials API

Google's API only allows up to 5 reviews to show and requires their branding. Using this API requires an API key using your Google account. Result are cached for 1 week (7 days).

Myriam CastilloMyriam Castillo

So happy with my service! I can’t wait to go back for my cleaning again. My teeth feel so cleaned, the office was so nice organized and very clean, they were also so nice and professional to me and my kids they also went too. My son had to get tooth pulled and he didn’t feel any pain. His had issues with his teeth for a while now and he told me that they were good and gentle and they loved everyone. Thank you so much! 💯 recommend!

Read More
Rona KracherRona Kracher

Dr. Victor M. Rosales is AWESOME!

We have been to many dentists before and we haven't met anyone so nice and charming dentist like him. He will make you feel comfortable and relax in his Spa like office and his office staffs are friendly and approachable too. We're so glad that he is our family dentist now!

More power Dr. Vic...highly recommended to my family and friends!!!

Read More
[bne_testimonials_api source="google" id="google-places-id" limit="2"]
The same API can be used with the [bne_testimonials_badge] shortcode by setting api="true" as an option.

BNE Creative DocsArrow Smile Dental
4.4 Stars - Based on 24 User Reviews
[bne_testimonials_badge api="true" source="google" id="google-places-id"]

Creating your “Google Places API Web Service” key

In short, what you need is to create a “Project” in the Google Developer Console, then enable the API, and create credentials to use that API key with BNE Testimonials Pro.

To get an API key, you will need an active Google account, then follow these steps:

  1. Visit the Google Places API Web Service landing page. If you are not logged into your Google Account already, you can do so there.
  2. Make sure Places is checked and press continue.
  3. Select an existing project or create a new one.
  4. Enter a billing account. Beginning June 2018, a billing account is required to use the API services.
  5. You'll be presented with the key, copy it and go back to your site with BNE Testimonials. Navigate to Testimonials > Settings and enter your API key there. This API key does not go into the shortcode generator.

Watch a video walkthrough at the time. Some steps may be different than what is in the video

Video Walkthrough

Google limits the number of requests to the Places API before you start to need to pay for access. The Google API does require a billing card on file and provides a $200 credit each month on the account which will cover 99% of their users. As long as you’re using the cache option in the plugin (enabled by default), you should never exceed this amount. You can review your API project’s quota here. Please see the billing info page over at Google for more information.


Finding your Google Places business ID

Using this tool from Google, or the one below, you can search for your business/place ID. To get the ID, follow the steps below the map

Google Place ID
  1. Visit the Web Services Place ID page or use the one below.
  2. In the map shown do a search for your business or landmark. Choose the one you need and you'll be shown a tooltip with the location and ID as shown in the screenshot.
  3. Take that ID and add it to your Testimonial shortcode in the id argument.



Not able to find your PlaceID?

In some cases, you may come empty handed using the above tool. Google Place  ID is a unique identifier for each location within Google My Business and Google Maps; however, if your business is set up as a service area or a private home residents then you may have not set a physical address. In this case you'll need to do a little digging to find it.


1. Search for your business on Google.

Google Places Inspect


2. Inspect the “Write a Review” button.  To do this in Firefox, right-click and choose “Inspect Element“.  In Chrome, right-click and choose “Inspect“. (Most browsers follow a similar process.)


3. Find “data-pid” as shown above. (This part is a little tricky, but just look inside the <a> tag until you find data-pid=).


4. Copy the characters within the quotes (as shown above).


If you're still having trouble finding your PlaceID, please reach out to us and we'll help you find it.