|
/ Documentation /Miscellaneous/ Using the Google Indexing API with SureRank

Using the Google Indexing API with SureRank

SureRank can notify Google when eligible pages are updated or removed using the Indexing API. Google restricts this API to pages with JobPosting or BroadcastEvent embedded in VideoObject structured data. A notification does not guarantee crawling or indexing. For removals, the URL must return 404 or 410, or contain a noindex meta tag. Complete the setup steps below.

Step 1: Create a Google Cloud Project

To use the Google Indexing API, you must first create a Google Cloud project and enable the API. Open Google Cloud Console.

Open the Project Selector

In the top left corner of the console, click on the project dropdown. It may show an existing project name or say “Select a project”.

Create a New Project

  • Click on “New Project”.
  • Enter a name for your project. The Project ID will be generated automatically. If applicable, select an organization. Otherwise, leave it as the default.
  • Then click on Create

Enabling the Indexing API Using Direct Link

 After creating the Google Cloud project, visit this link.

From the project list, select the Google Cloud project you created earlier.

After selecting the project, you will be redirected to the Indexing API enablement screen. Google will ask you to confirm whether you want to enable the API for the selected project.

 Click on Enable to activate the Indexing API for the project.

Step 2: Create a Service Account

Next, create a service account in your Google Cloud project and download the JSON key file.

To create a service account, visit: https://console.cloud.google.com/

Once logged in, select the project you recently created. Click on the menu icon

Navigate to IAM & Admin, then select Service Accounts.

Next, you will be redirected to the Service Accounts page. Click on Create Service Account.

Enter a service account name that suits your project or business requirements. A Service Account ID and email address will be generated automatically. Make sure to save this email address for future reference.

After saving the email address, click Done. This will create the service account.

Once the service account is created, you will be redirected to the Service Accounts page, where the newly created account will be listed.

Click on the three dots next to the service account and select Manage keys.

Inside the Manage keys section, click on Add key and then select Create new key.

Select JSON as the key type and click Create.

Once you click Create, the JSON key file downloads to your device. Treat it like a password: restrict access, never publish or share it, and rotate or revoke it if exposed.

Step 3: Add the Service Account to Google Search Console

After downloading the JSON key, you need to grant the service account access to Google Search Console.

Open Google Search Console for your website.

Go to Settings and then navigate to Users and permissions.

Click on Add User.

Enter the service account email address that you saved earlier and assign Owner permission.

Once added, the service account will appear in the users list with Owner access.

Step 4: Configure Google Indexing in SureRank

After completing the setup in Google Cloud and Google Search Console, you can configure Google Indexing in your WordPress dashboard.

Open the WordPress dashboard and navigate to SureRank.

Go to the Advanced section and click on Google Indexing Settings.

Enable Automatic Google Indexing if you want SureRank to automatically notify Google about page updates.

Open the Service Account JSON key file that was downloaded earlier. Copy the entire JSON content and paste it into the Service Account JSON Key field.

Make sure there are no extra spaces at the beginning or end of the pasted content.

Click on Save and Test Connection.

If everything is configured correctly, the connection status will be shown as successful.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top