π₯³How to Get a Google JSON Key
Google Document Update 12/09/2024:
π https://developers.google.com/search/apis/indexing-api/v3/quickstart All submissions through the Indexing API undergo rigorous spam detection. Any attempts to abuse the Indexing API, including the use of multiple accounts or other means to exceed usage quotas, may result in access being revoked. Learn more about our spam policies.
To increase your URL indexing limit beyond 200 URLs/day and your URL inspection limit beyond 1000 URLs/day, consider creating separate Google Cloud projects for each of your service accounts. This strategy enables individual quota management for every project.
Getting a Google JSON key for the Web Search Indexing API & Google Search Console API involves several steps that enable API access and generate credentials for your application. Follow these instructions to acquire your JSON key.
Step 1: Create a Project in Google Cloud Console
Go to the Google Cloud Console (https://console.cloud.google.com/).
Click on the project dropdown next to the Google Cloud Platform logo in the top-left corner.
Click on "New Project", enter a project name, and click "Create".
Step 2: Enable the APIs
In the search bar at the top of the Google Cloud Console, type "Web Search Indexing API" and select it.
Click "Enable" to activate the Web Search Indexing API.
Repeat the process for the "Google Search Console API" by searching for it and enabling it.
To enable both the Web Search Indexing API and the Google Search Console API simultaneously, use the following URL:
Step 3: Create Credentials
Search for "IAM & Admin" on the top bar.
Click "Create credentials" and select "Service account".
Enter a name and description for the service account and click "Create".
Click "Done" to complete the service account creation.
Step 4: Generate JSON Key
In the "Credentials" area, find your new service account and click on it.
Go to the "Keys" tab.
Click "Add Key" and choose "JSON".
A JSON key file will be generated and downloaded automatically.
Store this JSON key file securely, as it provides authentication access to the Web Search Indexing API & Google Search Console API.
Step 5: Add JSON Key to Chrome Extension
Open the "GSCTool" Chrome extension's settings (make sure the extension is already installed; if not, proceed to install the Chrome extension).
Add Service Account JSON Key
Here, you can either:
For a Single Service Account:
Click on "Upload JSON Key" and select the JSON key file that was downloaded earlier.
For Multiple Service Accounts:
Click on "Manage Google Service Accounts".
Here, you can add additional service accounts by uploading their respective JSON key files. This allows for easy switching between different accounts.
Step 6: Granting Access to Your Site in Google Search Console
After adding your Service Account via the "GSCTool" Chrome extension, you need to ensure it has the necessary permissions to access and manage your site in Google Search Console.
Go to Google Search Console (https://search.google.com/search-console) and sign in with your Google account that has ownership of the website.
Select the property (website) you wish to manage.
In the left sidebar, click on Settings > Users and permissions.
Click on the "Add User" button at the top right.
In the dialog that appears, enter the email address associated with the Service Account you've added in the GSCTool.
Select the permission level for this user. It's recommended to choose Owner.
Click on "Add".
Now, you can click on the "Refresh" button to load sites in the extension.
By following these steps, you have successfully granted the Service Account access to your site in Google Search Console.
FAQs
Q: Is my data secure with the GSCTool Chrome extension?
A: Yes, your data is secure. All data is stored locally on your machine. We do not store any sensitive data or credentials.
Q: How do I grant a Service Account access to my site in Google Search Console?
A: You can grant a Service Account access by following these steps:
Visit Google Search Console and sign in with your Google account.
Select the property (website) you are managing.
Navigate to Settings > Users and permissions.
Click on "Add User," enter the email associated with the Service Account, choose "Owner" for permission, and then click "Add."
You should now see the Service Account as a user with the specified permissions.
Q: What permission level should I assign to a Service Account?
A: It's recommended to assign the "Owner" permission level to a Service Account for comprehensive access and management capabilities.
Q: How do I verify that the Service Account has been successfully added?
A: After adding the Service Account, you can verify it by clicking the "Refresh" button to view updated users and permissions. The Service Account should appear in the list with the designated permissions.
Last updated