Fetch Google Maps information with the Google Places service

Fetch Google Maps information with the Google Places service in Productsup.

Note

You will need an external API Key to use this service.

Make sure you have set a product identifier to use this service.

If you have the name of a business as well as the city and country it is in, you can fetch information about this business from Google Maps, such as an address, phone number, rating, and so on.

For example, if you have the following information in your feed:

Name: productsup
City: berlin
Country: DE

Then you can use the Google Places service to return:

Address: Alex-Wedding-Straße 5, 10178 Berlin, Germany
Phone Number: +49 30 60985355
Rating: 5.0
Website: http://www.productsup.io
Geolocation: longitude 13.414928 latitude 52.525008

Add the Google Places service

In order to add the Google Places service, you should:

  1. Navigate to your site

  2. Navigate to Data Services on the left-hand tab

  3. Click add service

  4. Add the Google Places service

  5. Give the service a name (if desired)

  6. Define a custom column prefix (if desired)

  7. Select whether to use the service on the import or intermediate level

    • the level refers to where your search information is found

      • if this is in your import file, you can select import

      • if this is first available after optimization in Productsup, select intermediate

  8. Click add

  9. Add in your Google Places API Key

  10. Select the column including your address under the address column

  11. Select use cache to only use the service on products that have changed name, city, or country values

  12. Select only trigger during scheduling if you want to not trigger the service during a refresh of the Data View

  13. Click save

Once you have set this up, you will see new columns based on your prefix:

  • ___google_places_formatted_address

  • ___google_places_formatted_phone_number

  • ___google_places_google_name

  • ___google_places_rating

  • ___google_places_website

  • ___google_places_types

  • ___google_places_place_id

  • ___google_places_google_id

  • ___google_places_international_phone_number

  • ___google_places_lat

  • ___google_places_lng

  • ___google_places_url

google_places.png

Edit an existing Google Places service

In order to edit settings for your Google Places service, you should:

  1. Navigate to your site

  2. Navigate to Data Services on the left-hand tab

  3. Click on the settings wheel

Delete an existing Google Places service

In order to delete your Google Places service, you should:

  1. Navigate to your site

  2. Navigate to Data Services on the left-hand tab

  3. Click on the settings wheel

  4. Scroll to the bottom of the page and click remove this service