Implement Google Indexing API | Service account to access Google OAuth 2.0 | Python code example


To be able to use Google Indexing API Please follow steps :

1. Have a Gmail account and go to Google Cloud Console

- First you need to create new project

- Find Indexing API from API Library then enable it

- Go to Service Accounts and create one by select permission owner. After done you will get an email 

- Then click on KEYS to create key 

Key will automatic download to your computer please keep that Json key and email to use on next steps

2. Add user owner to Google Search Console

Please copy email from service account and add to your search console user as owner 

3. Python Code example
Install OAuth2 by command below and try the code.
pip install --upgrade oauth2client 

If you face any issues don't hesitate to comment.



Post a Comment

* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Post a Comment (0)

Random Posts