Google Indexing API tests with normal URLs, which have NEITHER job posting NOR livestream structured data

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 job posting or livestream structured data.

Setup

URL_UPDATED

const urlUpdate = async (crawlurl,type) => {
const tokens = await jwtClient.authorize()
const options = {
url: 'https://indexing.googleapis.com/v3/urlNotifications:publish',
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
auth: { bearer: tokens.access_token },
json: {
url: crawlurl,
type: 'URL_UPDATED',
}
};
return await rp(options)
}

URL_DELETED

Indexation

Test 2: Set meta=noindex first and trigger API afterwards

Test Results:

Used Googlebots I have seen:

Used tool for log files:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store