Questions tagged [google-indexing-api]

Use the Indexing API to ask Google to crawl and index your URLs. Currently, the Indexing API can only be used to crawl job posting pages with job posting structured data.

The Indexing API allows you to submit a limited number of URLs to Google to be crawled. Currently, the Indexing API can only be used to crawl job posting pages with job posting structured data.

Documentation

45 questions
8
votes
5 answers

Google Indexing API - 403 'Forbidden Response'

I am making a call to the google indexing API for job postings: private $client; private $httpClient; public function initClient($kernel) { $this->client = new \Google_Client(); $this->client->setAuthConfig(JSON_KEY_HERE); …
6
votes
2 answers

Indexing API 403 Permission denied. Failed to verify the URL ownership

I want to execute the code from the example: require_once 'google-api-php-client/vendor/autoload.php'; $client = new Google_Client(); // service_account_file.json is the private key that you created for your service account. …
WP Punk
  • 1,344
  • 9
  • 25
5
votes
2 answers

Getting a 403 error when using Google Indexing API

I am trying to send a POST request via the Google Indexing API, but keeps getting HTTP erro 403 (Forbidden). My code is below: require_once '../google-api-php-client-2.2.2/vendor/autoload.php'; $client = new…
Kobus Myburgh
  • 1,114
  • 1
  • 17
  • 46
5
votes
2 answers

How to send multipart/mixed request for google indexing batch request in NodeJs?

I am using Nodejs to connect with GoogleApis v35.0.0 to tell Google to update or remove pages from the Google index. And I stuck in the multipart/mixed request, the body of multipart when I send the request through Google indexing batch request. I…
3
votes
1 answer

How to get OAuth AccessToken (google) for posting a job to Google Hire in C#?

I'm trying to post a job at Google Hire. Prerequsites are done as metioned here . I got the service account credentials in a json file. I tried to get Access Token using : var jsonFilePath =…
2
votes
3 answers

403 error in Google Indexing API (after trying all solutions from other SO questions)

I'm trying to use the Google Indexing API using the PHP client library. This is my code: $client = new Google_Client(); //use the private key that we created for our service account. …
sveti petar
  • 3,637
  • 13
  • 67
  • 144
2
votes
1 answer

Not able to authenticate a service account with Google API PHP Client

I am new to this so I took cue from various official documentations to create a service account etc and use PHP client for Google API to make HTTP requests by using the credentials JSON for that service account. But I am not sure what's going wrong,…
2
votes
2 answers

Google Indexing API - Permission denied. Failed to verify the URL ownership

I am in exactly the sme situation as described in this question. The solution found by that asker was Full access !== Owner. I need to read the documentation better. Yes. I noticed that I can only give full access to the service account. I read…
Hagen von Eitzen
  • 2,109
  • 21
  • 25
2
votes
1 answer

Google Indexing API with Postman

I want to use Postman to send request to Google Indexing API. After Request headers were successfully updated with authorization data for preview. In Postman : I'm following Google Indexing API document :…
Rua Tahi
  • 238
  • 5
  • 15
1
vote
0 answers

Google Indexing API in Opencart

I wanted to integrate Google Indexing API on my E-Commerce Site for Better indexing. It's my first experience working on Opencart. I have worked on WordPress before. In WordPress, we can add the Service account JSON key in the Rank math plugin and…
1
vote
0 answers

403 Forbidden error in Google Index API Using php

I am trying to integrate google index API with my website in order to index my side but i am getting 401 error. I searched and got this solution for my problem. Google Indexing API - 403 'Forbidden Response' But this is also not working in my case…
1
vote
1 answer

google indexing api is not working, how to make it work?

from oauth2client.service_account import ServiceAccountCredentials import httplib2 import json # https://developers.google.com/search/apis/indexing-api/v3/prereqs#header_2 JSON_KEY_FILE = "key.json" SCOPES =…
1
vote
1 answer

Google indexing API wrong json file

Hi I am trying to use Google indexing API. I used this tutorial - https://developers.google.com/search/apis/indexing-api/v3/prereqs I used this php library - different branch - v1-master because I dont use composer so I had to use…
marhyno
  • 677
  • 1
  • 8
  • 20
1
vote
2 answers

Sitecore + Mvc Application. Proper redirection without losing Google indexing. sitecoredomain.com/mvcapp

I have big dilemma and I need help. Basically we have sitecore web app this is our main web service. Currently my app is working with the main app via .html static pages(it works as SPA, JS calls backend with needed html content). But database I…
1
vote
0 answers

Index URLs using Google Indexing API

I´m using this guide to create a Python program to index URLs from my web pages. I have tested the Python example which the guide provides from oauth2client.service_account import ServiceAccountCredentials import httplib2 SCOPES = […
1
2 3