# Auto-Indexing Tool

{% hint style="danger" %}
This tool has been **deprecated**. Please use the **new version** integrated into the [Indexing Dashboard (Google Search Console integration)](/guide/google-search-console/indexing-dashboard.md).
{% endhint %}

### Set up the Web Search Indexing API and Google Service Accounts.

#### Step 1: Enable the Web Search Indexing API

Visit the Google Cloud Console at <https://console.cloud.google.com/> and create a Project.

<figure><img src="/files/CFvZcgzmvv00vlEcEnth" alt=""><figcaption><p>Create a project on Google Cloud Console</p></figcaption></figure>

In the top search bar, type "API" and select "Enabled APIs & services".

<figure><img src="/files/xh8InjZ9SvWuIoVCdufp" alt=""><figcaption><p>Select "Enabled APIs &#x26; services"</p></figcaption></figure>

Click "Library" on the left sidebar.

<figure><img src="/files/sVaGGHSNYZ4sUS5r4dku" alt="" width="346"><figcaption><p>Select "Library"</p></figcaption></figure>

Search for "**Web Search Indexing API**" in the top search bar and enable it, so you can access it with your Google Service Account

<figure><img src="/files/cToRd68kKKnvdY0RvMwj" alt="" width="563"><figcaption><p>Enable the Web Search Indexing API</p></figcaption></figure>

#### Step 2: Create a Google Service Account

