Questions tagged [google-api-webmasters]

The Google Webmaster Tools API allows developers to submit, read, and update data in Google Webmaster Tools for verified websites.

The Google Webmaster Tools API allows developers to submit, read, and update data in Google Webmaster Tools for verified websites.

Here are some of the things you can do with the Google Webmaster Tools API:

  • Request a list of all your verified sites.
  • Manage your site's sitemaps.
  • Request information about your site's crawl-errors.

Resources

48 questions
0
votes
1 answer

Authorize in google search console

I want to get sites of google searh console. I am suing the code: from google.oauth2.credentials import Credentials from googleapiclient import discovery class GoogleSearchConsoleApiClient(): SCOPES =…
Avenger
  • 793
  • 11
  • 31
0
votes
0 answers

why the webmaster does not read our sitemaps?

There is an issue in the sitemap section which is not fixed contrary to our attempt. the webmaster does not read our sitemaps, in spite the fact that are sitemaps are completely fine and they work properly. We tested our sitemaps in the other…
0
votes
1 answer

Modify Google Webmaster Robots.txt Code to disallow urls

I am getting some hreflang and redirect errors on ahrefs.com because of utm campaigns and popup links that have anchors set up as "#" or "#!". I want to add some code on my robots.txt file in order to prevent google from crawling these urls so that…
0
votes
0 answers

Google API for Ruby: Getting "rate-limited" without exceeding limit?

I am using Google API library for Ruby to read data. The access is restricted to the IP addresses I use. The API is restricted to two endpoints. The rate usage in the console says I am at 8% of the quota limit. However, since last week (when I did…
0
votes
1 answer

How to use auth token in Google API (Ruby) WebmastersV3 (service account access)

I cannot connect the two pieces together: I am able to authenticate my service account and I know how to form the request for the information I need to retrieve from the API, but I cannot figure out how to make that request authenticated with the…
0
votes
1 answer

How to get query details FROM Webmaster tools API in PHP

the new api webmasters tools is not mentioned how to get the details of queries in php. Here is my code to get the queries, but I dont know how to get for each query the details :
0
votes
1 answer

Google Analytics Webmaster API getting insufficientPermissions error code :403

I have created service account and below is my code: $client = new Google_Client(); $client->setApplicationName("Console_Client"); $client->setAuthConfigFile('xxaax.json'); $scopes = [ …
Gaurav Bakshi
  • 430
  • 1
  • 6
  • 13
0
votes
0 answers

MySQL query for difference in data between two months

I have a table named sconsole for google searchconsole api query data with the fields specified in the code, I need to find the new keywords (r.query field) appeared each month. I tried using this but it returns zero results. At the moment all the…
Arun Panneerselvam
  • 2,263
  • 1
  • 17
  • 24
0
votes
1 answer

How get period index status google api?

debug($sitemaps->listSitemaps("http://example.com", ['contents'=> 'indexed'])); return object(Google_Service_Webmasters_SitemapsListResponse) { [protected] collection_key => 'sitemap' [protected] internal_gapi_mappings => array() …
0
votes
1 answer

Google Rest Api not working

I have been trying to use the google rest api for google webmaster integration into my system. After going through it's documentation i am able to configure all it's OAuth keys and client id so when i use the Api Explorer i am getting the required…
0
votes
1 answer

couldn't retrieve 5000 rows in the first request to search analytics API

I am working on Google search console data to get more than 1000 rows of data through the search analytics API request. Below is the request request = { 'startDate': single_date, 'endDate': single_date, 'dimensions': ['query', 'page',…
0
votes
1 answer

Google URL Testing Tools API - Simple Web App Setup

I'd like to create my first web app using the Google URL Testing Tools API but haven't a clue where to start (https://developers.google.com/webmaster-tools/search-console-api-original/). I find the documentation very confusing and am struggling to…
laweffect
  • 41
  • 2
0
votes
0 answers

500: Backend Error on Google Search Console API (webmasters/v3)

I use node.js to query data from search console api. I get response status 500 and message "backend error". I have tried some solutions but they did not work: check API key(set key restriction to "none" because I do not have ipv6 address) send json…
Cythilya
  • 99
  • 1
  • 9
0
votes
2 answers

Google Webmaster data quality issues

I am running into a weird error. We have a standard implementation of getting data from searchconsole and storing it in a database. We have crosschecked the data during the implementation and it was good. Lately we have seen huge differences in what…
0
votes
1 answer

Google Search Console 401 Bad Request issue without using Client Library

So, Here are 3 steps. I called oAuth2 with following…
user2284357