Verifying the Google API Key
When opening Google Shopping ads, Magento automatically checks and validates the Google API key you have added in your store configuration. If validated, we send you to the first step of onboarding: Step 1: Linking Magento and Google.
If the key is missing, invalid, or expired, you will need to update the Google API key The following instructions help you update your key and continue onboarding.
To add the Google API Key:
On the Admin sidebar, click Marketing. Then under Advertising Channels, click Google Shopping ads.
If your API key is invalid, the following screen displays to walk through the process.
Onboarding API Key Verification
Click Sign in to log into your Magento web account. A new tab opens with Magento Accounts with the Api Portal tab open displaying the key.
You may need to login with your Magento web account credentials. If you need to create an account, visit here and register. This account should be part of your company or business.
To create a new key, delete any existing Google Shopping ads API key. Then enter a description like “Google Shopping ads” and click Add New.
Create an API Key
Click Copy for the key.
Copy the API Key
Return to the Magento Admin tab and click Add the key on the Google welcome screen.
A store configuration page opens to Stores > Configuration > Services > Channel.
In the Google Shopping ads section, paste the key you copied for API key.
Click Save Config.
Add the API Key
On the Admin sidebar, click Marketing. Then under Advertising Channels, click Google Shopping ads. Magento verifies and validates the entered API key, continuing with onboarding.
You can also enable service logs during this step. This option is disabled by default and should only be enabled when needed for troubleshooting, as continued logging will negatively impact performance.