In your [Google Cloud Console](https://console.cloud.google.com/) dashboard, search for "**Service Accounts**" and click on it.

<figure><img src="/files/Tr2CV1nTZyn8P1xWfuFo" alt=""><figcaption><p>Click on "Service Accounts"</p></figcaption></figure>

Hit the "Create Service Account" button, and enter a service account name. Then, hit the "Done" button.

<figure><img src="/files/qPRfSYz6SniFK5lXBvXc" alt=""><figcaption><p>Enter service account name</p></figcaption></figure>

Copy the email of the service account.

<figure><img src="/files/hFETkWV50Sq1DMvDrcri" alt=""><figcaption><p>Copy the email</p></figcaption></figure>

Click on the Service Account's email, select the "**KEYS**" tab, then click the "**Create new key**" button.

<figure><img src="/files/u28UGi6QrC1hwLUCLvdd" alt=""><figcaption><p>Create a key for your service account</p></figcaption></figure>

A model will pop up. Select "JSON" and click the "Create" button.

<figure><img src="/files/5xBREJGhbjELctiiQeSh" alt=""><figcaption><p>Select JSON in Key type field.</p></figcaption></figure>

After creating the key, Google will download it to your machine. Keep that file. We will need it in Step 3.

#### Step 3: Add the Google Search Console to SEO Utils

Access the **Google Service Accounts** menu from the App dropdown at the top-right corner.

<figure><img src="/files/BiYHLbih9jz9PEyvzep1" alt="" width="563"><figcaption><p>Access the Google Service Accounts menu</p></figcaption></figure>

Then, click the **Add Account** button, and select the JSON file that you downloaded in Step 2 to add a new account.

{% hint style="warning" %}
**Google Indexing API Rate Limit**

Google only allows you to submit 200 URLs per day via the Indexing API. There are 2 ways to bypass this.

1. [Request more quota](https://developers.google.com/search/apis/indexing-api/v3/quota-pricing).
2. Create multiple projects and Google Service Accounts by repeating Step 1 to Step 3. Please note that you have to create a new project and then create a new Google Service Account in that new project because Google limits the API usage per project, not per Google Service Account.
   {% endhint %}

After creating an account, please copy the Google Service Account email address.

<figure><img src="/files/hYDNzOy3Mtrtm31pejXU" alt=""><figcaption><p>Copy the Google Service Account email address</p></figcaption></figure>

Visit your Google Search Console, select the site that you want to submit for indexing. Click on **Settings** > **Users and Permissions**.

<figure><img src="/files/4O2nLh9lUyOX7UK5NLzj" alt=""><figcaption></figcaption></figure>

Click the "**Add User**" button, then paste the Google Service Account that you copied previously. Select "Owner" permission for the new user.

<figure><img src="/files/NRAbc6Sk0Br8w7hFcvWX" alt=""><figcaption><p>Add a new user</p></figcaption></figure>

{% hint style="info" %}
If you have multiple Google Service Accounts, you will need to add multiple users.
{% endhint %}

### Connect your Google Search Console Sites & Sitemaps

If you haven't connected a site on your Google Search Console, please follow [this guide](/guide/google-search-console.md) to do that.

After connecting a site, SEO Utils will pull all the sitemaps that you entered on your Google Search Console.

If you haven't added a sitemap to your Google Search Console account, you can add sitemaps manually on SEO Utils

<figure><img src="/files/zB3WteWQJ1L2w9a9Xehi" alt=""><figcaption><p>Add a sitemap manually.</p></figcaption></figure>

{% hint style="info" %}
You can add as many sitemaps as you want.
{% endhint %}

After adding sitemaps, you can fetch all URLs from them by clicking the "**Fetch URLs From All Sitemaps**" action. SEO Utils will pull all URLs from all sitemaps and check the index of every single URL.

<figure><img src="/files/acIj4CIhhy1fDw1Mcgv1" alt=""><figcaption><p>Fetch URLs From All Sitemaps</p></figcaption></figure>

### Checking Index

You can trigger a process to bulk-check the index for all URLs on your site by clicking the **Check Index** action.

<figure><img src="/files/LoWiyh3tEn0x6qqDFwON" alt=""><figcaption><p>Bulk-check index</p></figcaption></figure>

You can also check index for a single URL by clicking the vertical dots icon.

<figure><img src="/files/xqeZtiiboITFPkNRuZ7y" alt="" width="375"><figcaption><p>Check index for a URL</p></figcaption></figure>

#### Two Checking Index Methods

**#1. Using Google Search Console API (default)**

Since March 4, 2024, SEO Utils has supported checking index by using [Search Console URL Inspection API](https://developers.google.com/search/blog/2022/01/url-inspection-api). This method has some pros when compared to method #2 which uses the "site:url" operator.

* Do not require proxies, so no extra cost.
* Faster, can check 10 URLs per second.
* Easy to set up, just need to enable the Google Search Console API.

However, there are some [quota limits](https://developers.google.com/webmaster-tools/limits#url-inspection). The quota is enforced per Search Console [website property](https://support.google.com/webmasters/answer/34592) (calls querying the same site):

* 2,000 queries per day
* 600 queries per minute

So if you reach the limit, you might want to switch to the #2 method.

Moreover, the Google Search Console API method also gives you [some extra information](https://developers.google.com/webmaster-tools/v1/urlInspection.index/UrlInspectionResult) that the second method doesn't provide like

* Indexing State
* Coverage State
* Crawled Date

You can hover on the blue "info" icon to see that information.

<figure><img src="/files/8dETeF9IufpeL42T1YRb" alt="" width="563"><figcaption><p>Extra information that the first method gives you.</p></figcaption></figure>

{% hint style="info" %}
There is a filter for the Indexing State, so you can tell why the URL is not allowed to be indexed.

<img src="/files/ynZc2XnzhQ3fsCMVlsYB" alt="" data-size="original">
{% endhint %}

**#2. Using the "site:url" Operator**

When using this method, SEO Utils will search Google using the "site:url" operator to see if the URL is on the SERP.

This method doesn't have a quota limit but you want to consider [using Proxies](/guide/how-to-use-proxies.md) to prevent Google from blocking your IP when checking thousands of URLs.

#### Switching Method

You can click on the "cog icon" button to switch the method. The method is saved on the site scope, which means you can use method #1 for site A and method #2 for site B.

<figure><img src="/files/0vLA45OaLCkpzTcDvAXt" alt=""><figcaption><p>Switching checking index method.</p></figcaption></figure>

<figure><img src="/files/6O02fc39PPvCNieX8XNX" alt="" width="563"><figcaption><p>Click the "Update" button to save the settings.</p></figcaption></figure>

### Submitting Index

Just like the "Check Index" action, you can submit either multiple URLs or just one URL for indexing.

When you bulk-submit URLs, SEO Utils will submit all URLs regardless of their indexed or submitted status.

### Auto Index Feature

SEO Utils provides an auto-pilot mode so you don't need to pull URLs from sitemaps, check & submit index manually.

To enable the Auto Index feature of a site, please ensure that you toggle the **Auto Index** field on.

<figure><img src="/files/Nnps825hOFyu8WHf5muW" alt=""><figcaption><p>Enable Auto Index for sites</p></figcaption></figure>

You can also enable the Auto Index feature for specific sitemaps by visiting the Sitemaps list page.

<figure><img src="/files/blEbzLsjQVcWrTlVnx0b" alt=""><figcaption><p>Enable Auto Index for all URLs of a specific sitemap</p></figcaption></figure>

You can tell if a URL is enabled for auto-indexing if the URL is yellow like this.

<figure><img src="/files/a4V4BGxxXDkkJj9qYDZ7" alt=""><figcaption><p>URLs are disabled for auto-indexing</p></figcaption></figure>

{% hint style="info" %}
When URLs are disabled for auto-indexing, SEO Utils won't automatically check and submit them for indexing. However, you still can manually do that by using "**Check Index**" & "**Submit Index**" actions.
{% endhint %}

{% hint style="info" %}
To use the Auto Index feature, you need to keep SEO Utils running on your machine or use a VPS, so you don't need to keep your computer on constantly.
{% endhint %}

#### Auto Pull URLs From Sitemaps

SEO Utils will pull URLs from all sitemaps daily at **5:00 AM (your local time)** to get new URLs and check if the existing URLs have content updated by using the Last Mod field.

<figure><img src="/files/azVKY3i6v4YCZBbNItF4" alt=""><figcaption><p>Using Last Mod field to detect if the content of a URL is updated.</p></figcaption></figure>

{% hint style="success" %}
If a URL has updated content, SEO Utils will resubmit it for indexing, regardless of the submission status.
{% endhint %}

#### Auto Check Index

SEO Utils will check index of all sites that enable the Auto Index feature at **6:00 AM (your local time).**

**Note:** It will skip the URLs that belong to a sitemap with the Auto-Index setting turned off.

{% hint style="info" %}
Please consider [using Proxies](/guide/how-to-use-proxies.md) if you have many URLs to check index.
{% endhint %}

#### Auto Submit Index

SEO Utils will submit for indexing all sites that enable the Auto Index feature **every 10 minutes**.

**Note:**

* It will skip the URLs that belong to a sitemap with the Auto-Index setting turned off.
* The auto-pilot mode only submits URLs that have already been checked for indexing. You don't have a setting to ignore this behavior like when running the "**Submit Index**" action manually.

### Override the Auto-Mode Behavior

This is the default behavior of the Auto-mode

* **Checking index**: If a URL is already **indexed**, it won't re-check index for that URL in the subsequent runs.
* **Submitting index**: If a URL is already **submitted** or **indexed**, it won't re-submit that URL in the subsequent runs.

If you would like to override those behaviors, please open the Site setting modal.

<figure><img src="/files/hbEKi7BMRvJiO8zIN8Qi" alt=""><figcaption><p>Open the setting modal.</p></figcaption></figure>

You will see 2 fields:

* **Auto Recheck Index After** field: You can specify the number of days to recheck the index even if the URL is already indexed.
* **Auto Resubmit Index After** field: You can specify the number of days to resubmit URLs even if URLs are already submitted but not indexed.

<figure><img src="/files/KEKwCUJDQqckNI2lsvMM" alt=""><figcaption><p>Override the Auto-mode behavior</p></figcaption></figure>

{% hint style="info" %}
Those two fields will only be shown if you **turn on the Auto mode** for the site.
{% endhint %}

### Quick Tips

You can view all the logs of check and submit for indexing of each URL by clicking the log bar at the bottom.

<figure><img src="/files/CLG4EZFHrB9eiaqOJf7T" alt=""><figcaption><p>View logs</p></figcaption></figure>

You can quickly switch between pages on a site by using the dropdown menu in the header section.

<figure><img src="/files/V2MZj11GqlvGajVBfqoV" alt=""><figcaption><p>Quickly move to a page</p></figcaption></figure>

### Updates on March 22, 2024

You can now set which Google service accounts you want to use on specific sites.

For example, if you set up a Google Search Account can be used on site A. SEO Utils will only use that account to check & submit index for that site only.

<figure><img src="/files/KVKv7A9dNkoHgyFZ2Lbj" alt=""><figcaption><p>Set site scopes for each Google Service Account</p></figcaption></figure>

<figure><img src="/files/JlYD9Pxb60yvVxsaQbDf" alt=""><figcaption><p>Select a site where you want to use the Google Service Account.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.seoutils.app/guide/auto-indexing-tool.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
