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
5
votes
1 answer

.Net struggles with Webmaster Tools (Google.Apis.Webmasters.v3 Nuget package)

I wonder if anyone has got any further than me using the new Search Analytics functions of the Google Webmaster Tools API via .Net? I am using the Google.Apis.Webmasters.v3 Nuget package and have got as far as authenticating and connecting (using a…
5
votes
1 answer

Webmasters API - Quota limits

We're trying to download page data for sites using the Webmasters API .NET Client Library, by calling WebmastersService.SearchAnalytics.Query(). To do this we are using Batching and sending approx. 600 requests in one batch. However most of these…
4
votes
2 answers

Google Search Console API: How do you implement multiple OR filters?

After much fiddling, I've finally got the Search Console API working. Unfortunately, I can't figure out how to add multiple OR filters. I presume this is what dimensionFilterGroups[].groupType will eventually be for, but 'or' is not yet an…
curzmg
  • 647
  • 6
  • 11
4
votes
1 answer

Google for webmasters API: How to impersonate using server to server request?

I can access the list of websites with the google API for webmasters using an access token granted via web service request and now I'd like to do it via a server to server request. After giving the permission to a server account to access the list I…
3
votes
0 answers

Google Search Console API unpredictable results when using multiple dimensions

I'm currently getting unpredictable results with the Google search console API when I include multiple dimensions. There are a few different issues that I assume are related. I'll provide an example of each. First, the number of rows returned…
3
votes
1 answer

In Google Analytics How to include blank rows in a report with many dimensions?

Report with one dimension like device category (dim) and pageviews (metric) will return a total figure. Adding certain secondary dimensions like age and gender to the above and you will return only a subset of the results, those that have valid age…
2
votes
1 answer

UnknownApiNameOrVersion("name: %s version: %s" % (serviceName, version)) googleapiclient.errors.UnknownApiNameOrVersion: name: webmasters version: v3

The following python script has been running as a cloud function on GCP, server us-central1 and has recently began to throw UnknownApiNameOrVersion error. The log shows error originating from webmasters build function mentioned below. from…
2
votes
2 answers

Google Search Console API, google.webmasters.searchanalytics.query "startDate field is required"

I am trying to use the Google Search Console API (nodejs) to retrieve the queries report. We own a google account where all my company's domains are configured. We would like to retrieve the complete list of domains from the api and then get the…
2
votes
2 answers

Can not get all searchAnalytics Data using Google Console Search API

I am using Google Console Search API to extract the search Analytics data. I am using query() method for retrieving data. Parameters: startDate: '2017-05-10' endDate: '2017-05-10' dimensions:…
2
votes
1 answer

OAuth 2.0 Server to server Credentials authorization Fail(Search Console - Webmaster tools)

I'm trying to use OAuth 2.0 for Server to Server application for google webmaster tools(Search Console) so I've followed the instructions here. This Application is NOT on Google App Engine or Google Compute Engine Created a service account and…
2
votes
0 answers

Google PHP Webmaster API, permission error

I am trying to implement Google's new Webmaster PHP API. I am already using the Connector for Google Analytics where all works fine. I have the API enabled, the gmail User is also owner of the site. The gmail User also created the Client ID and the…
2
votes
2 answers

Webmaster Tools: Google PHP API client only single result?

I'm trying to pull a list of search queries from Google's Search Console API using the latest beta PHP API client. Auth works fine, permissions are OK. However, when I try to pull a list of search queries I only receive a single result despite…
1
vote
0 answers

Google OAuth credentials - For different scopes

I am trying to get client authorization for my app to access Google Search Console API. OAuth credentials are used for this authorization. But one OAuth credential set has been already used for login purpose. If Search console API scopes are added…
Coder_1988
  • 11
  • 2
1
vote
1 answer

Google Webmaster Tools API - can't obtain permissions for a domain I own

I'm using this library: https://github.com/googleapis/google-api-php-client I created a simple PHP script that fetches some information from Google Search Console / Webmaster Tools about the performance of a domain I own. It is not intented to…
1
vote
1 answer

Power Query call to google.webmaster.api , Post, request problem

I call the google.webmasters.api via Power-Query(M) and managed to configure the oath2 and made my first successfull call to get & list. Now i try to call the /searchAnalytics/query? which is working only with Post. This always responds in a 400…
JB.Baxter
  • 11
  • 2
1
2 3 4