Fast indexing of 200 pages via google api

BigPBN

Registered Member
Joined
Dec 1, 2021
Messages
57
Reaction score
83
Age
32
Hi.

Sorry for the bad English, a user wrote to me and asked how to index sites through the Google API.
Recently, Google indexes sites very slowly and I think this information can be useful.
With this tool, you can guaranteedly index 200 link in 1 minute.
(post consists of two parts)

STEP 1:
Setting up the Indexing API: creating a service account and JSON key Let's start by setting up access in the Indexing API console. Go to Google Cloud Platform and create a service account there.

1.png


Here you can enter the desired project name or leave the suggested one. We leave the location as it is, editing is optional.

2.png


We continue to create a service account: you should see the following window in front of you (you will have a different project name):

3.png


1. Next, enter another arbitrary name.
2. Assign the role of this account - Owner.

4.png


Next, create a new key and download it to your computer.

5.png
6.png


STEP 2:
The ready key is needed to run the scanning script (download the script from Github).
The script will be in the form of a folder, one of the files of which will be called service_account.

7.jpg


Next, you need to replace the content of the service_account file with the content of your downloaded JSON key. As a result, the service_account file in the script folder will look something like this:

8.jpg


The script is ready. Now it needs to be linked to Google Search Console.

STEP 3.
Linking the script to the Google Search Console To do this, assign the client_email from our JSON key as the full owner. This is how it looks in Google Search Console:

9.jpg



It remains only to enable the use of the Index API in our project. To do this, follow the link. Select a service account and enable the API.
10.png


Our script is now ready to use.


STEP 4

For work we need node.js, download here.
After installation, run PowerShell on your computer and enter the command "npm install requests"
WE are completely ready to work


Running the script:
How to start: In the script folder (which you downloaded from Github and added the JSON key), find the urls. Enter up to 100 addresses to be scanned there. In total, you can send 200 addresses per day, so create two packets of 100 each.
Call PowerShell. You enter the command "node index.js". Wait a few seconds and see the answer 200 OK.

11.jpg


DONE!!!
If you have any questions, ask.
 
Last edited:

tidelow

Jr. VIP
Jr. VIP
Joined
Jul 11, 2017
Messages
1,389
Reaction score
665
Awesome guide, I'll be implementing this shortly.
 

ishabri

Newbie
Joined
Sep 25, 2020
Messages
7
Reaction score
3
That trick can be used for all domain name in search console? Or I should create each for another domain?
 

parvenu

Newbie
Joined
Feb 13, 2021
Messages
3
Reaction score
0
"You can use the Indexing API to tell Google to update or remove pages from the Google index. The requests must specify the location of a web page. You can also get the status of notifications that you have sent to Google. Currently, the Indexing API can only be used to crawl pages with either https://developers.google.com/search/docs/advanced/structured-data/job-posting or https://developers.google.com/search/docs/advanced/structured-data/video#broadcast-event."

So Can i use this for regural ecommerce site?
 

BigPBN

Registered Member
Joined
Dec 1, 2021
Messages
57
Reaction score
83
Age
32
That trick can be used for all domain name in search console? Or I should create each for another domain?
For all sites in your console.
If you cheat, you can create multiple users and index more.
 

BigPBN

Registered Member
Joined
Dec 1, 2021
Messages
57
Reaction score
83
Age
32
"You can use the Indexing API to tell Google to update or remove pages from the Google index. The requests must specify the location of a web page. You can also get the status of notifications that you have sent to Google. Currently, the Indexing API can only be used to crawl pages with either JobPosting or BroadcastEvent embedded in a VideoObject."

So Can i use this for regural ecommerce site?
Absolutely any site that you own.
 

phpmate

Jr. VIP
Jr. VIP
Joined
Jan 19, 2012
Messages
108
Reaction score
39
Website
www.egenslab.com
If my pages deindexed some months ago. Will you method works?
 

Tom Chase

Regular Member
Joined
Apr 11, 2020
Messages
274
Reaction score
115
Thanks. Would like to know that the Instant Indexing for Google plugin By Rank Math does the same thing or not?

 

BigPBN

Registered Member
Joined
Dec 1, 2021
Messages
57
Reaction score
83
Age
32
If my pages deindexed some months ago. Will you method works?
If a standard request for indexing from the google console indexes your pages, then this method will work
 

zackh

Junior Member
Joined
Jun 30, 2020
Messages
163
Reaction score
94
really useful, will apply it later when got home. thank you very much.
 

Speed23

Senior Member
Joined
Jun 5, 2012
Messages
1,107
Reaction score
276
Can I use this to index links that are different from my domain? Like tier 2 links.
I'm asking since it's the plugin is available for WordPress. So, I'm thinking if this custom method is for indexing other kind of links.
 

getseoonline

Banned - Multiple Rules Violations
Joined
Jun 5, 2012
Messages
1,570
Reaction score
815
Please translate the language mate looks like Russian way to get the links indexed
 
Top