CSV Importer Plus Pro imports ACF/SCF Google Maps fields. First, make sure to register your Google API key on your website.
As of March 1, 2025, Google has deprecated the Places API used by the ACF Google Maps field. Existing sites using the Google Maps field should not be affected, but new sites must enable the Legacy Places API.
Reference article:
https://www.advancedcustomfields.com/resources/google-map/
To register your Google API key, copy the following function into your theme’s functions.php file and replace the placeholder with your actual Google API key:
function my_acf_init() {
acf_update_setting('google_api_key', 'Add your Google API key here');
}
add_action('acf/init', 'my_acf_init');
Save the functions.php file after adding the code.
Your CSV must follow the format below, because ACF Google Map fields expect:
Address|Latitude|Longitude
Example:
123 Main St, Springfield, USA|37.7749|-122.4194
Explanation:
123 Main St, Springfield, USA→ Address37.7749→ Latitude-122.4194→ Longitude
Note: For more help, please watch the video tutorial.
