2

How do I submit a sitemap to Google Search console as a request? I think I'm missing the part where I include my credentials, but it's not clear how to include this in the URL.

Everything is set up in search console and I can submit my sitemap manually.

Following the documentation (https://developers.google.com/webmaster-tools/search-console-api-original/v3/sitemaps/submit) I write this in a browser:

https://www.googleapis.com/webmasters/v3/sites/<mysiteurl>/sitemaps/<mysitemapurl>

It says "Not Found". < mysitemapurl > by itself does get the sitemap.

If I use the try-it option in the documentation then it says "User does not have sufficient permission for site".

I went through the credentials wizard and was told that I have sufficient credentials. I have a @developer.gserviceaccount.com email address and two Key IDs. But where do I include them in the URL?

John Conde
  • 217,595
  • 99
  • 455
  • 496
user984003
  • 28,050
  • 64
  • 189
  • 285

2 Answers2

-1

After creating your new website or blog, the only thing that comes to our mind is how to bring your website or blog to Google search. So that traffic on our website can come and Make money. In fact, I too felt hard about how to bring my blog to Google search. But it is all easy to do. So in today's article I will show you how you can easily sumbit website sitemap to Google search console.

By inserting the sitemap of the website in Google search console, Google gets the data of our site. And accordingly Google shows our site in searches, which is very important for SEO.

What is Google search console? Google search console is a platform of Google itself. Which is absolutely free, which helps you to show your website's data in search engine or not.

Until May 20, 2015 the service was called Google Webmaster Tools. In January 2018, Google introduced a new version of the search console, with changes to the user interface.

What is sitemap? Sitemap is a file in XML format that contains the URL of all posts on your website. Along with this, the content of all your posts is also included in it, such as photos, videos, and audio etc.

How to submit sitemap in Google search console? To submit a sitemap to the Google search console, you must create your website or blog sitemap. To create a sitemap, you can go directly by clicking on this link.

After generating sitemap XML file...

Follow the 5 simple steps to submit sitemap to Google search console.

  1. Sign in to your Google search console.

  2. In the left sidebar, select a property.

  3. Click on sitemaps.

  4. Enter sitemap URL.

  5. And click on 'Submit'.

Conclusion!! So Guys, now your website's sitemap has been sumbited in Google search console. Google will fetch it after a few hours.

-2

You need to follow the below steps to submit your sitemap in Google Webmasters:

  • Navigate to "Crawl" under which you will see "Sitemaps"

  • Submit your sitemap URL which must be in .xml format. For example, if your sitemap is located here: www.xyz.com/sitemap.xml, just submit sitemap.xml there by clicking "Add Sitemap" at upper right corner.

And you're done.

Let me know if I can be of more help to you.

  • 1
    This is a manual process. I was hoping for a programmatic method. I tried that, but I get an authentication error. – user984003 May 01 '17 at 22:00