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).

Maria RicoMaria Rico

Dr. Rosales very clean office, polite and knowledgeable staff good Environment.
Dr. Rosales works with great details and sanitary measures Awesome team..

Read More
Luis BLuis B

Great set of people. Dr Rosales is the best dentist in Southern California. Always has a good spirit and always happy when you see him. Does the job right and goes above and beyond always.

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 a Practice of Dr. Victor M. Rosales, DDS
4.5 Stars - Based on 21 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.