Skip to main content

Google API Setup & Integration Testing

Use our new Integration Testing Tool to verify everything is configured correctly.

RP Promap Help Series

Google API Setup & Integration Testing

Β© Rose Perl Technology


Overview

This guide walks you through setting up your Google Maps API for ProMap and using our new Integration Testing Tool to verify everything is configured correctly.


πŸš€ New: Integration Testing Tool

Inside ProMap β†’ Settings, you can now run a full diagnostic check of your Google API configuration.

What the Test Checks

The tool verifies the following services:

  • Billing

  • Geocoding API

  • Maps JavaScript API

  • Places API

  • Distance Matrix API

  • Geolocation API

  • Places API (New)

It uses your API key to confirm each service is:

  • Enabled

  • Properly configured

  • Returning valid responses


βœ… Successful Configuration Example

When everything is configured correctly, you will see:

β€œGoogle Maps integration is fully configured. All required services are enabled and working correctly.”

Each service will show:

  • Status: Passed

  • Description confirming functionality (e.g., map rendering, address conversion)


⚠️ If a Test Fails

If any service fails, you will see a message like:

β€œGoogle Maps integration is not fully configured. Your API key is valid, but some required services are not enabled.”

Example Failure

Places API – Failed
Required for address autocomplete and search functionality.


πŸ›  How to Fix Failed Tests

  1. Click the Enable API link shown next to the failed service

  2. Sign in to your Google Cloud account

  3. Enable the missing API

  4. Ensure billing is active on your project

  5. Return to ProMap and click Run Test again

Repeat until all checks show Passed.


πŸ’‘ Important Notes

Billing Requirement

Even if APIs are enabled, Google requires billing to be active for most services.

Multiple Places APIs

You may need BOTH:

  • Places API

  • Places API (New)

These are separate services and must both be enabled.

API Key Permissions

Ensure your API key:

  • Has access to all required services

  • Is not overly restricted (or restrictions match your domain/setup)


πŸ€– Automated Setup Option

Need help setting up your Google API?

πŸ‘‰ Use our automated setup tool: Rose Perl Dashboard

This tool helps you:

  • Generate a Google API key

  • Enable required services automatically

  • Configure billing correctly


πŸ” Running the Test

  1. Go to ProMap β†’ Settings

  2. Enter your Google API Key

  3. Click Run Test

The system will:

Run a check for Billing, Geocoding, Maps JavaScript, Places, Distance Matrix, Geolocation, and Places API (New) using the API key in this form.


πŸ“Έ Reference Example

Below is a real example of the Integration Testing Tool inside ProMap:

Example with Errors:

πŸ” What to Look For (Annotated Guide)

1. Green Success Banner
Confirms your Google Maps integration is fully configured.

2. Run Test Button
Use this anytime after making changes to revalidate your setup.

3. Integration Check Results Panel
Displays each API/service status individually.

4. Status Indicators

  • βœ… Passed = Working correctly

  • ⚠️ Failed = Requires action

5. Service-Level Feedback
Each item explains exactly what is working or what needs fixing (e.g., "Map rendering is working correctly" or "API not enabled").

6. Action Links (on failure)
If a service fails, a direct Enable API link will appearβ€”click it to fix the issue in Google Cloud.


🚨 Common Errors & Resolutions

1. API Not Enabled

Error: Service shows Failed (e.g., Places API not enabled)

Fix:

  • Click the provided Enable API link in the test results

  • Enable the API in Google Cloud Console

  • Re-run the test


2. Billing Not Enabled

Error: Billing check fails or APIs return errors despite being enabled

Fix:

  • Go to Google Cloud β†’ Billing

  • Attach a valid billing account to your project

  • Re-run the test


3. API Key Restrictions

Error: Requests fail even though APIs are enabled

Fix:

  • Check API key restrictions

  • Ensure:

    • Correct referrer (your domain) is added

    • Required APIs are allowed under API restrictions

  • For testing, you may temporarily remove restrictions


4. Invalid API Key

Error: Test fails across multiple services

Fix:

  • Verify the API key is copied correctly

  • Ensure it belongs to the correct Google Cloud project

  • Regenerate the key if needed


5. Wrong Project Configuration

Error: Some APIs pass, others fail unexpectedly

Fix:

  • Confirm all APIs are enabled in the same project

  • Ensure billing is attached to that project


6. Places API Confusion

Error: Autocomplete/search not working

Fix:

  • Enable BOTH:

    • Places API

    • Places API (New)


7. Quota / Usage Limits

Error: Intermittent failures or degraded performance

Fix:

  • Check quotas in Google Cloud Console

  • Increase limits or monitor usage


🎯 Summary

  • Use the testing tool to validate your setup instantly

  • Fix any failed services using the provided links

  • Ensure billing + all APIs are enabled

  • Re-run the test until everything passes

  • Refer to common errors above for quick troubleshooting


If you continue to experience issues, please contact Rose Perl Technology support.

Did this answer your question?