Google Indexing API
Activate the Google Indexing API from Google Cloud Console
Last updated
Was this helpful?
Activate the Google Indexing API from Google Cloud Console
Last updated
Was this helpful?
Sign in to Google Cloud Console
Create a project in Google Cloud Console (if you don't already have one)
In the main navigation menu, click APIs & Services, Library
Search for Indexing API and enable it
Click Credentials → Click Create credentials → Select Service account option
Give it a name and description
Click Create and continue
Choose Owner from the dropdown list → click Continue → Click Done on last step
From the Service accounts table, click on the newly service account to edit it
Click on Keys tab → Click Add key → Click Create new key
Select JSON as key type and click Create. JSON file will be auto downloaded to your device.
Now you need to add your service account as a site owner to Google Search Console. Go to Google Search Console → Login with your website
From the left navigation panel, click on Settings. In Property settings, click Users and permissions → Click Add user button
Enter the email address provided by the Service account you just created.
Make sure to select Owner from the Permission field to prevent 403 error when submitting the URLs for indexing.
This email can be retrieved from Google Cloud Console, IAM & Admin, Service Accounts, your service account, Details tab. You can get email by opening your downloaded JSON file and select client_email line
.