How to Use Google Indexing API For Beginners | Index 2,00,000 Pages in 5 Minutes
Aug 15, 2023
How to Use Google Indexing API For Beginners | Index 2,00,000 Pages in 5 Minutes
Watch Python Installation Process in Windows: • Hindi | Image Size Optimization | Adv… Download Code: https://amittiwari.net/wp-content/upl … Download Folder: https://amittiwari.net/wp-content/upl … Download Python: https://www.python.org/downloads/ Credit: Indexing.py code: https://gist.github.com/alucard001/fe … Google Indexing API: https://developers.google.com/search/ … How to Use Google Indexing API For Beginners | Index 2,00,000 Pages in 5 Minutes Art of fake SEO teaching: • The Art Of Fake SEO Teaching | Digita… Google My Business listing me social media links kaise jode: • Google Listing Me Social Media Links … SEO Last Month: • SEO Last Month September 2020 | Googl… 1 Mahine me Google Listing Ko Top Par Kaise Laye: • Google Listing Number 1 Par Kaise Lay… Google Analytics - • Google Analytics In Hindi | Complete … Marketing \u0026 Advertising Of Restaurants - • How To Get More Customers For Your Re… How to Use Google Indexing API For Beginners | Index 2,00,000 Pages in 5 Minutes -------------------------------- Contact Us -------------------------------- Call: +91 8282824232 [10 AM - 7 PM Indian Standard Time, Sunday Off] Website: www.amittiwari.net Facebook: www.facebook.com/teamamittiwari Twitter: www.twitter.com/teamamittiwari Instagram: www.instagram.com/teamamittiwari How to Use Google Indexing API For Beginners | Index 2,00,000 Pages in 5 Minutes #GoogleAPI #IndexingAPI
Content
0.06 -> S.E.O is a field where people with different background can work
6.077 -> and even do successfully
7.698 -> you don't need to be a good programmer to be good at SEO
11.825 -> but at the end of the day Google is a computer system
14.603 -> and most of it's advance and bulk functions can be accessed via programming
19.603 -> Google always launches many SEO API's
23.279 -> which is used by many big companies or agencies
27.141 -> and launches the tools
28.304 -> but what if a non programmer would wish to benefit from these SEO tools
33.066 -> well in today's video we will see a step by step process for a non programmer SEO
38.437 -> What is Google APIs
40.024 -> How can you set them up
42.061 -> and how can you use Google API and solve your indexing problem in bulk
48.251 -> hello everyone I am Amit Tiwari from amittiwari.net
50.287 -> and in today's video we are going to talk about setting up and using Google APIs
55.739 -> we will see the process of using indexing API and submitting URL's in bulk
66.586 -> if your refrigerator doesn't work during summer
71.692 -> what will you do to drink cold water
73.57 -> you can take ice cubes from the neighbour's fridge
76.179 -> right this is API
78.031 -> you don't have something but you need to use something
81.973 -> so you use other's thing
84.301 -> a person or a company made a software
87.555 -> but you have to use that software for only one work
91.02 -> so you say to the company, the company says you a fix way
94.724 -> that give information in this format, we will give you whatever the result is
100.518 -> clear this is the basic functioning of an API
103.185 -> Google had launched many APIs for many of it's functions
107.656 -> every APIs function is different and also the requirement
112.047 -> a particular API which is released for a specific function
115.169 -> it will do only that work, it can't do any other work
118.687 -> so in today's video we will hunt two things in one shot
121.439 -> we will see how to setup API's
124.746 -> how to set it up in our account
127.254 -> for example the API we will use is Google Search Console's Indexing API
132.598 -> by using this API you can say to Google
135.427 -> that we have this URL please index it
139.132 -> please do it
139.979 -> there are 3 steps to use API
142.175 -> but before starting I want to say one thing
144.953 -> I am not a developer or programmer
146.646 -> and even this video is not for programmers or developers
150.006 -> this method works, so I use it in projects
153.473 -> and if anyone of you here is a programmer or developer
156.092 -> if there is any error in my video, say it in comments so that we can share this info in the next video
163.42 -> so there are different methods to use Google API's
167.069 -> today we will use Python Programming Language to use Google indexing API
173.182 -> so there are three parts in this video
174.689 -> NO. 1
175.59 -> we will see how to install Python in your computer
180.368 -> NO. 2 setting up how to use Google indexing API
184.706 -> and NO. 3 actually using API
187.59 -> so first we will install python in our computer
190.849 -> I am using Mac for this video, but the process is almost same for Windows
195.902 -> and we had already shared this process in an older video
200.135 -> you can see it's link in the top right corner and also in the description below
204.341 -> to install Python you should go to python.org
207.595 -> after going there click on download python button
211.855 -> you can see it
213.363 -> if you can't see then you can go to download menu and click download
218.072 -> and can install it
219.95 -> once this setup file is downloaded, we will click on this
223.628 -> edit open and then we will start installing it
228.337 -> the process is same in both Windows and Mac
231.458 -> but a small step adds in Mac system
235.094 -> in Mac a version of python is by default installed
238.849 -> and the version we are installing now is 3. something
242.845 -> so in mac all the commands like for python or Pip
248.163 -> you have to add 3 to it
249.669 -> windows users can use python commands they might not add 3
255.253 -> so there is a configuration problem for mac users
258.533 -> well, let's complete this installation
260.957 -> after the installation is complete
263.576 -> you are ready to use python in your system
267.094 -> we will come to our second step to our Google account
270.957 -> to set up APIs
272.729 -> for this you have to go to Google Developer Console
275.957 -> you can simply search on google, like Google Developer Console, here is the link
280.137 -> console.developers.google.com
282.597 -> here you can go, one step which I will not show you is
286.714 -> to add billing account here
288.963 -> Google Indexing API is free
291.397 -> there are no charges for using this
294.201 -> but to use all the APIs of Google
297.455 -> you have to add a billing account
300.55 -> so that you don't need to give billing information again and again before using APIs
306.317 -> so when you go to console.developers.google.com
310.231 -> try to sign up your account, you will be asked about payment and billing method
315.637 -> but there are no charges of using this API this is absolutely free
318.891 -> so after setting up billing account, you have to make a project
322.435 -> for that we will click here on top and then we will click on New Project
327.595 -> here you will name your project
330.611 -> so that it is easy to remember, then we will click on create button
335.045 -> I am keeping the name as Search Console for this video
339.04 -> after the project is created, you can see a notification here
343.061 -> you have to click on select project
344.86 -> and this project will be selected, as you can see from the drop down here
348.934 -> after that we have to go to API and Services credential window
352.426 -> I had already come here, let me show you how to come here
357.267 -> you have to click on sidebar from the hamburger menu
360.01 -> and you have to click on credentials from API and Services
364.745 -> and you will come to this window
366.332 -> after coming here you have to click on create credentials option
371.147 -> you will follow all the option like this
374.666 -> and you can use the API like this, there is no extra step in this
379.586 -> there will be no problem, you just need to follow each step
383.211 -> so you will click on create credentials
385.767 -> and this window opens here
388.015 -> here again we will click on create service account
390.873 -> here first we will name the account
394.259 -> if you keep this name memorable it will be better like
397.672 -> when you have many accounts or projects
400.185 -> you can easily remember this or manage this
403.65 -> so it is very necessary to keep all these names memorable
406.402 -> you don't need to give much description here
409.338 -> I am adding here for my convenience
411.03 -> you can just give service account name, after that click on create and continue
416.894 -> here you have to select the role of this service account
420.254 -> to access the project, so as you click here
424.17 -> on select role text window
426.868 -> here the first option you can see as currently used
430.095 -> or you can search, you just need to select the role of the owner
434.143 -> click on this and done
435.677 -> after that click on this continue button
438.454 -> in third step you just need to click on done button
442.343 -> after that you can see an email here
444.618 -> this email is based on your project name and service account name
449.486 -> at last it will have gservicesaccount.com
453.534 -> you have to copy this and save it in a safe place
457.925 -> I will copy this and save it in a notepad
463.18 -> we have to create now, for that we will click on three dots here in the actions column
471.328 -> and will select manage keys
473.206 -> here we will click on add key and then create new key
477.757 -> here first option JSON is selected
479.82 -> we will keep it selected and will click on create button
483.1 -> a small file will be downloaded and a window will appear you can close it
487.482 -> the JSON file which is downloaded on your computer in this step
491.715 -> this is the authentication file which will verify your API access in the next step
498.408 -> now your authentication method and file is created
502.72 -> email ID is created, User ID and Password both are created
506.953 -> but the API is still not enabled
509.096 -> to enable API, go to your top left in the hamburger menu
514.7 -> then we will go to API and Services section and then click on library
519.779 -> here we will search indexing API
522.266 -> after searching Indexing API you can see two options
525.969 -> we will click on the first API, Indexing API
530.202 -> and then we will click on enable button
532.954 -> the Google Developer Console work is done here
536.525 -> this step is complete, now we should go to
538.772 -> Google Search Console
540.831 -> you have to go that website on Google Search Console
545.434 -> the URL of which you want to send for indexing via indexing API
550.805 -> so we will go to that particular website
553.212 -> for this video we are using GMV.com as an example
558.265 -> you have to go to setting options in the sidebar
562.44 -> click on users and permission
564.874 -> in users and permission window click on add user
569.345 -> and after that you have to paste the same email ID
573.578 -> which we had copied in the last step on notepad
576.594 -> I will again open that notepad, copy that email ID and past it here as it is
582.811 -> remember at the last of this email it will have gserviceaccount.com
587.744 -> that is it's identity
589.04 -> we will paste it here and select owner from permission drop down
594.093 -> and then we will click on add button
596.738 -> by this the user you created for the API
600.786 -> that is been added to your web property
604.49 -> the password file, JSON file is been downloaded in your system
607.797 -> which we will use in the next step.
609.932 -> now we have came to the important and actually the functioning task
616.162 -> the two steps till now was the preparation for the use of this API
620.236 -> now we will actually use API
622.114 -> on Mac you will search for terminal or if you are on windows search for CMD Command Prompt
629.307 -> and then we will open it
632.782 -> first we have to install some libraries here
636.431 -> so that we can actually use this indexing API
640.295 -> so first I will type this code here
644.422 -> you will get this code as it is in the description
648.258 -> there will be a link for text file, from where you can copy all these steps and code
653.099 -> so the first line, the file as you can see here, this file
658.354 -> you have to copy here and paste it here
661.396 -> Mac users Pip3 space install
665.47 -> then space oauth2client then space
669.253 -> we will type httplib2
671.846 -> windows users will use pip instead of pip3 in this entire line
676.264 -> rest of the line will be same
677.745 -> the two different versions of this code is given in the text file
682.532 -> you can copy that based on your Operating System and paste it here
687.061 -> if you press enter after pasting it
689.865 -> there will be some changes by which you will know your computer is alive
694.786 -> and after this process completes
697.749 -> then again we have to paste 2nd line from this text file
703.04 -> this line is pip3 space install space
707.639 -> pandas p a n d a s
710.285 -> for windows users it will be pip space install space pandas
716.052 -> press the enter button
717.454 -> and pandas library will start to download and install in your system
722.031 -> now we are in the third step where we will actually use indexing API with python script
727.877 -> but this is the easiest step
730.389 -> you don't need to do much in this step
733.216 -> inside this tutorial folder
737.555 -> we have added three files
739.328 -> the first file is API details.json
742.079 -> second file is data.csv
744.275 -> and third file is indexing.py
747.158 -> .json file is the same which we had downloaded from google developer console as a key password authentication method
755.622 -> we have just renamed the file here
758.497 -> second file is data.csv
760.429 -> this will contain all those URL's which you want to index
764.953 -> third file is indexing.py
766.804 -> it has all that python code, using which this code can be executed/run
771.937 -> you don't need to change anything is APIdetails.json
775.191 -> you don't need to make any changes in indexing.py
778.31 -> you just need to paste your URL's in data.csv
781.194 -> you will get the links to all these files in this video's description
785.101 -> you should paste there three folders at one place in your system
791.027 -> it's compulsory that these three files are in one folder so that they can use each other and run
796.345 -> now the JSON file you downloaded in your system
799.493 -> you will bring that in this folder
801.45 -> and the name APIdetail.json file as it is written here
806.318 -> exactly like that we will copy this file's name
809.683 -> after copying this file name we will paste it on our JSON file
814.471 -> and delete this file, basically you should name your file as APIdetails
819.789 -> and the old file APIdetail remove it from here
825.715 -> don't edit or change anything in this file it should be as it is
830.186 -> after that is indexing.py file, you should not change anything in this
833.387 -> let me open it once and show you hod does it look like
836.295 -> neither will I explain nor you should change it's better that you keep as it is
842.805 -> so we will open it I am opening it in brackets you can open in notepad
847.461 -> can open in notepad++ in windows
849.603 -> there is no notepad++ in Mac so unfortunately I am using brackets here
853.986 -> because I love notepad++ so I opened it and
858.774 -> here you can see the APIdetail.json file
863.563 -> the name is mentioned here
864.938 -> the data.csv file is mentioned here, both files
869.145 -> are mentioned by their name here
870.547 -> that's why we don't change the file name outside, the name should be same
875.335 -> we will close it we don't need it
876.975 -> now we will open data.csv file in excel
879.796 -> here there are two columns URL and Data
883.209 -> you will not change the first row URL and Data will be written as it is here
887.283 -> in the first column you will paste all those URL's here
892.547 -> which you want to index
894.796 -> how much ever you want, you can add up-to 1000 URL at a time in a single file
900.431 -> you will paste all URL's here
902.865 -> and will save this file as it is
906.008 -> after preparing all these three files
909.553 -> you have to run this script, index.py file
912.648 -> for this we will use terminal in Mac
915.901 -> or can use command prompt in windows
918.125 -> after opening the terminal we will come to this tutorial folder
923.442 -> the command in mac will be CD space
925.77 -> whatever your file path is, we will paste that path here
929.945 -> the process of changing folder path is a little different in windows
934.178 -> but similarly you will find it
935.711 -> after coming to the right folder you have to type
939.363 -> python3 space indexing.py
944.284 -> and press the enter button
946.189 -> always remember we are using python3 because we are in Mac
950.104 -> and there will be a default python version installed in it
953.014 -> if you are in windows just type
954.7 -> python space indexing.py
958.195 -> and press the enter button
960.814 -> after that you will see all the URL's you had entered
964.702 -> all that notification will go to Google one by one
968.431 -> with timestamps you can see the URL update here
974.544 -> all the URL's in data.csv file, all that information will go to Google
981.042 -> to prove this script is running properly I will again open data.csv file
987.841 -> and I will remove all the URL from here
990.433 -> I will remove all URL's and just keep one URL
993.37 -> this is the last URL shop/feed
996.86 -> I will keep this URL and save this file
1001.253 -> then we will come back to command prompt
1004.203 -> again I will run python3 space indexing.py
1009.441 -> if you are running from windows you will type python space indexing.py
1013.991 -> and this time you will see, only one URL in this terminal
1019.706 -> gmv.com/shop/feed
1023.171 -> we removed all the URL and just kept this URL
1026.505 -> so you can see indexing.py is using only the URL's in data.csv
1032.235 -> so in this way you can send the notification of indexing all URL's
1038.452 -> by using simple python script and Google indexing API
1042.394 -> now this was the way by which you can send your website URL for indexing in bulk
1047.5 -> but always remember you can send request from your side
1050.886 -> but will Google index these URL's or not
1053.32 -> this depends on your website and Google bot
1056.297 -> so focus on website's quality and other technical aspects
1062.672 -> in the coming video's we will discuss about other Google API methods
1067.567 -> but in all those videos the common steps of this video will not be repeated
1071.746 -> like how to install python or how to register API's
1077.752 -> all these processes will be same
1079.498 -> so it's important for you to see this video
1082.689 -> so do practice and wherever you face problem
1087.795 -> do say the problem in the comments
1090.414 -> and we will try our best to solve that problem
1092.107 -> thank you so much for watching this video my name is Amith Tiwari amittiwari.net
1095.281 -> and I will see you next time take care.
Source: https://www.youtube.com/watch?v=Wwo8YbUHlj8