{"id":1385547,"date":"2023-01-11T11:26:29","date_gmt":"2023-01-11T17:26:29","guid":{"rendered":"https:\/\/smashballoon.com\/?post_type=doc&#038;p=1385547"},"modified":"2025-03-18T12:17:23","modified_gmt":"2025-03-18T17:17:23","slug":"creating-a-google-api-key","status":"publish","type":"doc","link":"https:\/\/smashballoon.com\/doc\/creating-a-google-api-key\/","title":{"rendered":"Creating a Google API Key for the Reviews Feed"},"content":{"rendered":"<h3>To create a Google Places API key to use with our Reviews plugin, follow the steps below.<\/h3>\n<p>1) Go to <a href=\"https:\/\/console.cloud.google.com\/billing\" target=\"_blank\" rel=\"noreferrer noopener\">Google&#8217;s Cloud Console Billing page<\/a>, and set up a new billing account to your Places API key.<\/p>\n<p><a href=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_06-58-20.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1385549\" src=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_06-58-20.png\" alt=\"\" width=\"900\" height=\"378\" srcset=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_06-58-20.png 900w, https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_06-58-20-300x126.png 300w, https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_06-58-20-768x323.png 768w, https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_06-58-20-240x101.png 240w, https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_06-58-20-732x307.png 732w, https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_06-58-20-382x160.png 382w, https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_06-58-20-591x248.png 591w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<p><strong>Note<\/strong>: Please review the <a href=\"https:\/\/developers.google.com\/maps\/documentation\/places\/web-service\/usage-and-billing\" target=\"_blank\" rel=\"nofollow noopener\">limits for the Places API usage<\/a> and set a limit\/quota for the maximum number of requests that can be done each day to avoid any charges outside of your expectations. To set a limit, follow the <a href=\"https:\/\/support.google.com\/googleapi\/answer\/7035610?hl=en\" target=\"_blank\" rel=\"nofollow noopener\">documentation here<\/a>. We suggest a limit of 100 requests per day.<\/p>\n<p>2) Open the <a href=\"https:\/\/console.cloud.google.com\/welcome\">Google Cloud Platform page.<\/a><\/p>\n<p>3) From the drop-down menu at the top of the page, create a new project.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1716233\" src=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-44-50.png\" alt=\"\" width=\"900\" height=\"256\" srcset=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-44-50.png 900w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-44-50-300x85.png 300w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-44-50-768x218.png 768w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-44-50-240x68.png 240w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-44-50-732x208.png 732w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-44-50-382x109.png 382w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-44-50-591x168.png 591w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>4) Enter a name for this project and click &#8220;<strong>Create<\/strong>&#8220;<\/p>\n<p><a href=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_07-07-19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1385567\" src=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_07-07-19.png\" alt=\"\" width=\"900\" height=\"549\" srcset=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_07-07-19.png 900w, https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_07-07-19-300x183.png 300w, https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_07-07-19-768x468.png 768w, https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_07-07-19-240x146.png 240w, https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_07-07-19-732x447.png 732w, https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_07-07-19-382x233.png 382w, https:\/\/smashballoon.com\/wp-content\/uploads\/2022\/11\/2022-11-07_07-07-19-444x271.png 444w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<p>5) Make sure the correct project is selected on the drop-down menu at the top of the page, then click APIs &amp; Services<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1716661\" src=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-24-50.png\" alt=\"\" width=\"900\" height=\"453\" srcset=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-24-50.png 900w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-24-50-300x151.png 300w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-24-50-768x387.png 768w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-24-50-240x121.png 240w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-24-50-732x368.png 732w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-24-50-382x192.png 382w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-24-50-538x271.png 538w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>6) Navigate to &#8220;<strong>Enabled APIs &amp; services<\/strong>&#8221; on the left side of the screen, then click the &#8220;Enable APIs and Services<b>&#8220;<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1716666\" src=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-27-42.png\" alt=\"\" width=\"900\" height=\"249\" srcset=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-27-42.png 900w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-27-42-300x83.png 300w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-27-42-768x212.png 768w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-27-42-240x66.png 240w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-27-42-732x203.png 732w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-27-42-382x106.png 382w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-27-42-591x164.png 591w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>7) Click the &#8220;<strong>Places API<\/strong>&#8221; option<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1716668\" src=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-04.png\" alt=\"\" width=\"900\" height=\"461\" srcset=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-04.png 900w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-04-300x154.png 300w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-04-768x393.png 768w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-04-240x123.png 240w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-04-732x375.png 732w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-04-382x196.png 382w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-04-529x271.png 529w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>8) Enable this service\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1716669\" src=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-10.png\" alt=\"\" width=\"900\" height=\"393\" srcset=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-10.png 900w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-10-300x131.png 300w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-10-768x335.png 768w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-10-240x105.png 240w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-10-732x320.png 732w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-10-382x167.png 382w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/2023-11-30_08-28-10-591x258.png 591w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/p>\n<p>9) Google <strong>may<\/strong> ask you in a popup to get started on Google Maps Platform. In this case, click <strong>Go to Google Maps Platform,<\/strong> which will create your new API key. If you do not see this message, continue to step 6.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1716212 \" src=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/Gotogooglemapsplatform-e1701354854779.png\" alt=\"Click Go to Google Maps Platform\" width=\"544\" height=\"371\" srcset=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/Gotogooglemapsplatform-e1701354854779.png 544w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/Gotogooglemapsplatform-e1701354854779-300x205.png 300w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/Gotogooglemapsplatform-e1701354854779-240x164.png 240w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/Gotogooglemapsplatform-e1701354854779-382x261.png 382w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/Gotogooglemapsplatform-e1701354854779-397x271.png 397w\" sizes=\"auto, (max-width: 544px) 100vw, 544px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>10) Once your API key is active, you can copy it and use it on the Reviews Plugin.\u00a0<strong>We also recommend restricting the API key for security reasons, see below:<\/strong><\/p>\n<p>\u00a0<\/p>\n<h3>To restrict your Google Places API key to use with our Reviews plugin, follow the steps below.<\/h3>\n<p>We recommend restricting your Google API key to ensure it will only be used for its intended purpose. After restricting the API key, no other service except the Smash Balloon Reviews Feed will be able to use the API key.<\/p>\n<ol>\n<li>After creating your API key, go to <strong>Credentials <\/strong>and <strong>Edit<\/strong> the API key your created<strong>.<\/strong><\/li>\n<li>Under <em>Key restrictions &gt; Set an application restriction<\/em> select <strong>IP Addresses<\/strong> and add the following IP:<br \/><strong>67.207.85.116<\/strong><\/li>\n<li>Save settings.<\/li>\n<\/ol>\n<p>Your key can now be added to your website. If the key was already added to the plugin, it will continue working just the same with the additional safeguard.<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"432\" height=\"547\" src=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/screenshot-restriction-google-api.png\" alt=\"IP Restriction section for Reviews Feed\" class=\"wp-image-2213645\" srcset=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/screenshot-restriction-google-api.png 432w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/screenshot-restriction-google-api-237x300.png 237w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/screenshot-restriction-google-api-141x178.png 141w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/screenshot-restriction-google-api-368x466.png 368w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/screenshot-restriction-google-api-211x267.png 211w, https:\/\/smashballoon.com\/wp-content\/uploads\/2023\/01\/screenshot-restriction-google-api-214x271.png 214w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>To create a Google Places API key to use with our Reviews plugin, follow the steps below. 1) Go to Google&#8217;s Cloud Console Billing page, and set up a new billing account to your Places API key. Note: Please review the limits for the Places API usage and set a limit\/quota for the maximum number [&hellip;]<\/p>\n","protected":false},"author":13293,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"limit_modified_date":"","last_modified_date":"","om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"doc_categories":[530,1359],"class_list":["post-1385547","doc","type-doc","status-publish","format-standard","hentry","doc_categories-getting-started","doc_categories-reviews"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/docs\/1385547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/users\/13293"}],"replies":[{"embeddable":true,"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/comments?post=1385547"}],"version-history":[{"count":22,"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/docs\/1385547\/revisions"}],"predecessor-version":[{"id":2572909,"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/docs\/1385547\/revisions\/2572909"}],"wp:attachment":[{"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/media?parent=1385547"}],"wp:term":[{"taxonomy":"doc_categories","embeddable":true,"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/doc_categories?post=1385547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}